Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 483 for assertAll (0.06 seconds)

  1. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            ldapManager.init();
    
            // Edge cases that should return null
            assertNull(ldapManager.getSearchRoleName(null));
            assertNull(ldapManager.getSearchRoleName(""));
            assertNull(ldapManager.getSearchRoleName("   "));
            assertNull(ldapManager.getSearchRoleName("no_cn_prefix"));
            assertNull(ldapManager.getSearchRoleName("dn=test"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

    import okhttp3.internal.platform.android.StandardAndroidSocketAdapter
    import org.conscrypt.Conscrypt
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertNotNull
    import org.junit.Assert.assertNull
    import org.junit.Assert.assertTrue
    import org.junit.Assume.assumeFalse
    import org.junit.Assume.assumeTrue
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.ParameterizedRobolectricTestRunner
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        try {
          assertNull(
              "remove(null) should return null or throw NullPointerException", getMap().remove(null));
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES})
      public void testRemove_nullSupportedMissing() {
        assertNull("remove(null) should return null", getMap().remove(null));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
            SsoLoginException exception = new SsoLoginException(null, null);
    
            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
    - 14.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
            assertNotNull(leaseManager.getLease(key));
    
            leaseManager.releaseLease(key);
    
            assertNull(leaseManager.getLease(key));
            assertNull(leaseManager.getLeaseByPath(path));
        }
    
        @Test
        @DisplayName("Should get lease by path")
        void testGetLeaseByPath() {
            String path = "/share/document.doc";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertNull(source.getPath());
            assertEquals(path.toString(), source.getLocation());
            assertEquals(modelId, source.getModelId());
            assertNull(source.resolve("subdir"));
    
            ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class);
            assertNull(source.resolve(locator, "subproject"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        @Test
        public void test_getConfigType() {
            assertNull(crawlingConfigHelper.getConfigType(null));
            assertNull(crawlingConfigHelper.getConfigType(""));
            assertNull(crawlingConfigHelper.getConfigType("XXX"));
            assertNull(crawlingConfigHelper.getConfigType("W"));
            assertNull(crawlingConfigHelper.getConfigType("F"));
            assertNull(crawlingConfigHelper.getConfigType("D"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
Back to Top