Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for otherShare (0.18 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertEquals(SmbFile.TYPE_SHARE, diskShare.getType());
    
            // Test for another type that should default to TYPE_SHARE
            SmbShareInfo otherShare = new SmbShareInfo("OTHER", 2, "Another type");
            assertEquals(SmbFile.TYPE_SHARE, otherShare.getType());
    
            // Test with hidden flag (0x80000000) which should be ignored by getType()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeImplTest.java

        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
            assertFalse(tree.matches("othershare", "A:"));
        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
            SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:");
    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