- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getApplyToText (0.85 sec)
-
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) -
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) -
src/main/java/jcifs/internal/dtyp/ACE.java
public boolean isInherited() { return (this.flags & FLAGS_INHERITED) != 0; } @Override public int getFlags() { return this.flags; } @Override public String getApplyToText() { switch (this.flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) { case 0x00: return "This folder only"; case 0x03:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
* directories such as 'This folder, subfolder and files'. For * files the text is always 'This object only'. * @return the text describing what this ACE applies to */ public String getApplyToText() { switch (flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) { case 0x00: return "This folder only"; case 0x03:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* directories such as 'This folder, subfolder and files'. For * files the text is always 'This object only'. * * @return descriptive text for the ACE scope */ String getApplyToText(); /** * Returns the flags for this ACE. The <code>isInherited()</code> * method checks the <code>FLAGS_INHERITED</code> bit in these flags. * * @return the ACE flags */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0)