- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for createNewFile (0.13 seconds)
-
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
project.layout.buildDirectory.file("tmp/teŝt files/leftover/leftover").get().asFile.apply { parentFile.mkdirs() createNewFile() } } } useJUnitPlatform() } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 00:16:44 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
File jar1 = new File(libDir, "test1.jar"); File jar2 = new File(libDir, "test2.JAR"); File notJar = new File(libDir, "test.txt"); assertTrue(jar1.createNewFile()); assertTrue(jar2.createNewFile()); assertTrue(notJar.createNewFile()); execJob.testAppendJarFile(":", buf, libDir, "/base/path/"); String result = buf.toString();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
System.setProperty("fess.var.path", varDir.toString()); final File testFile = new File(varDir.toFile(), "data/test.txt"); testFile.getParentFile().mkdirs(); testFile.createNewFile(); // Should not throw action.validateFilePath(testFile.getAbsolutePath()); } @Test public void test_validateFilePath_pathOutsideVarPath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
dir1.mkdirs(); File expiredFile = new File(dir1, "expired.png"); expiredFile.createNewFile(); expiredFile.setLastModified(System.currentTimeMillis() - 10000L); File recentFile = new File(dir1, "recent.png"); recentFile.createNewFile(); recentFile.setLastModified(System.currentTimeMillis()); // Override purge to avoid client operations
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
*/ @SuppressWarnings("GoodTime") // reading system time without TimeSource public static void touch(File file) throws IOException { checkNotNull(file); if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) { throw new IOException("Unable to update modification time of " + file); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0)