- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 445 for isobject (0.08 sec)
-
ParamMapTest.java
extends UnitFessTestCase { L25: L26: private ParamMap<Object, Object> createSnakeMap() { L27: final Map<Object, Object> map = new HashMap<>(); L28: map.put("aaa", "111"); L29: map.put("aaa_bbb", "222"); L30: map.put("aaa_bbb_ccc", "333"); L31: map.put("ccc.ddd", "444"); L32: return new ParamMap<>(map); L33: } L34: L35: private ParamMap<Object, Object> createCamelMap() { L36: final Map<Object, Object> map = new HashMap<>(); L37: map.put("aaa",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.5K bytes -
SearchListTests.java
void testUpdate() { L100: L101: // Test: update settings api L102: final Map<String, Object> updateMap = getUpdateMap(); L103: final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM); L104: List<Map<String, Object>> settings = getItemList(searchBody); L105: L106: for (Map<String, Object> setting : settings) { L107: final Map<String, Object> requestBody = new HashMap<>(updateMap); L108: final String idKey = getIdKey(); L109: L110:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.5K bytes -
DocumentUtilTest.java
test_integer() { L60: Map<String, Object> doc = new HashMap<>(); L61: L62: int expected3 = 999; L63: doc.put("key3", expected3); L64: assertEquals(expected3, DocumentUtil.getValue(doc, "key3", Integer.class)); L65: L66: doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999))); L67: assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class)); L68: } L69: L70: public void test_date() { L71: Map<String, Object> doc = new HashMap<>(); L72:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4K bytes -
StorageTests.java
getItemEndpointSuffix() { L61: return ITEM_ENDPOINT_SUFFIX; L62: } L63: L64: @Override L65: protected Map<String, Object> createTestParam(int id) { L66: final Map<String, Object> requestBody = new HashMap<>(); L67: return requestBody; L68: } L69: L70: @Override L71: protected Map<String, Object> getUpdateMap() { L72: final Map<String, Object> updateMap = new HashMap<>(); L73: return updateMap; L74: } L75: L76: @AfterEach L77: protected void tearDown()...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes -
SearchApiTests.java
deleteLabel(labelId); L92: deleteLabel(crawlLabelId); L93: L94: final List<Map<String, Object>> jobLogList = readJobLog(NAME_PREFIX); L95: for (Map<String, Object> elem : jobLogList) { L96: deleteMethod("/api/admin/joblog/log/" + elem.get("id")); L97: } L98: L99: final List<Map<String, Object>> crawlingInfoList = readCrawlingInfo(fileConfigId); L100: for (Map<String, Object> elem : crawlingInfoList) { L101: deleteMethod("/api/admin/crawlinginfo/log/"...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 18.6K bytes -
ParamMap.java
} L63: L64: @Override L65: public boolean containsKey(final Object key) { L66: if (parent.containsKey(key)) { L67: return true; L68: } L69: return parent.containsKey(toCamelCase(key)); L70: } L71: L72: @Override L73: public boolean containsValue(final Object value) { L74: return parent.containsValue(value); L75: } L76: L77: @Override L78: public V get(final Object key) { L79: final V value = parent.get(key); L80: if (value...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.3K bytes -
DataStoreParams.java
boolean containsKey(final String key) { L69: return params.containsKey(key); L70: } L71: L72: public Map<String, Object> asMap() { L73: return new ParamMap<>(new HashMap<>(getDataMap(params))); L74: } L75: L76: protected static Map<String, Object> getDataMap(final Map<String, Object> params) { L77: if (params instanceof final ParamMap<String, Object> paramMap) { L78: return paramMap.getParent(); L79: } L80: return params; L81: } L82:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes -
DataConfigTests.java
return LIST_ENDPOINT_SUFFIX; L53: } L54: L55: @Override L56: protected String getItemEndpointSuffix() { L57: return ITEM_ENDPOINT_SUFFIX; L58: } L59: L60: @Override L61: protected Map<String, Object> createTestParam(int id) { L62: final Map<String, Object> requestBody = new HashMap<>(); L63: final String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: final String handlerName = "DatabaseDataStore"; L66: reque...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
BsRelatedQueryCQ.java
setCreatedBy_GreaterThan(String createdBy) { L333: setCreatedBy_GreaterThan(createdBy, null); L334: } L335: L336: public void setCreatedBy_GreaterThan(String createdBy, ConditionOptionCall<RangeQueryBuilder> opLambda) { L337: final Object _value = createdBy; L338: RangeQueryBuilder builder = regRangeQ("createdBy", ConditionKey.CK_GREATER_THAN, _value); L339: if (opLambda != null) { L340: opLambda.callback(builder); L341: } L342: } L343: L344: public...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 57.5K bytes -
BsRequestHeaderCQ.java
setCreatedBy_GreaterThan(String createdBy) { L333: setCreatedBy_GreaterThan(createdBy, null); L334: } L335: L336: public void setCreatedBy_GreaterThan(String createdBy, ConditionOptionCall<RangeQueryBuilder> opLambda) { L337: final Object _value = createdBy; L338: RangeQueryBuilder builder = regRangeQ("createdBy", ConditionKey.CK_GREATER_THAN, _value); L339: if (opLambda != null) { L340: opLambda.callback(builder); L341: } L342: } L343: L344: public...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 57.2K bytes