Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getApplyToText (1.12 sec)

  1. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertTrue(ace.isInherited());
        }
    
        @Test
        @DisplayName("Test edge cases in getApplyToText")
        void testGetApplyToTextEdgeCases() {
            // Test with only FLAGS_INHERIT_ONLY (should return Invalid)
            ace.flags = ACE.FLAGS_INHERIT_ONLY;
            assertEquals("Invalid", ace.getApplyToText());
    
            // Test with FLAGS_NO_PROPAGATE (should not affect the result)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

                when(ace1.getApplyToText()).thenReturn("");
                when(ace2.getApplyToText()).thenReturn(null);
    
                assertEquals("", ace1.getApplyToText(), "Should handle empty apply text");
                assertNull(ace2.getApplyToText(), "Should handle null apply text");
    
                verify(ace1).getApplyToText();
                verify(ace2).getApplyToText();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top