Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testArrayAllocationNegativeSize (0.47 sec)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validateArrayAllocation(100, 10, 1000);
            validator.validateArrayAllocation(0, 10, 1000); // Zero size should be allowed
        }
    
        @Test
        public void testArrayAllocationNegativeSize() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateArrayAllocation(-1, 10, 1000);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top