Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEmptyAndBlank (0.1 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

                // Invalid unwrap
                assertThrows(ClassCastException.class, () -> sid.unwrap(String.class));
            }
    
            @Test
            @DisplayName("isEmpty and isBlank edge cases")
            void testEmptyAndBlank() throws Exception {
                // No subauthorities
                SID s1 = new SID("S-1-5");
                assertTrue(s1.isEmpty());
                // isBlank will fail if sub_authority is null, so we skip that check for s1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top