Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for test_data (0.04 seconds)

  1. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

                @Override
                public Integer getCoordinatorOperationRetryAsInteger() {
                    return 5;
                }
            });
    
            helper.tryStartOperation("test_op", "test_data");
            assertEquals(5, passedRetries.get());
        }
    
        @Test
        public void test_tryStartOperation_twoArg_defaultRetry() {
            // Verify default retry value of 3 from config
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        public void test_load_virtualHosts() {
            List<RelatedQuery> testData = new ArrayList<>();
            testData.add(createRelatedQuery("term1", new String[] { "query1" }, "host1"));
            testData.add(createRelatedQuery("term1", new String[] { "query2" }, "host2"));
            testData.add(createRelatedQuery("term2", new String[] { "query3" }, ""));
            mockBhv.setTestData(testData);
    
            int count = relatedQueryHelper.load();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

        public void test_load_virtualHosts() {
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("term1", "Content for host1", "host1"));
            testData.add(createRelatedContent("term1", "Content for host2", "host2"));
            testData.add(createRelatedContent("term2", "Content for default", ""));
            mockBhv.setTestData(testData);
    
            int count = relatedContentHelper.load();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            // Test various registered types
            Map<String, Object> testData = new HashMap<>();
            testData.put("string", "test");
            testData.put("integer", 42);
            testData.put("long", 123456789L);
            testData.put("double", 3.14);
            testData.put("boolean", true);
            testData.put("date", new Date());
    
            List<String> list = new ArrayList<>();
    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)
  5. src/test/resources/before_script.sh

        echo "Fess is not available."
        cat ${temp_log_file} ./fess-*/logs/*.log
        exit 1
      fi
      sleep 1
    done
    
    pushd /tmp >/dev/null
    git clone https://github.com/codelibs/fess-testdata.git
    cd fess-testdata
    git checkout f19176ab1b7ddc0a40393a8cbbb8d1c17b27c3ce
    cd ..
    popd >/dev/null
    
    cat ${temp_log_file} ./fess-*/logs/*.log
    curl -s "http://localhost:9201/_cat/indices?v"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Nov 15 02:26:18 GMT 2025
    - 940 bytes
    - Click Count (0)
  6. README.md

    You should see a JSON response when Fess is ready.
    
    #### 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)
  7. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            // Create some objects and measure their sizes
            List<String> testData = new ArrayList<>();
            for (int i = 0; i < 100; i++) {
                testData.add("test data " + i);
            }
    
            long listSize = MemoryUtil.sizeOf(testData);
            assertTrue(listSize > 0);
    
            String memoryLog2 = MemoryUtil.getMemoryUsageLog();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

        private static final Logger logger = LogManager.getLogger(FavoritesApiTests.class);
        private static final String NAME_PREFIX = "favoritesApiTest_";
        private static final String DEFAULT_TESTDATA_PATH = "/tmp/fess-testdata";
        private static final String CRAWL_LABEL = NAME_PREFIX + "_label";
        private static String fileConfigId;
        private static String crawlLabelId;
    
        @BeforeAll
        protected static void initAll() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

        }
    
        @Test
        public void test_gzipCompress_and_gzipDecompress() {
            String testData =
                    "This is test data for compression that should be long enough to actually compress effectively when using gzip compression algorithm";
            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

        private static final Logger logger = LogManager.getLogger(ScrollSearchApiTests.class);
        private static final String NAME_PREFIX = "scrollSearchApiTest_";
        private static final String DEFAULT_TESTDATA_PATH = "/tmp/fess-testdata";
        private static final String CRAWL_LABEL = NAME_PREFIX + "_label";
        private static String fileConfigId;
        private static String crawlLabelId;
    
        @BeforeAll
        protected static void initAll() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top