- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for textMessage (3.42 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
fun setUp() { platform.assumeNotOpenJSSE() } @AfterEach @Throws(InterruptedException::class) fun tearDown() { clientListener.assertExhausted() } @Test fun textMessage() { webServer.enqueue( MockResponse .Builder() .webSocketUpgrade(serverListener) .build(), ) val webSocket: WebSocket = newWebSocket()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
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/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
@DisplayName("Should handle chain operation correctly") void testChain() { // Given ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class); // When boolean result = request.chain(nextMessage); // Then verify(nextMessage).setSessionId(Smb2Constants.UNSPECIFIED_SESSIONID); assertTrue(result); // Assuming superclass chain returns true }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K 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) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
@DisplayName("Should handle chain operation correctly") void testChain() { // Given ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class); // When boolean result = request.chain(nextMessage); // Then verify(nextMessage).setTreeId(Smb2Constants.UNSPECIFIED_TREEID); assertTrue(result); // Assuming superclass chain returns true } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)