Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCaseInsensitivity (0.09 sec)

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

            // IPC share should be allowed
            String ipcShare = validator.validatePath("\\\\server\\IPC$");
            assertEquals("\\server\\IPC$", ipcShare);
        }
    
        @Test
        public void testCaseInsensitivity() throws Exception {
            // Windows reserved names should be caught regardless of case
            try {
                validator.validatePath("\\share\\con");
                fail("Should block lowercase reserved name");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(lmhosts.getByName("HOST3", mockContext));
            assertNotNull(lmhosts.getByName("HOST4", mockContext));
        }
    
        @Test
        void testCaseInsensitivity() throws Exception {
            // Create a temporary lmhosts file with lowercase hostname
            File lmhostsFile = tempDir.resolve("lmhosts_case").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top