Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetCapacityWithZeroValues (0.14 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test getCapacity with zero values")
        void testGetCapacityWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare test data with zeros
            byte[] buffer = new byte[22];
    
            // All zeros
            for (int i = 0; i < buffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top