Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SuggesterTest (0.04 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import org.opensearch.action.index.IndexAction;
    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.action.support.WriteRequest;
    import org.opensearch.transport.client.Client;
    
    public class SuggesterTest {
        static Suggester suggester;
    
        static OpenSearchRunner runner;
    
        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  2. README.md

    ```
    
    ### Testing
    
    The project uses JUnit 4 with embedded OpenSearch for integration testing:
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=SuggesterTest
    
    # Run with verbose output
    mvn surefire:test -Dmaven.surefire.debug=true
    ```
    
    ### Running Tests with Coverage
    
    ```bash
    mvn clean jacoco:prepare-agent test jacoco:report
    ```
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

        }
    
        /**
         * Integration test for complete index lifecycle with refactored methods.
         * Tests that createNextIndex and switchIndex work together correctly.
         * Note: Full lifecycle testing is covered by SuggesterTest.test_switchIndex()
         */
        @Test
        public void testIndexLifecycle_withRefactoredMethods() throws Exception {
            final Suggester suggester = Suggester.builder().build(client, "lifecycle-test");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top