- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for non_existent (0.06 sec)
-
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testDeleteTempDir(testDir); assertFalse(testDir.exists()); // Test with non-existent directory File nonExistentDir = new File(tempDir, "non_existent"); execJob.testDeleteTempDir(nonExistentDir); } // Test appendJarFile method public void test_appendJarFile() throws IOException { StringBuilder buf = new StringBuilder();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test @DisplayName("Should get integer property") void testGetInt() { assertEquals(123, Config.getInt(testProperties, "test.int")); assertEquals(-1, Config.getInt(testProperties, "nonexistent.int"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
CIFSContext fileContext = createFreshContext(); SmbFile nonExistent = new SmbFile(baseUrl + "shared/nonexistent_" + timestamp + ".txt", fileContext); assertFalse(nonExistent.exists(), "Non-existent file should return false"); // Create file and check nonExistent.createNewFile(); nonExistent.close(); Thread.sleep(200);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL"); }, "Should throw UnknownHostException for non-existent NetBIOS name"); // Verify the exception message indicates name resolution failure assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
// Try to execute with non-existent script type try { scriptExecutor.execute("nonexistent", "some script"); fail("Expected ScriptEngineException"); } catch (ScriptEngineException e) { assertTrue(e.getMessage().contains("nonexistent")); } } public void test_execute_withNullScriptType() { // Try to execute with null script type
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
dataStoreParams.put("key3", null); assertNull(dataStoreParams.get("key3")); } // Test get for non-existent key public void test_getNonExistentKey() { assertNull(dataStoreParams.get("nonexistent")); } // Test getAsString with String value public void test_getAsStringWithStringValue() { dataStoreParams.put("stringKey", "stringValue");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
public void test_init_nonExistentDirectory() { ThumbnailManager manager = new ThumbnailManager() { @Override public void init() { baseDir = new File(tempDir, "nonexistent/dir"); if (baseDir.mkdirs()) { logger.info("Created: {}", baseDir.getAbsolutePath()); } if (!baseDir.isDirectory()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
public void test_getScriptEngine_nonExistentName() { try { scriptEngineFactory.getScriptEngine("nonexistent"); fail("Should throw ScriptEngineException for non-existent engine"); } catch (ScriptEngineException e) { assertEquals("nonexistent is not found.", e.getMessage()); } } // Test getScriptEngine with empty string
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
finisher_api.go
// // FirstOrInit never modifies the database. It is often used with Assign and Attrs. // // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign email regardless of if record is found // db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
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); } public void test_add_overwriteExistingOrigin() { // Setup String origin = "https://example.com";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0)