Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for findAll (0.07 sec)

  1. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

                    return;
                }
            }
    
            fail();
        }
    
        @Override
        protected String getJsonPath() {
            return "response." + LIST_ENDPOINT_SUFFIX + ".findAll {it." + getKeyProperty() + ".startsWith(\"" + getNamePrefix() + "\")}";
        }
    
        @Override
        protected List<String> getIdList(final Map<String, Object> body) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            searchBody.put("name", "test_webconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
        void deleteWebConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            searchBody.put("name", "test_webconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
        void deleteWebConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            searchBody.put("name", "test_fileconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/fileconfig/settings").asString();
            List<String> fileConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_fileconfig\")}.id");
            return fileConfigList.get(0);
        }
    
        @AfterEach
        void deleteFileConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return idList;
        }
    
        protected static String getResponsePath(final String namePrefix) {
            return "response.settings.findAll {it.name.startsWith(\"" + namePrefix + "\")}";
        }
    
        protected static String getJsonResponse(final String path) {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            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) {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. tests/query_test.go

    	if err := DB.Where("name = ?", "find").Find(&all).Error; err != nil || len(all) != 3 {
    		t.Errorf("errors happened when query find: %v, length: %v", err, len(all))
    	} else {
    		for idx, user := range users {
    			t.Run("FindAll#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, all[idx], user)
    			})
    		}
    	}
    
    	t.Run("FirstMap", func(t *testing.T) {
    		first := map[string]interface{}{}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
Back to top