- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for nonExisting (0.07 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
Path tempDir = Files.createTempDirectory("toctou_cmd_test"); try { Path nonExisting = tempDir.resolve("non_existing.tmp"); assertFalse(Files.exists(nonExisting)); boolean deleted = Files.deleteIfExists(nonExisting); assertFalse(deleted); } finally { deleteDirectory(tempDir.toFile()); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
} // Test getDataStore with non-existing name @Test public void test_getDataStore_nonExistingName() { DataStore retrieved = dataStoreFactory.getDataStore("nonExisting"); assertNull(retrieved); } // Test getDataStore with null name @Test public void test_getDataStore_nullName() { DataStore retrieved = dataStoreFactory.getDataStore(null);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
// Test that Files.deleteIfExists doesn't throw on non-existing file Path tempDir = Files.createTempDirectory("toctou_test"); try { Path nonExistingFile = tempDir.resolve("non_existing.tmp"); assertFalse(Files.exists(nonExistingFile)); // Should return false without throwing exception boolean deleted = Files.deleteIfExists(nonExistingFile);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0)