Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testDecodeWithZeroValues (0.97 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(testDialect, response.getDialect(), "Dialect should match");
        }
    
        @Test
        @DisplayName("Test decode with zero values")
        void testDecodeWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare buffer with all zeros
            byte[] buffer = new byte[50];
            int bufferIndex = 5;
    
            // Execute decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertEquals(Integer.MAX_VALUE, fileBothDirectoryInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test decode with zero values")
        void testDecodeWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare test data with zero values
            byte[] buffer = createValidBuffer("zerofile.txt", "ZEROFI~1.TXT", true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top