- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for nonexistent (0.13 sec)
-
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/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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). * (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.) */ public CrawlerSystemException(final String message, final Throwable cause) { super(message, cause); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
HandleInfo info = manager.getHandleByPath("/test/file.txt"); assertNotNull(info); assertEquals(guid, info.getCreateGuid()); assertNull(manager.getHandleByPath("/nonexistent/file.txt")); } @Test public void testMultipleHandles() { HandleGuid guid1 = manager.requestDurableHandle("/test/file1.txt", HandleType.DURABLE_V2, 120000, null);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.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/context/SingletonContextTest.java
} @Test void testInitIOExceptionHandling(@TempDir Path tempDir) { // Test handling IOException when loading jcifs.properties Path nonExistentPath = tempDir.resolve("nonexistent.properties"); System.setProperty("jcifs.properties", nonExistentPath.toString()); // Expect no exception to be thrown, but an error logged (which we can't directly assert here)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value."); } @Test void testGetOptionNonExistent() { assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option."); } @Test void testToStringWithoutOptionsAndEndpoint() { String expected = PROTO + ":" + SERVER + "[null]";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
entry.removeChild(childName); assertFalse(entry.hasChild(childName)); assertTrue(entry.hasChanges()); // Remove non-existent child - should not change state entry.removeChild("nonexistent.txt"); assertTrue(entry.hasChanges()); // Still has changes from previous removal } @Test public void testGetChildren() { // Add multiple children
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
@Test public void testDeleteByQueryWithNoMatches() { // Test delete with query that matches nothing boolean result = SuggestUtil.deleteByQuery(client, settings, TEST_INDEX, QueryBuilders.termQuery("nonexistent", "value")); assertTrue(result); // Should still return true even with no matches } @Test(expected = SuggesterException.class) public void testDeleteByQueryWithInvalidIndex() {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/xl-storage_test.go
// TestXLStorages xlStorage.getDiskInfo() func TestXLStorageGetDiskInfo(t *testing.T) { path := t.TempDir() testCases := []struct { diskPath string expectedErr error }{ {path, nil}, {"/nonexistent-dir", errDiskNotFound}, } // Check test cases. for _, testCase := range testCases { if _, _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0)