Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for test_pvc (0.35 sec)

  1. pkg/apis/core/validation/validation_test.go

    		claimSpec: *testDataSourceInSpec("test_snapshot", "VolumeSnapshot", "snapshot.storage.k8s.io"),
    	}, {
    		testName:  "test create from valid pvc source",
    		claimSpec: *testDataSourceInSpec("test_pvc", "PersistentVolumeClaim", ""),
    	}, {
    		testName:     "test missing name in snapshot datasource should fail",
    		claimSpec:    *testDataSourceInSpec("", "VolumeSnapshot", "snapshot.storage.k8s.io"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

      // You can implement all the usual class fixture members here.
    };
    
    // Then, use the TEST_P macro to define as many parameterized tests
    // for this fixture as you want. The _P suffix is for "parameterized"
    // or "pattern", whichever you prefer to think.
    
    TEST_P(FooTest, DoesBlah) {
      // Inside a test, access the test parameter with the GetParam() method
      // of the TestWithParam<T> class:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

        response = client.put("/items/foo", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    @needs_py39
    def test_put(client: TestClient):
        response = client.put(
            "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one_test.go

    	queuedPodStore.Add(pod)
    	scache := internalcache.New(ctx, 10*time.Minute)
    	scache.AddNode(logger, &testNode)
    	testPVC := v1.PersistentVolumeClaim{ObjectMeta: metav1.ObjectMeta{Name: "testPVC", Namespace: pod.Namespace, UID: types.UID("testPVC")}}
    	client := clientsetfake.NewSimpleClientset(&testNode, &testPVC)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/helpers_test.go

    	}
    }
    
    func TestStableKey(t *testing.T) {
    	container := &v1.Container{
    		Name:  "test_container",
    		Image: "foo/image:v1",
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test_pod",
    			Namespace: "test_pod_namespace",
    			UID:       "test_pod_uid",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{*container},
    		},
    	}
    	oldKey := getStableKey(pod, container)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_bigger_applications/test_main_an.py

        response = client.put("/items/foo", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

      // You can implement all the usual class fixture members here.
    };
    
    // Then, use the TEST_P macro to define as many parameterized tests
    // for this fixture as you want. The _P suffix is for "parameterized"
    // or "pattern", whichever you prefer to think.
    
    TEST_P(FooTest, DoesBlah) {
      // Inside a test, access the test parameter with the GetParam() method
      // of the TestWithParam<T> class:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 74.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.put("/items/foo", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/check_test.go

    	}()
    	buildcfg.Experiment.RangeFunc = true
    
    	DefPredeclaredTestFuncs()
    	testDirFiles(t, "../../../../internal/types/testdata/check", 50, false) // TODO(gri) narrow column tolerance
    }
    func TestSpec(t *testing.T) { testDirFiles(t, "../../../../internal/types/testdata/spec", 20, false) } // TODO(gri) narrow column tolerance
    func TestExamples(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/go/types/check_test.go

    	defer func() {
    		buildcfg.Experiment.RangeFunc = old
    	}()
    	buildcfg.Experiment.RangeFunc = true
    
    	DefPredeclaredTestFuncs()
    	testDirFiles(t, "../../internal/types/testdata/check", false)
    }
    func TestSpec(t *testing.T)      { testDirFiles(t, "../../internal/types/testdata/spec", false) }
    func TestExamples(t *testing.T)  { testDirFiles(t, "../../internal/types/testdata/examples", false) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top