Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 718 for test5 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            assertEquals("Image Width", width, img.getWidth());
            assertEquals("Image Height", height, img.getHeight());
        }
    
        // Tests for atomic file operations (TOCTOU fix)
    
        @Test
        public void test_createDirectories_nestedPath() throws Exception {
            // Test that Files.createDirectories works correctly for nested paths
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    import java.util.LinkedList
    
    const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check"
    const val MAX_PROJECT_NUMBER_IN_BUCKET = 11
    
    /**
     * Process test-class-data.json and generates test-buckets.json
     *
     * Usage: `mvn compile exec:java@update-test-buckets -DinputTestClassDataJson=/path/to/test-class-data.json`.
     * You can get the JSON file as an artifacts of the "autoUpdateTestSplitJsonOnGradleMaster" pipeline in TeamCity.
     */
    fun main() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. .idea/gradle.xml

                <option value="$PROJECT_DIR$/testing/architecture-test" />
                <option value="$PROJECT_DIR$/testing/distributions-basics" />
                <option value="$PROJECT_DIR$/testing/distributions-core" />
                <option value="$PROJECT_DIR$/testing/distributions-integ-tests" />
                <option value="$PROJECT_DIR$/testing/integ-test" />
                <option value="$PROJECT_DIR$/testing/internal-architecture-testing" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 10:18:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  4. 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)
  5. .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)
  6. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

        }
    
        // ===== Script Execution Audit Log Tests =====
    
        @Test
        public void test_normalizeScript_null() {
            assertEquals("-", activityHelper.normalizeScript(null));
        }
    
        @Test
        public void test_normalizeScript_empty() {
            assertEquals("", activityHelper.normalizeScript(""));
        }
    
        @Test
        public void test_normalizeScript_normal() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

                    (field, boost) -> QueryBuilders.matchQuery(field, "test text").boost(boost),
                    (field, text, boost) -> QueryBuilders.matchQuery(field, text).boost(boost));
    
            // Should build default query
            assertNotNull(result);
            assertTrue(result instanceof DefaultQueryBuilder);
        }
    
        /**
         * Test convertWithFieldCheck() with search field.
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            // Not used for this test
            return new HashMap<>();
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            // Not used for this test
            return new HashMap<>();
        }
    
        @Override
        @AfterEach
        protected void tearDown() {
            // Custom teardown in tearDownAll
        }
    
        @Test
        void bulkOperationsTest() {
    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)
  9. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                    }
                }
                failureConditions {
                    // We have test-retry to handle the crash in tests
                    javaCrash = false
                    // We want to see the flaky tests for flakiness detection
                    supportTestRetry = (performanceTestBuildSpec.type != PerformanceTestType.FLAKINESS_DETECTION)
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for FessCrawlerThread.
     * Tests HTTP status code constants, null handling, and anchor processing.
     */
    public class FessCrawlerThreadTest extends UnitFessTestCase {
    
        @Test
        public void test_getClientRuleList() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
Back to Top