- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for expectedCases (0.14 sec)
-
pkg/kubelet/server/server_test.go
fw := newServerTest() defer fw.testHTTPServer.Close() // method:path -> has coverage expectedCases := map[string]bool{} // Test all the non-web-service handlers for _, path := range fw.serverUnderTest.restfulCont.RegisteredHandlePaths() { expectedCases["GET:"+path] = false expectedCases["POST:"+path] = false } // Test all the generated web-service paths
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
switch tt.object.(type) { case *v1.Pod: if _, ok := v.Object.(*v1.Pod); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" { t.Errorf("unexpected info: %v", dump.Pretty(v.Object)) } case *v1.ReplicationController: if _, ok := v.Object.(*v1.ReplicationController); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" { t.Errorf("unexpected info: %v", dump.Pretty(v.Object)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0)