Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withUnicodeCharacters() {
            // Test with username containing Unicode characters
            String username = "ユーザー名";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: ユーザー名", exception.getMessage());
            assertNull(exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/SmbNegotiationTest.java

            SmbNegotiation negotiationAllNull = new SmbNegotiation(null, null, null, null);
    
            assertNull(negotiationAllNull.getRequest());
            assertNull(negotiationAllNull.getResponse());
            assertNull(negotiationAllNull.getRequestRaw());
            assertNull(negotiationAllNull.getResponseRaw());
        }
    
        @Test
        @DisplayName("getRequest should return the same request instance")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  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. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // Verify parent groupId and version were removed (since child doesn't have explicit ones)
                assertNull(parentElement.child("groupId").orElse(null));
                assertNull(parentElement.child("version").orElse(null));
                // artifactId should also be removed since parent POM is in pomMap
                assertNull(parentElement.child("artifactId").orElse(null));
            }
    
            @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
Back to Top