Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testValidString (0.31 seconds)

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

            assertThrows(SmbException.class, () -> {
                validator.validateMessageSize(17 * 1024 * 1024, false);
            });
        }
    
        @Test
        public void testValidString() throws Exception {
            validator.validateString("normal string", 100, "test");
            validator.validateString(null, 100, "test"); // Null should be allowed
            // Should pass without exception
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top