Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 93 for Hellox (0.08 sec)

  1. tests/test_tutorial/test_bigger_applications/test_main_an.py

            }
        )
    
    
    def test_root_token_jessica(client: TestClient):
        response = client.get("/?token=jessica")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello Bigger Applications!"}
    
    
    def test_root_with_no_token(client: TestClient):
        response = client.get("/")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. src/runtime/hash_test.go

    	}
    	// Reset for reuse
    	s.list = s.list[:0]
    }
    
    // a string plus adding zeros must make distinct hashes
    func TestSmhasherAppendedZeros(t *testing.T) {
    	s := "hello" + strings.Repeat("\x00", 256)
    	h := newHashSet()
    	for i := 0; i <= len(s); i++ {
    		h.addS(s[:i])
    	}
    	h.check(t)
    }
    
    // All 0-3 byte strings have distinct hashes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    ### Revísalo
    
    Abre tu navegador en <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Verás la respuesta en JSON:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Documentación interactiva de la API
    
    Ahora dirígete a <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_bigger_applications/test_main.py

            }
        )
    
    
    def test_root_token_jessica(client: TestClient):
        response = client.get("/?token=jessica")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello Bigger Applications!"}
    
    
    def test_root_with_no_token(client: TestClient):
        response = client.get("/")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

        def setup() {
            buildFile """
                class UnspecifiedCacheabilityTask extends DefaultTask {
                    @Input
                    String message = "Hello World"
                    @OutputFile
                    File outputFile = new File(temporaryDir, "output.txt")
    
                    @TaskAction
                    void generate() {
                        outputFile.text = message
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                    }
                }
    
                task consumer {
                    def inputFile = file("output.txt")
                    inputs.files(inputFile)
                    doLast {
                        println "Hello " + inputFile.text
                    }
                }
            """
    
            when:
            runAndFail("producer", "consumer")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/aggregate/controller_test.go

    				svc.ClusterVIPs.Addresses, ClusterVIPs[svc.Hostname])
    		}
    	}
    
    	// check HelloService is not mutated
    	if !reflect.DeepEqual(originalHelloService, mock.HelloService) {
    		t.Errorf("Original hello service is mutated")
    	}
    }
    
    func TestServices(t *testing.T) {
    	aggregateCtl := buildMockController()
    	// List Services from aggregate controller
    	services := aggregateCtl.Services()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/net/http/request_test.go

    // verify that NewRequest sets Request.GetBody and that it works
    func TestNewRequestGetBody(t *testing.T) {
    	tests := []struct {
    		r io.Reader
    	}{
    		{r: strings.NewReader("hello")},
    		{r: bytes.NewReader([]byte("hello"))},
    		{r: bytes.NewBuffer([]byte("hello"))},
    	}
    	for i, tt := range tests {
    		req, err := NewRequest("POST", "http://foo.tld/", tt.r)
    		if err != nil {
    			t.Errorf("test[%d]: %v", i, err)
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. src/runtime/crash_test.go

    	}()
    	fn()
    	return
    }
    
    func TestPanicAfterGoexit(t *testing.T) {
    	// an uncaught panic should still work after goexit
    	output := runTestProg(t, "testprog", "PanicAfterGoexit")
    	want := "panic: hello"
    	if !strings.HasPrefix(output, want) {
    		t.Fatalf("output does not start with %q:\n%s", want, output)
    	}
    }
    
    func TestRecoveredPanicAfterGoexit(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

       * that tests equivalence using their lengths:
       *
       * <pre>{@code
       * equiv.wrap("a").equals(equiv.wrap("b")) // true
       * equiv.wrap("a").equals(equiv.wrap("hello")) // false
       * }</pre>
       *
       * <p>Note in particular that an equivalence wrapper is never equal to the object it wraps.
       *
       * <pre>{@code
       * equiv.wrap(obj).equals(obj) // always false
       * }</pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top