Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isWorkgroup0 (1.45 sec)

  1. src/test/java/jcifs/SmbResourceLocatorTest.java

            public boolean isIPC() {
                return false;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public boolean isWorkgroup() {
                return false;
            }
    
            @Override
            public boolean isRoot() {
                return "/".equals(path);
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. 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 {
            private final String name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         * Determines whether this resource represents a workgroup reference.
         *
         * @return whether this is a workgroup reference
         * @throws CIFSException if the determination cannot be made
         */
        boolean isWorkgroup() throws CIFSException;
    
        /**
         * Determines whether this resource represents the root of the SMB hierarchy.
         *
         * @return whether this is a root resource
         */
        boolean isRoot();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top