- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 174 for existent (0.29 seconds)
-
src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java
assertEquals("pdf", fileTypeHelper.get("application/pdf")); assertEquals("text", fileTypeHelper.get("text/plain")); // Test non-existent mimetype returns default value assertEquals("others", fileTypeHelper.get("non/existent")); } @Test public void test_get_withNullMimetype() { assertEquals("others", fileTypeHelper.get(null)); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java
testDelete(); } @Test void testStartJob_notFound() { // Try to start a non-existent job checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/start").then().body("response.status", equalTo(1)); } @Test void testStopJob_notFound() { // Try to stop a non-existent job checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/stop").then().body("response.status", equalTo(1));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
} catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); } // Test with multiple names - should also throw exception for non-existent files try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
public void test_get_nullProperty() { // Test getting non-existent property try { fessConfig.get("non.existent.property"); fail("Should throw exception for non-existent property"); } catch (ConfigPropertyNotFoundException e) { // Expected exception assertTrue(e.getMessage().contains("non.existent.property")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
"Status code should be 200, 400 or 500, but was " + statusCode); } @Test void testDownload_notFound() { // Try to download a non-existent file Response response = given().header("Authorization", getTestToken()).when().get(getApiPath() + "/download/nonexistent_file_12345.txt"); int statusCode = response.getStatusCode();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
} } // Test getScriptEngine with non-existent name @Test public void test_getScriptEngine_nonExistentName() { try { scriptEngineFactory.getScriptEngine("nonexistent"); fail("Should throw ScriptEngineException for non-existent engine"); } catch (ScriptEngineException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
} } } @Test public void test_init_withNonExistentSSLCertificate() { setupMockConfig("localhost:9200", "", "", "/non/existent/cert.crt"); curlHelper.init(); // Should handle non-existent certificate gracefully SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper); assertNull(sslSocketFactory); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null); assertEquals(1, cmdList.size()); assertEquals("-Dnon.existent.property=default.value", cmdList.get(0)); // Test with property that doesn't exist and no default value cmdList.clear(); execJob.testAddSystemProperty(cmdList, "another.non.existent", null, null); assertEquals(0, cmdList.size());
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/util/WebApiUtilTest.java
} @Test public void test_getObject_nonExistentKey() { // Test getObject with non-existent key Object result = WebApiUtil.getObject("nonExistentKey"); assertNull(result, "getObject should return null for non-existent key"); } @Test public void test_setError_withMessage_noRequest() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals(123, dataStoreParams.get("key2")); dataStoreParams.put("key3", null); 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
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)