Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testFlagCombinations (0.34 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

            }
    
            @ParameterizedTest
            @MethodSource("provideFlagCombinations")
            @DisplayName("Various flag combinations encode and parse correctly")
            void testFlagCombinations(int flags) throws Exception {
                NegTokenInit init = new NegTokenInit(new ASN1ObjectIdentifier[] { OID_KRB }, flags, null, null);
    
                byte[] encoded = init.toByteArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
            assertEquals(-1, SmbConstants.FOREVER);
        }
    
        @Test
        @DisplayName("Should validate flag combinations work correctly")
        void testFlagCombinations() {
            // Test that flags can be combined with bitwise OR
            int combinedShareAccess = SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
            assertEquals(0x03, combinedShareAccess);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top