Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for findAll (0.05 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        def transformWebsiteLinks(Document doc) {
            findAll(doc, 'ulink').each { Element element ->
                String url = element.'@url'
                if (url.startsWith('website:')) {
                    url = url.substring(8)
                    url = "${websiteUrl.get()}/${url}"
                    element.setAttribute('url', url)
                }
            }
        }
    
        static def findAll(Document doc, String byName) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K 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<>();
    Registered: Thu Oct 31 13:40:30 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/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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

    def mainApiChangesJsonFile = apiChangesJsonDirectory.file("accepted-public-api-changes.json")
    def acceptedViolations = AcceptedApiChanges.parse(apiChangesJsonDirectory.asFile.listFiles()
        .findAll { it.name.endsWith(".json") }
        .collect { providers.fileContents(apiChangesJsonDirectory.file(it.name)).asText.get() }
    )
    
    def compatibilityBaselineVersion = moduleIdentity.releasedVersions.get().mostRecentRelease.version
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. 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_model_field(
        name: str,
        type_: Any,
        class_validators: Optional[Dict[str, Validator]] = None,
        default: Optional[Any] = Undefined,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 23:46:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top