minor fix

This commit is contained in:
DOHA 2016-10-29 16:56:13 +02:00
parent 412a93ce68
commit 5a6ab35333
4 changed files with 5 additions and 2 deletions

View File

@ -19,13 +19,13 @@ import org.junit.Before;
import org.junit.Test;
public class JavaFolderSizeUnitTest {
private final long EXPECTED_SIZE = 381;
private final long EXPECTED_SIZE = 24;
private String path;
@Before
public void init() {
final String separator = File.separator;
path = String.format("src%stest%sresources", separator, separator);
path = String.format("src%stest%sresources%stestFolder", separator, separator, separator);
}
@Test

View File

@ -76,6 +76,7 @@ public class JavaFileUnitTest {
@Test
public final void givenUsingApache_whenMovingFile_thenCorrect() throws IOException {
FileUtils.touch(new File("src/test/resources/fileToMove_apache.txt"));
FileUtils.moveFile(FileUtils.getFile("src/test/resources/fileToMove_apache.txt"), FileUtils.getFile("src/test/resources/fileMoved_apache2.txt"));
}

View File

@ -0,0 +1 @@
Hello world

View File

@ -0,0 +1 @@
Hello world !