Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for test_toString (0.05 seconds)

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

            LdapConfigurationException exception2 = new LdapConfigurationException(message);
            assertEquals(exception.getMessage(), exception2.getMessage());
        }
    
        @Test
        public void test_toString() {
            // Test the toString method
            String message = "LDAP configuration is invalid";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            assertEquals(0, result.getAllRecordCount());
            assertTrue(result.getDocumentList().isEmpty());
        }
    
        /**
         * Test SearchResult toString method.
         */
        @Test
        public void test_toString() {
            final SearchResult result = SearchResult.create().allRecordCount(100).queryTime(50).build();
    
            final String str = result.toString();
            assertNotNull(str);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            // and the exception extends RuntimeException which is Serializable
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            String message = "Test exception message";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. 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());
        }
    
        @Test
        public void test_toString() {
            // Test toString() method (default implementation returns name)
            assertEquals("METADATA", SsoResponseType.METADATA.toString());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.toString());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

            assertEquals(ChatIntent.FAQ, ChatIntent.valueOf("FAQ"));
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.valueOf("UNCLEAR"));
        }
    
        @Test
        public void test_toString() {
            assertNotNull(ChatIntent.SEARCH.toString());
            assertNotNull(ChatIntent.SUMMARY.toString());
            assertNotNull(ChatIntent.FAQ.toString());
            assertNotNull(ChatIntent.UNCLEAR.toString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertFalse(item1.equals(item3));
    
            // Symmetry
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            ProtwordsItem item = new ProtwordsItem(123, "testword");
            assertEquals("ProtwordsItem [id=123, inputs=testword, newInputs=null]", item.toString());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/llm/IntentDetectionResultTest.java

            assertEquals(ChatIntent.SEARCH, result.getIntent());
            assertEquals("", result.getQuery());
        }
    
        @Test
        public void test_toString() {
            final IntentDetectionResult result = IntentDetectionResult.search("test query", "reasoning");
    
            final String str = result.toString();
            assertNotNull(str);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

                assertTrue(true);
            } catch (NoSuchMethodException e) {
                fail("close method should exist");
            }
        }
    
        // Test toString method
        @Test
        public void test_toString() {
            // Test that toString returns a non-null value
            String result = crawlerEngineClient.toString();
            assertNotNull(result);
        }
    
        // Test hashCode method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertFalse(item1.equals(item3));
    
            // Symmetry
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            StopwordsItem item = new StopwordsItem(123, "word");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=null]", item.toString());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            SsoLoginException specialException = new SsoLoginException(specialMessage);
            assertEquals(specialMessage, specialException.getMessage());
        }
    
        @Test
        public void test_toString() {
            // Test toString() method
            String message = "SSO toString test";
            SsoLoginException exception = new SsoLoginException(message);
    
            String toStringResult = exception.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
Back to Top