Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 474 for assertAll (0.08 sec)

  1. 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");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. 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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertNull(DocumentUtil.getValue(null, "key", String.class));
            assertNull(DocumentUtil.getValue(null, "key", Integer.class));
        }
    
        public void test_getValue_with_null_key() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", "value");
            assertNull(DocumentUtil.getValue(doc, null, String.class));
            assertNull(DocumentUtil.getValue(doc, null, Integer.class));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
            LdapOperationException exception = new LdapOperationException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and cause
            ThemeException exception = new ThemeException(null, null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Arrange & Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException();
    
            // Assert - message and cause are null
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
    
            // Assert - toString shows class name when message is null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
            assertNotNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. 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"));
        }
    
        public void test_remove() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top