Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getPropList (0.29 sec)

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

            return JsonPath.from(response).getList(getJsonPath());
        }
    
        protected List<String> getIdList(final Map<String, Object> body) {
            return getPropList(body, getIdKey());
        }
    
        protected List<String> getPropList(final Map<String, Object> body, final String prop) {
            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            return updateMap;
        }
    
        @Override
        protected void checkUpdate() {
            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            List<String> updatedList = getPropList(searchBody, "permissions");
            for (String val : updatedList) {
                assertEquals(val, "{role}admin-api2");
            }
        }
    
        private void testPermission() {
            // Create access token
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/RoleTests.java

            return requestBody;
        }
    
        @Override
        protected void checkUpdate() {
            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            List<String> valueList = getPropList(searchBody, KEY_PROPERTY);
            for (String value : valueList) {
                assertTrue(value.endsWith(NEW_SUFFIX));
            }
        }
    
        @Test
        void crudTest() {
            testCreate();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top