- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testDecodeOut (0.27 sec)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
// Then: Should encode handle verify(mockPolicyHandle).encode(mockNdrBuffer); } @Test @DisplayName("Should decode output parameters correctly") void testDecodeOut() throws NdrException { // Given: Close handle message with mocked return value samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Then: Should encode handle verify(mockPolicyHandle).encode(mockNdrBuffer); } @Test @DisplayName("Should decode output parameters correctly") void testDecodeOut() throws NdrException { // Given: Close handle message with mocked return value samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
} } @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("decode_out should read bind response data correctly") void testDecodeOut() throws Exception { // Given int result = 0; when(mockBuffer.dec_ndr_short()).thenReturn(4096, 4096, 10, result, 0); when(mockBuffer.dec_ndr_long()).thenReturn(12345);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0)