fix all test failures
This commit is contained in:
parent
f6ca36fa21
commit
31a26aca25
|
@ -0,0 +1,3 @@
|
||||||
|
UK
|
||||||
|
US
|
||||||
|
Germany
|
|
@ -14,7 +14,7 @@ import com.baeldung.util.StreamUtils;
|
||||||
|
|
||||||
public class FileOutputStreamTest {
|
public class FileOutputStreamTest {
|
||||||
|
|
||||||
public static final String fileName = "src/main/resources/countries.txt";
|
public static final String fileName = "src/main/resources/countries.properties";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenAppendToFileUsingFileOutputStream_thenCorrect() throws Exception {
|
public void whenAppendToFileUsingFileOutputStream_thenCorrect() throws Exception {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import com.baeldung.util.StreamUtils;
|
||||||
|
|
||||||
public class FileUtilsTest {
|
public class FileUtilsTest {
|
||||||
|
|
||||||
public static final String fileName = "src/main/resources/countries.txt";
|
public static final String fileName = "src/main/resources/countries.properties";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenAppendToFileUsingFiles_thenCorrect() throws IOException {
|
public void whenAppendToFileUsingFiles_thenCorrect() throws IOException {
|
||||||
|
|
|
@ -15,7 +15,7 @@ import com.baeldung.util.StreamUtils;
|
||||||
|
|
||||||
public class FileWriterTest {
|
public class FileWriterTest {
|
||||||
|
|
||||||
public static final String fileName = "src/main/resources/countries.txt";
|
public static final String fileName = "src/main/resources/countries.properties";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenAppendToFileUsingFileWriter_thenCorrect() throws IOException {
|
public void whenAppendToFileUsingFileWriter_thenCorrect() throws IOException {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import com.baeldung.util.StreamUtils;
|
||||||
|
|
||||||
public class FilesTest {
|
public class FilesTest {
|
||||||
|
|
||||||
public static final String fileName = "src/main/resources/countries.txt";
|
public static final String fileName = "src/main/resources/countries.properties";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenAppendToFileUsingFiles_thenCorrect() throws IOException {
|
public void whenAppendToFileUsingFiles_thenCorrect() throws IOException {
|
||||||
|
|
|
@ -18,7 +18,7 @@ import com.google.common.io.Files;
|
||||||
|
|
||||||
public class GuavaTest {
|
public class GuavaTest {
|
||||||
|
|
||||||
public static final String fileName = "src/main/resources/countries.txt";
|
public static final String fileName = "src/main/resources/countries.properties";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenAppendToFileUsingGuava_thenCorrect() throws IOException {
|
public void whenAppendToFileUsingGuava_thenCorrect() throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue