Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 352 for assertAll (0.82 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (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")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Arrange & Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException();
    
            // Assert
            assertNull(ex.getMessage(), "Default ctor should not set a message");
            assertNull(ex.getCause(), "Default ctor should not set a cause");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertNull(artifact.getVersion());
            assertNull(artifact.getBaseVersion());
        }
    
        @Test
        void testMNG7780() throws Exception {
            VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)");
            artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler);
            assertNull(artifact.getVersion());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertNotNull(context);
            assertNull(context.getSessionId());
            assertEquals(0, context.getActiveThreadCount().intValue());
            assertEquals(0L, context.getAccessCount());
            assertEquals(CrawlerStatus.INITIALIZING, context.getStatus());
            assertNull(context.getUrlFilter());
            assertNull(context.getRuleManager());
            assertNull(context.getIntervalController());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top