Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isDfs (0.19 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

        /**
         * @return the share
         */
        public String getShare() {
            return this.share;
        }
    
        /**
         * @return whether this is a DFS share
         */
        public boolean isDfs() {
            return this.inDfs;
        }
    
        /**
         *
         */
        void markDomainDfs() {
            this.inDomainDfs = true;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testIsShareDfs() {
                // Given
                when(mockResponse.isShareDfs()).thenReturn(true);
    
                // When
                boolean isDfs = mockResponse.isShareDfs();
    
                // Then
                assertTrue(isDfs, "Should indicate DFS status");
                verify(mockResponse).isShareDfs();
            }
    
            @Test
            @DisplayName("Should validate tree ID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeImplTest.java

        }
    
        // Test case for DFS related methods
        @Test
        void testDfs() throws SmbException {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertFalse(tree.isDfs());
            assertFalse(tree.isInDomainDfs());
            tree.markDomainDfs();
            assertTrue(tree.isInDomainDfs());
        }
    
        // Test case for treeConnect method with SMB1
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top