- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testFlagCombinations (0.42 sec)
-
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
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();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)