Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 483 for assertAll (0.2 seconds)

  1. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code");
            assertNull(ex.getCause(), "cause must be null for int constructor");
            assertNull(ex.getRootCause(), "rootCause must be null for int constructor");
        }
    
        /**
         * Validate message-only constructor with both null and empty messages.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            // IPv6 without port
            assertEquals("https://[::1]", IpAddressUtil.buildUrl("https", ipv6, 0, ""));
    
            // Null protocol or address
            assertNull(IpAddressUtil.buildUrl(null, ipv4, 8080, "/path"));
            assertNull(IpAddressUtil.buildUrl("http", (InetAddress) null, 8080, "/path"));
        }
    
        @Test
        public void testBuildUrlWithHostString() {
            // IPv4 with port and path
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            // Verify
            assertNull(result);
        }
    
        @Test
        public void test_getResponse_withUnsetType() {
            // Execute - requesting type without setting response
            ActionResponse result = authenticator.getResponse(SsoResponseType.METADATA);
    
            // Verify
            assertNull(result);
        }
    
        // Test logout method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (1)
  4. src/test/java/org/codelibs/fess/util/DocMapTest.java

            DocMap docMap = new DocMap(parentMap);
    
            assertNull(docMap.put("newKey", "newValue"));
            assertEquals("newValue", docMap.get("newKey"));
    
            assertEquals("newValue", docMap.put("newKey", "updatedValue"));
            assertEquals("updatedValue", docMap.get("newKey"));
    
            assertNull(docMap.get("nonexistent"));
        }
    
        @Test
        public void test_remove() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertEquals("r1", kuromojiItem.getReading());
            assertEquals("p1", kuromojiItem.getPos());
            assertNull(kuromojiItem.getNewToken());
            assertNull(kuromojiItem.getNewSegmentation());
            assertNull(kuromojiItem.getNewReading());
            assertNull(kuromojiItem.getNewPos());
            assertFalse(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertEquals(NegTokenTarg.ACCEPT_INCOMPLETE, parsed.getResult(), "result should be present");
            assertNull(parsed.getMechanism(), "mechanism should be null when omitted");
            assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when omitted");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                // If JAAS is not configured and getSubject() returns null, verify cloning still works
                assertNull(first, "First call to getSubject() returned null - JAAS not configured");
    
                // Clone should also return null for getSubject() calls
                Subject copySubj = copy.getSubject();
                assertNull(copySubj, "Clone should also return null when original has null cached subject");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            netdfs.DfsStorageInfo decodedStorageInfo = new netdfs.DfsStorageInfo();
            decodedStorageInfo.decode(src);
    
            assertEquals(storageInfo.state, decodedStorageInfo.state);
            assertNull(decodedStorageInfo.server_name);
            assertNull(decodedStorageInfo.share_name);
        }
    
        @Test
        void testDfsInfo3_EncodeDecode() throws NdrException {
            netdfs.DfsInfo3 info3 = new netdfs.DfsInfo3();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessage() {
            // Test with null message
            LdapConfigurationException exception = new LdapConfigurationException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. 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)
Back to Top