- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 483 for testCases (0.23 sec)
-
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy
new XCTestSourceFileElement("NormalTestSuite") { List<XCTestCaseElement> testCases = [ passingTestCase("testExpectedTestName")] }, new XCTestSourceFileElement("SpecialCharsTestSuite") { List<XCTestCaseElement> testCases = [ passingTestCase("test_name_with_leading_underscore"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 20.8K bytes - Viewed (0) -
pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go
}, } test(t, true /* addNodeInfo */, testcases) } func generateVolumeLimits(i int32) *storage.VolumeNodeResources { return &storage.VolumeNodeResources{ Count: utilpointer.Int32Ptr(i), } } // TestUninstallCSIDriver tests UninstallCSIDriver with various existing Node and/or CSINode objects. func TestUninstallCSIDriver(t *testing.T) { testcases := []testcase{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 17 02:02:59 UTC 2022 - 34.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token_test.go
fakeClient.AddReactor("get", "secrets", func(action core.Action) (handled bool, ret runtime.Object, err error) { return true, nil, apierrors.NewNotFound(v1.Resource("secrets"), "foo") }) testCases := []struct { name string token string usages []string extraGroups []string printJoin bool expectedError bool }{ { name: "valid: empty token",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go
func TestPretty(t *testing.T) { tcs := customString("test") tpcs := pCustomString("&test") tce := customError(0) tpce := pCustomError(0) teb := embed{"test"} tebw := embedwrap{teb, &teb} testCases := []struct { a interface{} want string }{ {int8(93), "(int8) 93\n"}, {int16(93), "(int16) 93\n"}, {int32(93), "(int32) 93\n"}, {int64(93), "(int64) 93\n"}, {int(-93), "(int) -93\n"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 10.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_linux_test.go
func TestMakeMounts(t *testing.T) { bTrue := true propagationHostToContainer := v1.MountPropagationHostToContainer propagationBidirectional := v1.MountPropagationBidirectional propagationNone := v1.MountPropagationNone testCases := map[string]struct { container v1.Container podVolumes kubecontainer.VolumeMap supportsRRO bool expectErr bool expectedErrMsg string expectedMounts []kubecontainer.Mount }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 18:00:59 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/kubelet/config/http_test.go
Spec: v1.PodSpec{ Containers: []v1.Container{{Name: "_INVALID_"}}, }, }, }, } for _, testCase := range testCases { data, err := json.Marshal(testCase.pod) if err != nil { t.Fatalf("%s: Some weird json problem: %v", testCase.desc, err) } fakeHandler := utiltesting.FakeHandler{ StatusCode: http.StatusOK, ResponseBody: string(data), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go
} }) } } func TestMemoryEqual(t *testing.T) { testcases := []struct { a interface{} b interface{} }{ {apiextensions.JSONSchemaProps{}.XValidations, JSONSchemaProps{}.XValidations}, } for _, tc := range testcases { aType := reflect.TypeOf(tc.a) bType := reflect.TypeOf(tc.b) t.Run(aType.String(), func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
return controller, podInformer, nodeInformer } func TestGCTerminated(t *testing.T) { type nameToPhase struct { name string phase v1.PodPhase reason string } testCases := []struct { name string pods []nameToPhase threshold int deletedPodNames sets.Set[string]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux_test.go
// Execute is part of request interface. func (fr *fakeRequest) Execute(_ int, _ uint16) ([][]byte, error) { return fr.response, fr.err } func TestRunner_Add(t *testing.T) { testCases := []struct { name string counterName string handler *fakeHandler err error netlinkCalls int }{ { name: "valid", counterName: "metric-1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 18.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go
"sigs.k8s.io/yaml" ) type FilterNullTestCases struct { TestCases []FilterNullTestCase } type FilterNullTestCase struct { Description string OriginalObj map[string]interface{} ExpectedWithNull map[string]interface{} ExpectedWithoutNull map[string]interface{} } var filterNullTestCaseData = []byte(` testCases: - description: nil original originalObj: {} expectedWithNull: {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 14.8K bytes - Viewed (0)