Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for test_toString (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // The exception should be serializable as it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Thumbnail generation failed for file.jpg";
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            DictionaryException exception = new DictionaryException("Serialization test");
    
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Dictionary parse error";
            Exception cause = new NullPointerException("NPE occurred");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            LdapConfigurationException exception2 = new LdapConfigurationException(message);
            assertEquals(exception.getMessage(), exception2.getMessage());
        }
    
        public void test_toString() {
            // Test the toString method
            String message = "LDAP configuration is invalid";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            // and the exception extends RuntimeException which is Serializable
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Test exception message";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertEquals(message, exception.getMessage()); // Call twice to verify consistency
            assertEquals(message, exception.getLocalizedMessage());
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Test exception message";
            JobNotFoundException exception = new JobNotFoundException(message);
    
            String toStringResult = exception.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            // By default, getLocalizedMessage returns the same as getMessage
            assertEquals(message, exception.getLocalizedMessage());
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Test exception";
            DataStoreException exception = new DataStoreException(message);
    
            String toString = exception.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            SsoLoginException specialException = new SsoLoginException(specialMessage);
            assertEquals(specialMessage, specialException.getMessage());
        }
    
        public void test_toString() {
            // Test toString() method
            String message = "SSO toString test";
            SsoLoginException exception = new SsoLoginException(message);
    
            String toStringResult = exception.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            // Test ordinal() method returns correct position
            assertEquals(0, SsoResponseType.METADATA.ordinal());
            assertEquals(1, SsoResponseType.LOGOUT.ordinal());
        }
    
        public void test_toString() {
            // Test toString() method (default implementation returns name)
            assertEquals("METADATA", SsoResponseType.METADATA.toString());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
            assertNotNull(causeStackTrace);
            assertTrue(causeStackTrace.length > 0);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Script engine test error";
            ScriptEngineException exception = new ScriptEngineException(message);
    
            String result = exception.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

                assertTrue(e instanceof ResultOffsetExceededException);
            } catch (Exception e) {
                fail("Should have caught as RuntimeException");
            }
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Test toString method";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top