Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HOST2 (0.01 sec)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

                writer.write("   \n");
                writer.write("192.168.1.101 HOST2\n");
            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // Use getByName to trigger populate
            NbtAddress result = lmhosts.getByName("HOST1", mockContext);
            assertNotNull(result);
            result = lmhosts.getByName("HOST2", mockContext);
            assertNotNull(result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testHandlerEquality() throws Exception {
            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top