Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 491 for assertAll (0.09 seconds)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testDefaultConstructor() {
                TransportException exception = new TransportException();
    
                assertNotNull(exception);
                assertNull(exception.getMessage());
                assertNull(exception.getRootCause());
                assertTrue(exception instanceof IOException);
            }
    
            @Test
            @DisplayName("Should create exception with message")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withEmptyMessage() {
            // Test with empty message
            String message = "";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            assertEquals(message, 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
    - 8.7K bytes
    - Click Count (0)
  5. android/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceActionTest.java

            final ActionForm form = new ActionForm();
            assertNull(form.replaceAliases);
            assertNull(form.resetDictionaries);
            // numberOfShardsForDoc and autoExpandReplicasForDoc have defaults from FessConfig
            assertNotNull(form.numberOfShardsForDoc);
            assertNotNull(form.autoExpandReplicasForDoc);
            assertNull(form.loadBulkData);
            // rebuildConfigIndex defaults to Constants.ON
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            ContainerNotAvailableException exception = new ContainerNotAvailableException((String) null);
    
            assertEquals("null is not available.", exception.getMessage());
            assertNull(exception.getCause());
            assertNull(exception.getComponentName());
        }
    
        @Test
        public void test_constructor_withEmptyComponentName() {
            // Test constructor with empty component name
            String componentName = "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        public void test_constructor() {
            // Test default constructor
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top