- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testCaseInsensitivity (0.68 seconds)
-
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");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) -
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)) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0)