Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testInheritance (0.07 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

        }
    
        @Test
        void testWithEmptyUrl() throws IOException {
            testInheritance("empty-urls", false);
        }
    
        public void testInheritance(String baseName) throws IOException {
            testInheritance(baseName, false);
            testInheritance(baseName, true);
        }
    
        public void testInheritance(String baseName, boolean fromRepo) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/https/HandlerTest.java

                Handler testHandler = new Handler(null);
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
            @DisplayName("Should extend jcifs.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.http.Handler);
                assertTrue(handler instanceof URLStreamHandler);
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

        }
    
        @Nested
        @DisplayName("Inheritance verification")
        class InheritanceVerification {
    
            @Test
            @DisplayName("should properly extend base classes")
            void testInheritance() {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act
                MsrpcSamrConnect2 msg = new MsrpcSamrConnect2("\\\\server", 0x000F0000, ph);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/https/HandlerTest.java

                Handler testHandler = new Handler();
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
            @DisplayName("Should extend jcifs.smb1.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.smb1.http.Handler);
                assertTrue(handler instanceof URLStreamHandler);
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertEquals(nestedCauseException.getCause(), nestedCauseException.getRootCause());
        }
    
        @Test
        @DisplayName("Test exception inheritance and polymorphism")
        public void testInheritance() {
            // Create exception
            TransportException exception = new TransportException("Test exception");
    
            // Test inheritance chain
            assertTrue(exception instanceof TransportException);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top