Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWithEmptyStrings (0.22 sec)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertNull(testImplementation.getServer());
            assertNull(testImplementation.getFullUNCPath());
        }
    
        @Test
        @DisplayName("Test with empty strings")
        void testWithEmptyStrings() {
            // Test empty path
            testImplementation.setPath("");
            assertEquals("", testImplementation.getPath());
    
            // Test empty UNC path components
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            String expectedHex = String.format("%08x", type);
            assertTrue(str.toLowerCase().contains(expectedHex));
        }
    
        @Test
        @DisplayName("Test with empty strings")
        void testWithEmptyStrings() {
            SmbShareInfo info = new SmbShareInfo("", 0, "");
    
            assertEquals("", info.getName());
            assertEquals(SmbConstants.TYPE_SHARE, info.getType());
    
            // Test equals with empty string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top