Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFlagChecking (0.52 sec)

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

                    | SecurityInfo.SACL_SECURITY_INFO;
            assertEquals(0xF, allStandard);
        }
    
        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
            assertTrue((flags & SecurityInfo.OWNER_SECURITY_INFO) != 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top