- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for workgroup (0.58 seconds)
-
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (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 responseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceLocator.java
* <code>SmbFile</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>SmbFile</code> refers to a workgroup, server, share, or directory, * the name will include a trailing slash '/' so that composing new
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Share when share set but no path assertEquals(SmbConstants.TYPE_SHARE, locator("smb://server/share/").getType()); // Workgroup when no authority assertEquals(SmbConstants.TYPE_WORKGROUP, locator("smb:///").getType()); // Server vs Workgroup depends on NetBIOS name type Address addr = mock(Address.class); NetbiosAddress nb = mock(NetbiosAddress.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
Arguments.of(WinError.ERROR_SERVICE_NOT_INSTALLED, "The service is not available"), Arguments .of(WinError.ERROR_NO_BROWSER_SERVERS_FOUND, "The list of servers for this workgroup is not currently available.")); } @Test @DisplayName("Constants: values match Windows error codes") void constants_have_expected_values() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/WinError.java
/** More data is available */ int ERROR_MORE_DATA = 234; /** The service is not installed */ int ERROR_SERVICE_NOT_INSTALLED = 2184; /** The list of servers for this workgroup is not currently available */ int ERROR_NO_BROWSER_SERVERS_FOUND = 6118; /** Array of Windows error codes */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/WinError.java
int ERROR_NO_DATA = 232; /** No process is on the other end of the pipe */ int ERROR_PIPE_NOT_CONNECTED = 233; /** More data is available */ int ERROR_MORE_DATA = 234; /** The list of servers for this workgroup is not currently available */ int ERROR_NO_BROWSER_SERVERS_FOUND = 6118; /** Array of Windows error codes */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0)