- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetNbtAllByName (0.06 sec)
-
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
} @Test @DisplayName("Should handle NetBIOS all by name with timeout") @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout void testGetNbtAllByName() { // When/Then - Should throw UnknownHostException quickly UnknownHostException exception = assertThrows(UnknownHostException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtAllByAddress(host)); verify(nameServiceClient, times(1)).getNbtAllByAddress(host); } @Test void testGetNbtAllByName() throws UnknownHostException { // Arrange String host = "testHost"; int type = 0x20; String scope = "testScope"; InetAddress svr = mock(InetAddress.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0)