Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for SuggesterTest (0.86 seconds)

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

                settingsBuilder.put("discovery.type", "single-node");
            }).build(newConfigs().clusterName("SuggesterTest").numOfNode(1).pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
            suggester = Suggester.builder().build(runner.client(), "SuggesterTest");
            suggester.createIndexIfNothing();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (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
    ```
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (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");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top