Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for nonexistent1 (0.21 sec)

  1. src/cmd/go/testdata/script/clean_testcache.txt

    # if the cache directory doesn't exist at all.
    # It should not write a testexpire.txt file, since there are no
    # test results that need to be invalidated in the first place.
    env GOCACHE=$WORK/nonexistent
    go clean -testcache
    ! exists $WORK/nonexistent
    
    -- x/x_test.go --
    package x_test
    import (
        "testing"
    )
    func TestMain(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 680 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial005_an.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    def test_incorrect_token_type():
        response = client.get(
            "/users/me", headers={"Authorization": "Notexistent testtoken"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue55889.go

    // as noops. Ensure that modules that contain these directives (e.g.,
    // x/sys prior to go.dev/cl/274573) continue to compile.
    
    package p
    
    import _ "unsafe"
    
    //go:linkname nonexistent nonexistent
    
    //go:linkname constant constant
    const constant = 42
    
    //go:linkname typename typename
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 20:35:31 UTC 2022
    - 562 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    go test -coverpkg=example/foo example/foo
    stdout 'coverage: 50.0% of statements in example/foo'
    
    # Try to ask for coverage of a package that doesn't exist.
    go test -coverpkg nonexistent example/bar
    stderr 'no packages being tested depend on matches for pattern nonexistent'
    stdout 'coverage: \[no statements\]'
    
    # Ask for foo coverage, but test bar.
    go test -coverpkg=example/foo example/bar
    stdout 'coverage: 50.0% of statements in example/foo'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

            "email": "******@****.***",
            "disabled": False,
        }
    
    
    @needs_py39
    def test_incorrect_token(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py39
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial005_py310.py

            "email": "******@****.***",
            "disabled": False,
        }
    
    
    @needs_py310
    def test_incorrect_token(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py310
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_py39.py

            "email": "******@****.***",
            "disabled": False,
        }
    
    
    @needs_py39
    def test_incorrect_token(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py39
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/PropertyReportTaskIntegrationTest.groovy

            outputDoesNotContain 'org.gradle.api'
        }
    
        def "lists unavailable project property"() {
            when:
            run "properties", "-q", "--property=nonexistent"
            then:
            outputContains 'nonexistent: null'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 15 16:48:28 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/BasicCallInterceptionTest.groovy

            "non-existent-method"   | "Groovy callsite"         | { it.nonExistent(null) }                  | false          | "nonExistent(String)-non-existent"
    
            "no argument"           | "Groovy dynamic dispatch" | { test() }                                | true           | "test()"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial005.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    def test_incorrect_token_type():
        response = client.get(
            "/users/me", headers={"Authorization": "Notexistent testtoken"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top