- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 52 for existent (0.05 seconds)
-
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/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/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/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) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
assertEquals(logId, jsonPath.getString("response.log.id")); logger.info("Get crawling info log by ID test completed"); } // Test GET with non-existent ID response = checkMethodBase(new HashMap<>()).get("/api/admin/crawlinginfo/log/nonexistent_id").asString(); assertEquals(1, JsonPath.from(response).getInt("response.status"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
assertEquals("12.2.0", result.getVersion()); } @Test public void test_getArtifact_notFound() { Artifact result = pluginHelper.getArtifact("non-existent", "1.0.0"); assertNull(result); } @Test public void test_getArtifact_nullInputs() { assertNull(pluginHelper.getArtifact(null, "1.0.0"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
manager.destroy(); } finally { System.clearProperty(Constants.FESS_VAR_PATH); } } // Test initialization with non-existent directory @Test public void test_init_nonExistentDirectory() { ThumbnailManager manager = new ThumbnailManager() { @Override public void init() {
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/helper/CrawlingInfoHelperTest.java
} @Test public void test_updateParams_noSession() { final String sessionId = "non-existent-session"; ComponentUtil.register(new CrawlingInfoService() { @Override public CrawlingInfo getLast(String sessionId) { return null; // No existing session } @Override public void store(CrawlingInfo entity) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0)