Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for test_inheritance (0.35 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertEquals(8, result);
            assertNotNull(response.getResults());
        }
    
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals("WrLehDO\u0000B16BBDz\u0000", descr[0]);
            assertEquals("WrLehDz\u0000B16BBDz\u0000", descr[1]);
        }
    
        @Test
        @DisplayName("Test inheritance from SmbComTransaction")
        void testInheritance() {
            netServerEnum2 = new NetServerEnum2(realConfig, "DOMAIN", NetServerEnum2.SV_TYPE_ALL);
    
            assertTrue(netServerEnum2 instanceof SmbComTransaction);
    
            // Test inherited getSubCommand method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            assertArrayEquals(largeToken, actualToken);
        }
    
        @Test
        @DisplayName("Should correctly inherit from ServerMessageBlock2Request")
        void testInheritance() {
            // Then
            assertTrue(request instanceof ServerMessageBlock2Request);
            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            }
        }
    
        @Nested
        @DisplayName("Inheritance Tests")
        class InheritanceTests {
    
            @Test
            @DisplayName("DcerpcBind should extend DcerpcMessage")
            void testInheritance() {
                // Then
                assertTrue(bind instanceof DcerpcMessage, "Should extend DcerpcMessage");
                assertTrue(bind instanceof jcifs.dcerpc.ndr.NdrObject, "Should extend NdrObject");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertTrue(result >= 8);
            assertNotNull(response.getInfo());
        }
    
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataLength, response.getDataLength());
        }
    
        @Test
        @DisplayName("Should verify inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            // Then
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top