- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testMessageConstructor (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException"); } @Test @DisplayName("Message constructor should create exception with specified message") void testMessageConstructor() { // Given & When CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(CRYPTO_ERROR_MESSAGE); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
// Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() { String errorMessage = "This is a test error message."; PACDecodingException e = new PACDecodingException(errorMessage); // Expect the message to be set correctly and cause to be nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testMessageConstructor() { // Test the constructor with a message argument String message = "Test message"; RequestTimeoutException exception = new RequestTimeoutException(message);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0)