- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for test_toString (1.7 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
item1.setNewInput("updated"); item2.setNewInput("different"); // Should still be equal based on original input assertTrue(item1.equals(item2)); } public void test_toString() { // Test toString method StopwordsItem item = new StopwordsItem(123, "word"); assertEquals("StopwordsItem [id=123, inputs=word, newInputs=null]", item.toString());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
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) -
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)