- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getApplyToText (0.2 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) -
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:
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (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:
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (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 */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0)