- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getApplyToText (0.07 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
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)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0)