Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWithSpecialCharacters (0.12 sec)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals("", testImplementation.getServer());
            assertEquals("", testImplementation.getFullUNCPath());
        }
    
        @Test
        @DisplayName("Test with special characters in paths")
        void testWithSpecialCharacters() {
            // Test path with spaces and special characters
            String specialPath = "/share/folder name/file with spaces & special!@#$%.txt";
            testImplementation.setPath(specialPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            // HashCode for empty string
            assertEquals(0, info.hashCode()); // Empty string has hashCode of 0
        }
    
        @Test
        @DisplayName("Test with special characters in names")
        void testWithSpecialCharacters() {
            String specialName = "Share$\\Special/Name:*?";
            String specialRemark = "Remark with\nnewline\tand\rtabs";
    
            SmbShareInfo info = new SmbShareInfo(specialName, 0, specialRemark);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top