- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 110 for getDst (0.05 seconds)
-
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.getString("response.id"); } protected static List<String> getWebConfigIds(final String namePrefix) { final String response = getJsonResponse("/api/admin/webconfig/settings"); final List<String> idList = JsonPath.from(response).getList(getResponsePath(namePrefix) + ".id"); return idList; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java
.when() .get("/api/v1/suggest-words") .asString(); JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getInt("record_count") >= 0); List<Object> data = jsonPath.getList("data"); if (data != null) { assertTrue(data.size() <= 5, "Number of results should be at most 5"); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString(); JsonPath jsonPath = JsonPath.from(response); assertEquals(0, jsonPath.getInt("response.status")); List<Map<String, Object>> logs = jsonPath.getList("response.logs"); assertTrue(logs.size() >= 1); // Test with pagination searchBody.put("size", 10); searchBody.put("page", 1);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java
JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getInt("record_count") >= 0); // data is an array of strings assertTrue(jsonPath.getList("data") != null); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java
JsonPath jsonPath = JsonPath.from(searchResponse); String queryId = jsonPath.getString("query_id"); List<Map<String, Object>> docs = jsonPath.getList("data"); if (docs != null && !docs.isEmpty()) { String docId = docs.get(0).get("doc_id").toString(); // Set favorite Map<String, String> params = new HashMap<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > 0); List<Map<String, Object>> docs = JsonPath.from(response).getList("data"); for (Map<String, Object> doc : docs) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java
JsonPath jsonPath = JsonPath.from(response); int recordCount = jsonPath.getInt("record_count"); assertTrue(recordCount >= 0, "Record count should be >= 0"); if (recordCount > 0) { List<Map<String, Object>> labels = jsonPath.getList("data"); assertTrue(labels != null, "Data should not be null when labels exist"); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
String response = checkGetMethod(searchBody, "").asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, dicts.size()); assertEquals(0, status); } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java
List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs"); logger.info("Page 1: {}", page1); // Get second page searchBody.put("page", 2); response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs"); logger.info("Page 2: {}", page2);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/JobLogTests.java
List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs"); logger.info("Page 1: {}", page1); // Get second page searchBody.put("page", 2); response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs"); logger.info("Page 2: {}", page2);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 9.9K bytes - Click Count (0)