Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 253 for assertAll (2.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

            NegTokenInit parsed = new NegTokenInit(bytes);
            assertNull(parsed.getMechanisms(), "Mechanisms should be null when absent");
            assertEquals(0, parsed.getContextFlags(), "Flags should be zero when absent");
            assertNull(parsed.getMechanismToken(), "Mechanism token should be null when absent");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when absent");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. 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");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

    public class ExtractDataTest extends PlainTestCase {
    
        public void test_defaultConstructor() {
            // Test default constructor
            ExtractData data = new ExtractData();
            assertNotNull(data);
            assertNull(data.getContent());
            assertNotNull(data.getKeySet());
            assertTrue(data.getKeySet().isEmpty());
        }
    
        public void test_constructorWithContent() {
            // Test constructor with content
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top