- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testReadPacketTypeSpecialStream (0.18 seconds)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals("unexpected EOF reading netbios session header", exception.getMessage()); } @Test @DisplayName("readPacketType with special stream returning -1 should return -1") void testReadPacketTypeSpecialStream() throws IOException { // Create a mock stream that returns exactly -1 on first read (special case) when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0)