Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 31 for test_toString (0.07 seconds)

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

            // By default, getLocalizedMessage returns the same as getMessage
            assertEquals(message, exception.getLocalizedMessage());
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            String message = "Test exception";
            DataStoreException exception = new DataStoreException(message);
    
            String toString = exception.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

                assertTrue(e instanceof ResultOffsetExceededException);
            } catch (Exception e) {
                fail("Should have caught as RuntimeException");
            }
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            String message = "Test toString method";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // The exception should be serializable as it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            String message = "Thumbnail generation failed for file.jpg";
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
        }
    
        @Test
        public void test_toString() {
            // Test toString method
            DictionaryExpiredException exception = new DictionaryExpiredException();
            String str = exception.toString();
    
            assertNotNull(str);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            } finally {
                // Restore original time zone
                TimeZone.setDefault(originalTimeZone);
            }
        }
    
        // Test toString() method
        @Test
        public void test_toString() {
            // Execute
            String result = provider.toString();
    
            // Verify the string format
            assertNotNull(result);
            assertTrue(result.contains("FessUserTimeZoneProcessProvider"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java

            assertEquals("doc_with_underscore", result.getRelevantDocIds().get(1));
            assertEquals("doc.with.dot", result.getRelevantDocIds().get(2));
        }
    
        @Test
        public void test_toString() {
            List<String> docIds = Arrays.asList("doc1", "doc2");
            List<Integer> indexes = Arrays.asList(1, 2);
            RelevanceEvaluationResult result = RelevanceEvaluationResult.withRelevantDocs(docIds, indexes);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top