- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 232 for assertAll (0.07 sec)
-
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) -
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) -
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) -
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) -
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 contentRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0) -
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) -
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 exceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
public class ResponseDataTest extends PlainTestCase { public void test_defaultConstructor() { // Test default constructor ResponseData data = new ResponseData(); assertNotNull(data); assertNull(data.getUrl()); assertEquals(0, data.getHttpStatusCode()); assertEquals(Constants.OK_STATUS, data.getStatus()); assertFalse(data.isNoFollow()); assertFalse(data.hasResponseBody()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertNull(context.getHashAlgos()); assertNull(context.getSalt()); } @Test @DisplayName("Should handle null hash algorithms") void testNullHashAlgorithms() { context = new PreauthIntegrityNegotiateContext(mockConfig, null, new byte[16]); assertNull(context.getHashAlgos());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
assertEquals(0L, concreteResponse.getMid()); assertEquals(0, concreteResponse.getCommand()); assertNull(concreteResponse.getDigest()); assertNull(concreteResponse.getException()); assertNull(concreteResponse.getExpiration()); assertFalse(concreteResponse.isError()); assertFalse(concreteResponse.isReceived()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0)