Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TEST_SHARE (0.03 sec)

  1. src/test/java/jcifs/SmbTreeHandleTest.java

         */
        @Test
        void testGetConnectedShare() {
            when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE");
            assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE");
        }
    
        /**
         * Test for isSameTree() method.
         * Verifies that the method correctly identifies if two handles refer to the same tree.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertEquals(SmbFile.TYPE_PRINTER, instance.getType());
        }
    
        /**
         * Test of getName method, of class SmbShareInfo.
         */
        @Test
        void testGetName() {
            String netName = "TEST_SHARE";
            SmbShareInfo instance = new SmbShareInfo(netName, 0, "remark");
            assertEquals(netName, instance.getName());
        }
    
        /**
         * Test of getType method, of class SmbShareInfo.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top