Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for combinations (1.92 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                        Arguments.of("\\\\server.domain.com", 0));
            }
    
            @ParameterizedTest
            @MethodSource("provideParameters")
            @DisplayName("should accept various parameter combinations")
            void testConstructorSucceeds(String systemName, int accessMask) {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act & Assert - constructor should not throw
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

            assertEquals(Smb2LeaseState.SMB2_LEASE_FULL, fullLease);
        }
    
        @Test
        @DisplayName("Should handle custom state combinations")
        void testCustomStateCombinations() {
            int customState = 0x06; // Write + Handle but no Read
    
            assertFalse(Smb2LeaseState.hasReadCaching(customState));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosFileFilterTest.java

            new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN);
        }
    
        /**
         * Parameterized test for the {@link DosFileFilter#accept(SmbFile)} method.
         * This test covers various combinations of file attributes and filter attributes
         * to ensure the bitwise logic is correctly implemented.
         *
         * @param filterAttributes The attributes set for the filter.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            // Verify that the ptype is set to 0
            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    
            // Verify that the flags are set to the combination of DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         *
         * @param offset the byte offset in the file where the lock begins
         * @param length the number of bytes to lock
         * @param flags the lock flags (combination of SMB2_LOCKFLAG_* constants)
         */
        public Smb2Lock(final long offset, final long length, final int flags) {
            this.offset = offset;
            this.length = length;
            this.flags = flags;
    
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top