Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for workgroup (0.27 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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 response
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  10. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            when(parent.getContext()).thenReturn(this.ctx);
            when(parent.getLocator()).thenReturn(parentLocator);
            // Make the parent appear as a workgroup to use the simpler URL code-path
            when(parentLocator.isWorkgroup()).thenReturn(true);
        }
    
        /** Simple implementation of FileEntry for controlled inputs in tests. */
        private static final class StubFileEntry implements FileEntry {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top