Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for testInheritance (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            // Then
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            }
        }
    
        /**
         * Test inheritance from ServerMessageBlock
         */
        @Test
        @DisplayName("Test inheritance from ServerMessageBlock")
        public void testInheritance() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    
            // Then
            assertTrue(smbComTreeDisconnect instanceof ServerMessageBlock);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertTrue(result.endsWith("]"));
            assertTrue(result.contains("command="));
        }
    
        @Test
        @DisplayName("Test inheritance from SmbComTransaction")
        void testInheritance() {
            netShareEnum = new NetShareEnum(realConfig);
    
            assertTrue(netShareEnum instanceof SmbComTransaction);
    
            // Test inherited getSubCommand method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        }
    
        private void methodThatThrowsException() {
            throw new CrawlerSystemException("Method exception");
        }
    
        /**
         * Test exception inheritance
         */
        public void test_inheritance() {
            CrawlerSystemException exception = new CrawlerSystemException("Test");
    
            // Should be instance of RuntimeException
            assertTrue(exception instanceof RuntimeException);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top