Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for findAll (0.22 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. 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<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. fastapi/utils.py

            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> Set[str]:
        return set(re.findall("{(.*?)}", path))
    
    
    def create_response_field(
        name: str,
        type_: Type[Any],
        class_validators: Optional[Dict[str, Validator]] = None,
        default: Optional[Any] = Undefined,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K 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<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. 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<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         */
        @JvmStatic
        fun decode(certificateAndPrivateKeyPem: String): HeldCertificate {
          var certificatePem: String? = null
          var pkcs8Base64: String? = null
          for (match in PEM_REGEX.findAll(certificateAndPrivateKeyPem)) {
            when (val label = match.groups[1]!!.value) {
              "CERTIFICATE" -> {
                require(certificatePem == null) { "string includes multiple certificates" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  9. 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{}{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top