Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for hierarchy (0.04 sec)

  1. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade"));
        }
    
        @Test
        @DisplayName("Default ctor: null message/cause; toString is class name; type hierarchy")
        void defaultConstructor_hasNullMessageAndCause_andTypeHierarchy() {
            // Arrange & Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertTrue(queryParseException instanceof java.io.Serializable);
        }
    
        public void test_inheritanceHierarchy() {
            // Test the inheritance hierarchy
            ParseException parseException = new ParseException("Hierarchy test");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            // Verify inheritance chain
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         *
         * @return The parent directory of this SMB resource or
         *         <code>smb://</code> if the resource refers to the root of the URL
         *         hierarchy which incidentally is also <code>smb://</code>.
         */
        String getParent();
    
        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

        class SerializationTests {
    
            @Test
            @DisplayName("Should maintain exception hierarchy")
            void testExceptionHierarchy() {
                TransportException exception = new TransportException("Test");
    
                // Verify the exception hierarchy
                assertTrue(exception instanceof IOException);
                assertTrue(exception instanceof Exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/https/HandlerTest.java

                method.setAccessible(true); // Required to invoke protected method
                assertEquals(443, method.invoke(testHandler));
            }
    
            @Test
            @DisplayName("Should maintain inheritance hierarchy")
            void testInheritanceHierarchy() {
                // When
                Class<?> superclass = Handler.class.getSuperclass();
    
                // Then
                assertEquals(jcifs.http.Handler.class, superclass);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        handler = new TestLogHandler();
    
        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
            new TearDown() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Setup
            final String message = "Test inheritance hierarchy";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, message);
    
            // Verify inheritance hierarchy
            assertTrue(exception instanceof FessSystemException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_instanceOf() {
            // Test inheritance hierarchy
            UnsupportedSearchException exception = new UnsupportedSearchException("test");
    
            assertTrue(exception instanceof UnsupportedSearchException);
            assertTrue(exception instanceof FessSystemException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

        private static Object getField(Object target, String name) {
            try {
                Field f = findField(target.getClass(), name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        // Helper: find field in class hierarchy
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassIterator.java

    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * An {@link Iterator} that iterates through the inheritance hierarchy of a class towards its superclasses.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.lang.ClassIterator.*;
     *
     * Class&lt;?&gt; someClass = ...;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top