Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 245 for test_2 (0.03 seconds)

  1. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    
    /**
     * Error handling tests for RankFusionProcessor.
     * Tests exception handling improvements including InterruptedException and ExecutionException.
     */
    public class RankFusionProcessorErrorHandlingTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test handling of searcher that throws RuntimeException.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertEquals("test query", queryContext.getQueryString());
            assertNull(queryContext.getDefaultField());
        }
    
        // Test constructor with allinurl prefix
        @Test
        public void test_constructor_allinurlPrefix() {
            queryContext = new QueryContext("allinurl:test query", false);
            assertEquals("test query", queryContext.getQueryString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

    import org.dbflute.optional.OptionalThing;
    import org.junit.jupiter.api.Test;
    
    /**
     * Concurrency and thread-safety tests for RankFusionProcessor.
     * Tests the improvements made to thread safety using CopyOnWriteArrayList.
     */
    public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test concurrent registration of searchers from multiple threads.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  4. README.md

    #### 3. Clone Test Data
    
    Required for SearchApiTests:
    
        $ git clone https://github.com/codelibs/fess-testdata.git /tmp/fess-testdata
    
    #### 4. Run Integration Tests
    
        $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    
    To run a single test case:
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 14 03:19:23 GMT 2026
    - 7.8K bytes
    - Click Count (2)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test process with available generator
        @Test
        public void test_process_availableGenerator() throws IOException {
            // Skip this test as it requires container components
            // The process method needs actual ThumbnailQueueBhv and other components
            assertTrue(true);
        }
    
        // Test process with unavailable generator
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. architecture/standards/0004-use-a-platform-architecture.md

    Provides cross-cutting integration with IDEs and other tooling.
    
    #### Build infrastructure
    
    Provides build logic, libraries, test suites and infrastructure to support developing and releasing Gradle.
    
    #### Documentation
    
    Provides cross-cutting Gradle documentation and samples, along with the infrastructure to write, test, publish and host the documentation.
    
    ## Consequences
    
    - Assign ownership of each architecture module to one team.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        }
    
        // ========== Security Tests ==========
    
        /**
         * Security test: Verify that unregistered classes are rejected during serialization.
         * This test ensures that the Kryo registration requirement is working correctly.
         * Unregistered classes should throw an exception to prevent potential RCE attacks.
         */
        @Test
        public void test_security_unregisteredClassRejected() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/HealthApiTests.java

    import org.codelibs.fess.it.ITBase;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.RestAssured;
    
    /**
     * Integration tests for the Health API (/api/v1/health)
     */
    @Tag("it")
    public class HealthApiTests extends ITBase {
    
        @BeforeAll
        protected static void initAll() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

    import com.fasterxml.jackson.module.kotlin.registerKotlinModule
    import java.io.File
    
    val ignoredSubprojects =
        listOf(
            "soak", // soak test
            "distributions-integ-tests", // build distribution testing
            "architecture-test", // sanity check
        )
    
    interface GradleSubprojectProvider {
        val subprojects: List<GradleSubproject>
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            // The header remains for subsequent tests due to static request handling
            // Different matching header added to same request
            request.addHeader("X-Forwarded-Host", "test.com");
            result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/site1/search", result.getRoutingPath()); // Still site1 due to header precedence
        }
    
        @Test
        public void test_getVirtualHostBasePath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top