Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for constructorTest (0.93 sec)

  1. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with Configuration, hash algorithms and salt")
            void testConstructorWithConfigHashAlgosAndSalt() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            preauthIntegrityHash = new byte[64];
            Arrays.fill(preauthIntegrityHash, (byte) 0xBB);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create digest for SMB 2.0.2 with HmacSHA256")
            void testConstructorSmb202() throws GeneralSecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            when(mockConfig.isUseUnicode()).thenReturn(true);
    
            return mockContext;
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with CIFSContext should create message with default flags")
            void testConstructor_CIFSContext() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testMessage = new TestServerMessageBlock2(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create with configuration only")
            void testConstructorWithConfig() {
                ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top