- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 26 for non_existent (0.09 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/query/QueryFieldConfigSetBasedLookupTest.java
assertTrue("Field " + field + " should be found", queryFieldConfig.isSortField(field)); } // Test negative cases assertFalse(queryFieldConfig.isSortField("nonexistent")); assertFalse(queryFieldConfig.isSortField("title")); assertFalse(queryFieldConfig.isSortField("")); assertFalse(queryFieldConfig.isSortField(null)); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
@Test public void test_generate_parent_directory_not_exists() throws Exception { final File tempDir = new File(System.getProperty("java.io.tmpdir")); final File nonExistentParent = new File(tempDir, "non_existent_" + System.currentTimeMillis()); final File outputFile = new File(nonExistentParent, "output.txt"); try { assertFalse(nonExistentParent.exists());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/entity/DataStoreParamsTest.java
assertNull(dataStoreParams.get("key3")); } // Test get for non-existent key @Test public void test_getNonExistentKey() { assertNull(dataStoreParams.get("nonexistent")); } // Test getAsString with String value @Test public void test_getAsStringWithStringValue() { dataStoreParams.put("stringKey", "stringValue");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
thread.start(); thread.join(1000); assertTrue(thread.contains("exact line")); assertTrue(thread.contains("another line")); assertFalse(thread.contains("nonexistent")); } @Test public void test_contains_withTrimming() throws InterruptedException { String input = " trimmed line \n\tanother\t";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K 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/helper/OsddHelperTest.java
@Override public String getSsoType() { return "none"; } }); final OsddHelper osddHelper = new OsddHelper(); osddHelper.setOsddPath("osdd/nonexistent.xml"); osddHelper.init(); assertFalse(osddHelper.hasOpenSearchFile()); try { osddHelper.asStream(); fail("Should throw exception when osddFile is null");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
} @Test public void test_replaceUrl_withNonExistentSessionId() { final String url = "file:///home/user/"; assertEquals(url, pathMappingHelper.replaceUrl("nonexistent", url)); } @Test public void test_replaceUrl_withEmptyList() { final String sessionId = "test"; final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.3K 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) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
assertNotNull(authenticator); assertEquals(testAuthenticator, authenticator); } @Test public void test_getAuthenticator_whenComponentDoesNotExist() { currentSsoType = "nonexistent"; ssoManager = new SsoManager() { @Override protected String getSsoType() { return currentSsoType; } };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.5K bytes - Click Count (0)