Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for inexistent (3.81 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Remove the child
            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)
  2. 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)
  3. 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"));
        }
    
        public void test_get_withNullMimetype() {
            assertEquals("others", fileTypeHelper.get(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. 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"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. cmd/bucket-policy-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 8.
    		// non-existent bucket is used.
    		// writing BucketPolicy should fail.
    		// should result in 404 StatusNotFound
    		{
    			bucketName:         "non-existent-bucket",
    			bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, "non-existent-bucket", "non-existent-bucket")),
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            assertFalse(processHelper.isProcessRunning("nonexistent"));
        }
    
        public void test_getRunningSessionIdSet_empty() {
            Set<String> sessionIds = processHelper.getRunningSessionIdSet();
            assertNotNull(sessionIds);
            assertTrue(sessionIds.isEmpty());
        }
    
        public void test_destroyProcess_nonExistent() {
            int result = processHelper.destroyProcess("nonexistent");
            assertEquals(-1, result);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertEquals(true, docMap.get("key3"));
    
            assertTrue(docMap.containsKey("key1"));
            assertTrue(docMap.containsValue("value1"));
            assertFalse(docMap.containsKey("nonexistent"));
            assertFalse(docMap.containsValue("nonexistent"));
        }
    
        public void test_put_and_get() {
            Map<String, Object> parentMap = new HashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                // Expected
            }
        }
    
        public void test_getBoostedDocumentList_noBoostList() {
            KeyMatch keyMatch = new KeyMatch();
            keyMatch.setId("nonexistent");
            keyMatch.setTerm("nonexistent");
            keyMatch.setVirtualHost("");
    
            try {
                List<Map<String, Object>> result = keyMatchHelper.getBoostedDocumentList(keyMatch);
                assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            // Should not throw exception
            lenientService.updatePreauthHash("non-existent", "test".getBytes());
    
            // With enforcement enabled, should throw exception
            assertThrows(CIFSException.class, () -> {
                preauthService.updatePreauthHash("non-existent", "test".getBytes());
            });
        }
    
        @Test
        @DisplayName("Test context invalidation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top