Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for parseFrom (0.27 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy

                    <some.version>version-one</some.version>
                </properties>
            </profile>
        </profiles>
    </project>
    """
    
            when:
            parsePom()
    
            then:
            metadata.id == componentId('group-one', 'artifact-one', 'version-one')
            metadata.dependencies.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy

    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>group-one</groupId>
        <artifactId>artifact-one</artifactId>
        <version>my-version-20141012.121000-1</version>
    </project>
    """
    
            when:
            parsePom()
    
            then:
            metadata.id == componentId('group-one', 'artifact-one', 'my-version-SNAPSHOT')
        }
    
        def "Retrieves variables from parent"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 75.4K bytes
    - Viewed (0)
  3. src/net/http/request.go

    // application/x-www-form-urlencoded, the request Body is not read, and
    // r.PostForm is initialized to a non-nil, empty value.
    //
    // [Request.ParseMultipartForm] calls ParseForm automatically.
    // ParseForm is idempotent.
    func (r *Request) ParseForm() error {
    	var err error
    	if r.PostForm == nil {
    		if r.Method == "POST" || r.Method == "PUT" || r.Method == "PATCH" {
    			r.PostForm, err = parsePostForm(r)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/net/http/client_test.go

    		nonce        string // a unique per-request string
    		sawSlowNonce bool   // true if the handler saw /slow?nonce=<nonce>
    	)
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		_ = r.ParseForm()
    		if r.URL.Path == "/" {
    			Redirect(w, r, "/slow?nonce="+r.Form.Get("nonce"), StatusFound)
    			return
    		}
    		if r.URL.Path == "/slow" {
    			mu.Lock()
    			if r.Form.Get("nonce") == nonce {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top