- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for myworkgroup (4.56 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testIsWorkgroup() throws Exception { assertTrue(locator("smb:///share").isWorkgroup()); // empty host Address addr = mock(Address.class); NetbiosAddress nb = mock(NetbiosAddress.class); when(addr.unwrap(NetbiosAddress.class)).thenReturn(nb); when(nb.getNameType()).thenReturn(0x1b);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
} @Test @DisplayName("Constructor should handle workgroup type with non-empty host") void testConstructor_WorkgroupNonEmptyHost() throws Exception { // Given: Workgroup type with non-empty host when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://workgroup/")); // Mock successful responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
when(session.getAttribute("npa-workgroup")).thenReturn(auth); // Test various path formats String[] testPaths = { "/", "/workgroup/", "/workgroup/server/", "/workgroup/server/share/", "/workgroup/server/share/file.txt" }; for (String path : testPaths) { when(request.getPathInfo()).thenReturn(path);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor with domain and server types") void testConstructor() { String domain = "WORKGROUP"; int serverTypes = NetServerEnum2.SV_TYPE_ALL; netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes); assertNotNull(netServerEnum2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
} @Test @DisplayName("Test getDomain returns correct domain") void testGetDomain() { // Test with mock String expectedDomain = "WORKGROUP"; when(requestWithPath.getDomain()).thenReturn(expectedDomain); assertEquals(expectedDomain, requestWithPath.getDomain()); verify(requestWithPath, times(1)).getDomain();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* * MAC Address = 00-B0-34-21-FA-3B * </pre> * * </blockquote> * * * The hostname of this machine is <code>JMORRIS2</code>. It is * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To * obtain an {@link java.net.InetAddress} for a host one might do: * * <pre> * * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress(); * </pre> *
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/internal/smb1/com/ServerDataTest.java
@Test @DisplayName("Test oemDomainName field with various string values") public void testOemDomainNameField() { // Test with normal string serverData.oemDomainName = "WORKGROUP"; assertEquals("WORKGROUP", serverData.oemDomainName); // Test with empty string serverData.oemDomainName = ""; assertEquals("", serverData.oemDomainName); // Test with nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* <code>SmbResource</code> or in the case of URLs that only specify a server * or workgroup, the server or workgroup will be returned. The name of * the root URL <code>smb://</code> is also <code>smb://</code>. If this * <code>SmbResource</code> refers to a workgroup, server, share, or directory, * the name will include a trailing slash '/' so that composing new
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* JMORRIS <03> UNIQUE Registered * * MAC Address = 00-B0-34-21-FA-3B * </pre> * <p> The hostname of this machine is <code>JMORRIS2</code>. It is * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To * obtain an {@link java.net.InetAddress} for a host one might do: * * <pre> * InetAddress addr = NbtAddress.getByName( "jmorris2" ).getInetAddress(); * </pre>
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0)