Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testFailImmediatelyFlag() {
                assertEquals(0x10, Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY);
            }
    
            @Test
            @DisplayName("Should allow flag combinations")
            void testFlagCombinations() {
                int sharedWithFailImmediately = Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK | Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY;
    
                lock = new Smb2Lock(100L, 200L, sharedWithFailImmediately);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. 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)
Back to Top