Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for expectedData (0.04 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                // The implementation returns empty strings as empty strings, not null
                assertEquals(expectedShare.isEmpty() ? "" : expectedShare, result.getShare());
                assertEquals(expectedPath.isEmpty() ? "" : expectedPath, result.getPath());
            }
    
            @Test
            @DisplayName("Should handle path with multiple backslashes")
            void testPathWithMultipleBackslashes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 0); // nodeOffset (0 = null)
    
            // Write path string at offset 22
            bb.position(22);
            String expectedPath = "\\\\test";
            bb.put(expectedPath.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0); // null terminator
    
            // Decode
            referral.decode(testBuffer, 0, testBuffer.length);
    
            // Check
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top