- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for getHostname (0.06 sec)
-
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockInetAddress.getHostName()).thenReturn("inet-host"); UniAddress uniAddress = new UniAddress(mockInetAddress); assertEquals("inet-host", uniAddress.getHostName()); } @Test void shouldReturnNbtAddressHostnameWhenWrappedIsNbtAddress() { when(mockNbtAddress.getHostName()).thenReturn("nbt-host");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
// Test getHostName when hostname is known mockName = new Name(mockConfig, "KNOWNHOST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); assertEquals("KNOWNHOST", nbtAddress.getHostName()); } @Test void testGetHostName_UnknownHost() { // Test getHostName when hostname is unknown, should return IP addressRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java
for (final FileAuthentication fileAuth : fileAuthList) { if (logger.isDebugEnabled()) { logger.debug("FileAuthentication: " + fileAuth.getProtocolScheme() + " " + fileAuth.getHostname() + ":" + fileAuth.getPort() + " " + fileAuth.getUsername()); } if (Constants.SAMBA.equals(fileAuth.getProtocolScheme())) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost); when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME); when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN); when(mockConfig.isUseUnicode()).thenReturn(true); return mockContext; } @Nested
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertNotNull(result); assertEquals("TESTHOST", result.getHostName()); // Test second host result = lmhosts.getByName("SERVER01", mockContext); assertNotNull(result); assertEquals("SERVER01", result.getHostName()); } @Test void testGetByNameCaching() throws IOException { // Create a temporary lmhosts file
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
if (this.getNameType() == 0x1D) { for (final NetbiosAddress addr : addrs) { if (addr.getNameType() == 0x20) { return addr.getHostName(); } } return null; } if (this.isDataFromNodeStatus) { /*
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(config.isIpcSigningEnforced()).thenReturn(true); when(config.getLogonShare()).thenReturn("IPC$"); // Default address values when(address.getHostName()).thenReturn("test.host"); when(address.getHostAddress()).thenReturn("192.168.1.100"); } @Test @DisplayName("Should distinguish between pooled and non-pooled connections")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
lenient().when(mockCtx.getNameServiceClient()).thenReturn(mockNameServiceClient); lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost); lenient().when(mockHost.getHostName()).thenReturn("TEST_HOSTNAME"); return mockCtx; } @Test @DisplayName("Should create Type 3 message with authentication data") void testType3MessageCreation() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/WebAuthenticationDbm.java
(et, vl) -> ((WebAuthentication) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime"); setupEpg(_epgMap, et -> ((WebAuthentication) et).getHostname(), (et, vl) -> ((WebAuthentication) et).setHostname(DfTypeUtil.toString(vl)), "hostname"); setupEpg(_epgMap, et -> ((WebAuthentication) et).getParameters(),
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 13.1K bytes - Viewed (0)