Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for test_toString (0.14 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertEquals(parseException, queryParseException.getCause());
            assertEquals(rootCause, queryParseException.getCause().getCause());
        }
    
        public void test_toString() {
            // Test toString method
            String errorMessage = "ToString test error";
            ParseException parseException = new ParseException(errorMessage);
    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/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

                assertTrue(true);
            } catch (NoSuchMethodException e) {
                fail("close method should exist");
            }
        }
    
        // Test toString method
        public void test_toString() {
            // Test that toString returns a non-null value
            String result = crawlerEngineClient.toString();
            assertNotNull(result);
        }
    
        // Test hashCode method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

                // Expected
            }
    
            // equals with null input may return false instead of throwing NPE
            assertFalse(item3.equals(item1));
        }
    
        public void test_toString() {
            // Test toString method
            ProtwordsItem item = new ProtwordsItem(123, "testword");
            assertEquals("ProtwordsItem [id=123, inputs=testword, newInputs=null]", item.toString());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
        }
    
        public void test_toString() {
            // Test toString method
            DictionaryExpiredException exception = new DictionaryExpiredException();
            String str = exception.toString();
    
            assertNotNull(str);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            } finally {
                // Restore original time zone
                TimeZone.setDefault(originalTimeZone);
            }
        }
    
        // Test toString() method
        public void test_toString() {
            // Execute
            String result = provider.toString();
    
            // Verify the string format
            assertNotNull(result);
            assertTrue(result.contains("FessUserTimeZoneProcessProvider"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEquals("test", labels[0].getValue());
            assertNotNull(labels[0].getIncludedPaths());
            assertNotNull(labels[0].getExcludedPaths());
        }
    
        public void test_toString() {
            GsaConfigParser parser = new GsaConfigParser();
            String result = parser.toString();
            assertTrue(result.contains("GsaConfigParser"));
            assertTrue(result.contains("labelList"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            // Test with simple ID
            searchRenderData.setQueryId("query-001");
            assertEquals("query-001", searchRenderData.getQueryId());
        }
    
        public void test_toString() {
            // Test with default values
            String defaultString = searchRenderData.toString();
            assertNotNull(defaultString);
            assertTrue(defaultString.startsWith("SearchRenderData ["));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

                Map<String, Object> doc = result.getDocumentList().get(i);
                assertEquals(String.valueOf(i), doc.get("id"));
                assertEquals(i, doc.get("index"));
            }
        }
    
        public void test_toString() {
            // Test toString method
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", "value");
            List<Map<String, Object>> documentList = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals(2, list.size());
            assertEquals("updated1", list.get(0).getInput());
            assertEquals("updated2", list.get(1).getInput());
        }
    
        public void test_toString() {
            protwordsFile.reload(null);
            String result = protwordsFile.toString();
            assertTrue(result.contains("ProtwordsFile"));
            assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top