Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testStringWithAllowedWhitespace (0.84 sec)

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

            assertThrows(SmbException.class, () -> {
                validator.validateString("test\u0001string", 100, "test");
            });
        }
    
        @Test
        public void testStringWithAllowedWhitespace() throws Exception {
            validator.validateString("test\tstring", 100, "test");
            validator.validateString("test\r\nstring", 100, "test");
            // Should pass without exception
        }
    
    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