Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSpecialShareNames (0.56 sec)

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

        @Test
        public void testNullPath() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validatePath(null);
            });
        }
    
        @Test
        public void testSpecialShareNames() throws Exception {
            // Admin share should be allowed
            String adminShare = validator.validatePath("\\\\server\\C$\\folder");
            assertEquals("\\server\\C$\\folder", adminShare);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top