- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for textMessage (0.04 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
* Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException."; NdrException exception = new NdrException(testMessage); assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /** * Test the NO_NULL_REF static field.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
buf.enc_ndr_small(4); // bad major buf.enc_ndr_small(0); TestMessage msg = new TestMessage(); assertThrows(NdrException.class, () -> msg.decode_header(buf)); } @Test void testRoundTripEncodeDecodeForRequestType() throws Exception { TestMessage m = new TestMessage(); m.ptype = 0; // Request type NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
} public void test_getMessage() { // Test getMessage method explicitly String testMessage = "Testing getMessage method"; ResultOffsetExceededException exception = new ResultOffsetExceededException(testMessage); String retrievedMessage = exception.getMessage(); assertEquals(testMessage, retrievedMessage); // Test that multiple calls return the same message
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
} // Test API result with messages public void test_apiResultWithMessages() { String testMessage = "Test error message"; ApiResult.ApiErrorResponse errorResponse = new ApiResult.ApiErrorResponse(); errorResponse.message(testMessage); errorResponse.status(Status.BAD_REQUEST); ApiResult result = errorResponse.result(); assertNotNull(result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0)