Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWriteBytesReturnsZero (1.37 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            int rc = instance.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB");
        }
    
        @Test
        void testWriteBytesReturnsZero() {
            byte[] dst = new byte[1];
            int rc = instance.writeBytesWireFormat(dst, 0);
            assertEquals(0, rc, "SmbComFindClose2 has no body to write");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Then
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("writeBytesWireFormat should return 0")
            void testWriteBytesReturnsZero() throws Exception {
                // Given
                byte[] dst = new byte[100];
                int dstIndex = 10;
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top