Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testSpecialShareNames (0.14 seconds)

  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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top