Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for testFatal (0.06 seconds)

  1. src/test/java/org/codelibs/core/log/LoggerTest.java

         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFatal() throws Exception {
            logger.fatal("fatal");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLog() throws Exception {
            logger.log("ILOGTEST0001");
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.8K 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. guava-tests/test/com/google/common/io/ResourcesTest.java

      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N);
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/ResourcesTest.java

      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N);
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
            final int testData = 1234567890;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top