- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for non_existent (0.05 seconds)
-
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
TestCorsHandler handler = new TestCorsHandler("example-handler"); corsHandlerFactory.add(origin, handler); // Execute CorsHandler result = corsHandlerFactory.get("https://nonexistent.com"); // Verify assertNull(result); } @Test public void test_add_overwriteExistingOrigin() { // Setup String origin = "https://example.com";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
@Test public void test_provide_notFound() { // Test with various classification names that should not be found assertProvideThrowsException("TestClassification"); assertProvideThrowsException("NonExistent"); assertProvideThrowsException(""); assertProvideThrowsException("Some.Classification"); assertProvideThrowsException("Project.TestClassification"); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K 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)