Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testService (0.63 sec)

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

        @Test
        void testMatches() {
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Test matching share and service (case insensitive)
            assertTrue(tree.matches("testShare", "testService"));
            assertTrue(tree.matches("TESTSHARE", "testService"));
            assertTrue(tree.matches("testshare", "TESTSERVICE"));
    
            // Test matching share with null service
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @DisplayName("Should decode bytes correctly")
            void testReadBytesWireFormat() throws Exception {
                // Given - Service string in ASCII
                String testService = "A:";
                byte[] serviceBytes = testService.getBytes("ASCII");
                byte[] buffer = new byte[serviceBytes.length + 1];
                System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top