- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for test_date (0.04 sec)
-
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999))); assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class)); } public void test_date() { Map<String, Object> doc = new HashMap<>(); Date expected4 = new Date(); doc.put("key4", expected4); assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
queryCommand.setLowercaseWildcard(true); assertEquals("testcase", queryCommand.toLowercaseWildcard("TestCase")); assertEquals("test_case", queryCommand.toLowercaseWildcard("Test_Case")); assertEquals("test-case", queryCommand.toLowercaseWildcard("Test-Case")); } public void test_toLowercaseWildcard_internationalCharacters() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (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 {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
assertEquals(0, result.length); } 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);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
private static final Logger logger = LogManager.getLogger(SearchApiTests.class); private static final String NAME_PREFIX = "searchApiTest_"; private static final String DEFAULT_TESTDATA_PATH = "/tmp/fess-testdata"; private static final String CRAWL_LABEL = NAME_PREFIX + "_label"; private static final String TEST_LABEL = "tools"; private static String fileConfigId; private static String labelId;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
found = true; break; } } assertTrue(found); } // Test update method public void test_update() { loadTestData(); StopwordsItem item = stopwordsFile.get(1).get(); item.setNewInput("updated"); stopwordsFile.update(item); // Verify the item was updated
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
if ("newWord".equals(item.getInput())) { found = true; break; } } assertTrue(found); } public void test_update() { // Load data first protwordsFile.reload(null); // Get an existing item ProtwordsItem item = protwordsFile.get(1).get(); item.setNewInput("updatedWord");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0)