- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for test_integer (0.07 sec)
-
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class)); } public void test_integer() { Map<String, Object> doc = new HashMap<>(); int expected3 = 999; doc.put("key3", expected3); assertEquals(expected3, DocumentUtil.getValue(doc, "key3", Integer.class));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
} } @Override protected String getName() { return Constants.DEFAULT_SCRIPT; } }.register(); } public void test_integer() { final DocBoostMatcher docBoostMatcher = new DocBoostMatcher(); docBoostMatcher.setBoostExpression("10"); docBoostMatcher.setMatchExpression("data1 > 10");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java
import junit.framework.TestCase; /** * @author higa * */ public class IntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToInteger() throws Exception { assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000")); } /** * @throws Exception */ public void testToPrimitiveInt() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0)