Searched refs:testFile2 (Results 1 – 3 of 3) sorted by relevance
48 private File testFile2; field in FileUtilsFileNewerTest53 testFile2 = new File(temporaryFolder, "file2-test.txt"); in setUp()60 if (!testFile2.getParentFile().exists()) { in setUp()61 …throw new IOException("Cannot create file " + testFile2 + " as the parent directory does not exist… in setUp()63 …try (BufferedOutputStream output = new BufferedOutputStream(Files.newOutputStream(testFile2.toPath… in setUp()114 final File temporaryFile = testFile2; in testIsFileNewer()136 …er("imaginary file can be newer", imaginaryFile, FileUtils.lastModifiedFileTime(testFile2), false); in testIsFileNewerImaginaryFile()
177 private File testFile2; field in FileUtilsTest334 testFile2 = new File(tempDirFile, "file1a-test.txt");337 testFile2Size = testFile2.length();346 if (!testFile2.getParentFile().exists()) {347 fail("Cannot create file " + testFile2351 new BufferedOutputStream(Files.newOutputStream(testFile2.toPath()))) {364 if (!testFile2.getParentFile().exists()) {365 fail("Cannot create file " + testFile2369 new BufferedOutputStream(Files.newOutputStream(testFile2.toPath()))) {903 if (!testFile2.getParentFile().exists()) {[all …]
55 private Path testFile2; field in FilenameUtilsTest63 testFile2 = Files.createTempFile(temporaryFolder, "test", "2"); in setUp()66 testFile2Size = (int) Files.size(testFile2); in setUp()75 if (!Files.exists(testFile2.getParent())) { in setUp()76 throw new IOException("Cannot create file " + testFile2 in setUp()80 new BufferedOutputStream(Files.newOutputStream(testFile2))) { in setUp()91 if (!Files.exists(testFile2.getParent())) { in setUp()92 throw new IOException("Cannot create file " + testFile2 in setUp()96 new BufferedOutputStream(Files.newOutputStream(testFile2))) { in setUp()