- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for testFatal (0.06 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
* done | tee testoutput * - Move that testcases file to the appropriate name under testdata. * * The last test will take hours, and if it passes, the output will be empty. */ doExtensiveTest("testdata/simplifypathnoprefixtests.txt"); } private void doExtensiveTest(String resourceName) throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
* done | tee testoutput * - Move that testcases file to the appropriate name under testdata. * * The last test will take hours, and if it passes, the output will be empty. */ doExtensiveTest("testdata/simplifypathnoprefixtests.txt"); } private void doExtensiveTest(String resourceName) throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0)