Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for NEWHOST (0.27 seconds)

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

            Thread.sleep(100);
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.200 NEWHOST\n");
            }
    
            // Should reload file and find new host
            result = lmhosts.getByName("NEWHOST", mockContext);
            assertNotNull(result);
    
            // Old host should not be found
            result = lmhosts.getByName("TESTHOST", mockContext);
    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)
Back to Top