Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testConstructorWithConfig (0.33 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create request with configuration only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig);
                assertNotNull(request);
                assertEquals(mockConfig, request.getConfig());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should construct with config only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            when(mockConfig.getListSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration only")
        void testConstructorWithConfig() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
    
            assertNotNull(request);
            assertEquals(14, request.getCommand());
            verify(mockConfig).getMaximumBufferSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Test constructor with config only")
            void testConstructorWithConfig() {
                testBlock = new TestServerMessageBlock(mockConfig);
    
                assertEquals(0, testBlock.getCommand());
                assertNull(testBlock.getPath());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create with configuration only")
            void testConstructorWithConfig() {
                ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig);
                assertNotNull(msg);
                assertEquals(mockConfig, msg.getConfig());
                assertEquals(0, msg.getCommand());
    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