- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 236 for existence (0.07 seconds)
-
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/jcifs/internal/witness/WitnessIntegrationTest.java
// Test operations on empty service assertEquals(0, mockService.getRegistrationCount()); assertFalse(mockService.hasRegistration("non-existent")); assertFalse(mockService.unregisterWitness("non-existent")); assertFalse(mockService.processHeartbeat("non-existent", 1)); // Test registration with null/empty values String regId1 = mockService.registerWitness(null, "192.168.1.100", 1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
} }; try { emptyEnv.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertTrue(e.getMessage().contains("non.existent.property")); } try { emptyEnv.is("non.existent.boolean"); fail("Should throw ConfigPropertyNotFoundException");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java
/** * Gets the global settings file. * * @return The global settings file or {@code null} if none. */ File getGlobalSettingsFile(); /** * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user * settings and global settings are given, the user settings take precedence. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
assertNotNull(response); // Deleting non-existent elevate word should not error assertFalse(response.hasError()); } @Test public void test_deleteNonExistentBadWord() throws Exception { // Should not throw suggester.indexer().deleteBadWord("non-existent"); } @TestCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
UnknownHostException exception = assertThrows(UnknownHostException.class, () -> { 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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
// Test the pattern used in getDefaultMappings/getDefaultIndexSettings // with a non-existent resource try { try (final InputStream is = getClass().getClassLoader().getResourceAsStream("non/existent/resource.json")) { if (is == null) { throw new IOException("Resource not found: non/existent/resource.json"); } // This line should not be reachedCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K 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) -
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0)