Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 155 for testhost (0.3 sec)

  1. pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Store)
    	test.TestGet(validNewHorizontalPodAutoscaler("foo"))
    }
    
    func TestList(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	test.TestList(validNewHorizontalPodAutoscaler("foo"))
    }
    
    func TestWatch(t *testing.T) {
    	storage, _, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidInstallationWarningReporterTest.groovy

        }
    
        def 'reporter logs meaningful message'() {
            given:
            def reporter = new InvalidInstallationWarningReporter(mockLogger)
            def location = InstallationLocation.userDefined(new File("testHome"), "test")
            def metadata = Mock(JvmInstallationMetadata) {
                isValidInstallation() >> false
            }
    
            when:
            reporter.accept(location, metadata)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py

    @pytest.fixture(name="client")
    def get_client():
        from docs_src.path_operation_advanced_configuration.tutorial007_pv1 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv1
    def test_post(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.path_operation_advanced_configuration.tutorial007 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_post(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_handling_errors/test_tutorial005.py

                        "type": "type_error.integer",
                    }
                ],
                "body": {"title": "towel", "size": "XL"},
            }
        )
    
    
    def test_post():
        data = {"title": "towel", "size": 5}
        response = client.post("/items/", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_openapi_schema():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. pkg/registry/core/resourcequota/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Store)
    	test.TestGet(validNewResourceQuota())
    }
    
    func TestList(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	test.TestList(validNewResourceQuota())
    }
    
    func TestWatch(t *testing.T) {
    	storage, _, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/authentication/AuthenticationInternal.java

        interface HostAndPort {
    
            /**
             * The hostname that the credentials are required for.
             *
             * null means "any host"
             */
            String getHost();
    
            /**
             * The port that the credentials are required for
             *
             * -1 means "any port"
             */
            int getPort();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 02 16:02:39 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/cgo_test.go

    func TestCallbackStack(t *testing.T)         { testCallbackStack(t) }
    func TestCflags(t *testing.T)                { testCflags(t) }
    func TestCheckConst(t *testing.T)            { testCheckConst(t) }
    func TestConst(t *testing.T)                 { testConst(t) }
    func TestCthread(t *testing.T)               { testCthread(t) }
    func TestEnum(t *testing.T)                  { testEnum(t) }
    func TestNamedEnum(t *testing.T)             { testNamedEnum(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    			test.TestGet(b)
    		})
    	}
    }
    
    func TestList(t *testing.T) {
    	for _, b := range validPolicyBindings() {
    		t.Run(b.Name, func(t *testing.T) {
    			storage, server := newInsecureStorage(t)
    			defer server.Terminate(t)
    			defer storage.Store.DestroyFunc()
    			test := genericregistrytest.New(t, storage.Store).ClusterScope()
    			test.TestList(b)
    		})
    	}
    }
    
    func TestDelete(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. pkg/registry/batch/job/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Job.Store)
    	test.TestGet(validNewJob())
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Job.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Job.Store)
    	test.TestList(validNewJob())
    }
    
    func TestWatch(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top