Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getJsonPath (0.24 sec)

  1. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
            return JsonPath.from(response).getList(getJsonPath() + "." + prop);
        }
    
        protected String getJsonPath() {
            return "response." + getListEndpointSuffix() + ".findAll {it." + getKeyProperty() + ".startsWith(\"" + getNamePrefix() + "\")}";
        }
    
        protected Map<String, Object> createSearchBody(final int size) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

                    dictId = item.get("id");
                    return;
                }
            }
    
            fail();
        }
    
        @Override
        protected String getJsonPath() {
            return "response." + LIST_ENDPOINT_SUFFIX + ".findAll {it." + getKeyProperty() + ".startsWith(\"" + getNamePrefix() + "\")}";
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

            searchBody.put("size", NUM * 2);
            String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString();
            List<Map<String, String>> attrList = JsonPath.from(response).getList(getJsonPath() + ".attributes");
            assertEquals(NUM, attrList.size());
            for (Map<String, String> attr : attrList) {
                assertTrue(attr.containsKey("gidNumber"));
                assertEquals(attr.get("gidNumber"), "100");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top