Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 352 for assertAll (0.97 sec)

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

        @Test
        public void testNullPasswordHandling() {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null);
    
            assertNull(authenticator.getPassword(), "getPassword should return null for null password");
            assertNull(authenticator.getPasswordAsCharArray(), "getPasswordAsCharArray should return null for null password");
    
            // secureWipePassword should not throw exception
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("Default state is null for both fields")
        void defaultStateIsNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            assertNull(t.getMechanismToken(), "mechanismToken should default to null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertFalse(testBlock.isResponseAsync());
                assertNull(testBlock.getNext());
                assertFalse(testBlock.allowChain(mock(CommonServerMessageBlockRequest.class)));
                assertNull(testBlock.split());
                assertNull(testBlock.createCancel());
                assertNull(testBlock.getNextResponse());
                assertFalse(testBlock.isCancel());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
        assertNull("get(null) should return null", get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

            }
            try (final ResponseData responseData = s3Client.doHead("s3://fess/")) {
                assertNull(responseData);
            }
            try (final ResponseData responseData = s3Client.doHead("s3://fess/dir1/")) {
                assertNull(responseData);
            }
            try (final ResponseData responseData = s3Client.doHead("s3://fess/dir1/dir2/")) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

        }
    
        public void test_normalize_null() {
            String enc;
    
            enc = null;
            assertNull(encodingHelper.normalize(enc));
    
            enc = "";
            assertNull(encodingHelper.normalize(enc));
    
            enc = " ";
            assertNull(encodingHelper.normalize(enc));
        }
    
        public void test_normalize_default() {
            String enc;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DfsImplTest.java

            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        @Test
        void testGetDc_ConnectionFails() throws SmbAuthException {
            // Scenario: Transport connection fails when getting DC
            when(mockCredentials.getUserDomain()).thenReturn("authdomain.com");
            // When transport fails to connect, getDc returns null
            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
            assertNull(exception.getCause(), "Default constructor should have null cause");
            assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      @CollectionSize.Require(ZERO)
      public void testEmptySetPollFirst() {
        assertNull(navigableSet.pollFirst());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetNearby() {
        assertNull(navigableSet.lower(e0()));
        assertNull(navigableSet.floor(e0()));
        assertNull(navigableSet.ceiling(e0()));
        assertNull(navigableSet.higher(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertNull(auth1.getPassword());
    
            // Test with null char[] password
            NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("testuser", (char[]) null);
            assertNull(auth2.getPassword());
    
            // Test secure wipe on null password
            auth1.secureWipePassword(); // Should not throw exception
            assertNull(auth1.getPassword());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top