- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 107 for testCode (0.24 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/apitesting/codec.go
"k8s.io/apimachinery/pkg/runtime/serializer/recognizer" ) var ( testCodecMediaType string testStorageCodecMediaType string ) // TestCodec returns the codec for the API version to test against, as set by the // KUBE_TEST_API_TYPE env var. func TestCodec(codecs runtimeserializer.CodecFactory, gvs ...schema.GroupVersion) runtime.Codec { if len(testCodecMediaType) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 01 19:31:12 UTC 2018 - 3.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h
typedef gtest_TypeParam_ TypeParam; \ virtual void TestBody(); \ }; \ static bool gtest_##TestName##_defined_ GTEST_ATTRIBUTE_UNUSED_ = \ GTEST_TYPED_TEST_CASE_P_STATE_(CaseName).AddTestName(\ __FILE__, __LINE__, #CaseName, #TestName); \ } \ template <typename gtest_TypeParam_> \ void GTEST_CASE_NAMESPACE_(CaseName)::TestName<gtest_TypeParam_>::TestBody() # define REGISTER_TYPED_TEST_CASE_P(CaseName, ...) \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 10K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
allClusterGVKs = helmreconciler.ClusterResources ) func init() { if kubeBuilderInstalled() { // TestMode is required to not wait in the go client for resources that will never be created in the test server. helmreconciler.TestMode = true // Add install and controller to the list of commands to run tests against. testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 20 22:39:28 UTC 2024 - 11.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h
typedef gtest_TypeParam_ TypeParam; \ virtual void TestBody(); \ }; \ static bool gtest_##TestName##_defined_ GTEST_ATTRIBUTE_UNUSED_ = \ GTEST_TYPED_TEST_CASE_P_STATE_(CaseName).AddTestName(\ __FILE__, __LINE__, #CaseName, #TestName); \ } \ template <typename gtest_TypeParam_> \ void GTEST_CASE_NAMESPACE_(CaseName)::TestName<gtest_TypeParam_>::TestBody() # define REGISTER_TYPED_TEST_CASE_P(CaseName, ...) \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10K bytes - Viewed (0) -
pkg/api/testing/fuzzer.go
obj := types[c.Rand.Intn(len(types))] c.Fuzz(obj) var codec runtime.Codec switch obj.(type) { case *apps.Deployment: codec = apitesting.TestCodec(codecs, appsv1.SchemeGroupVersion) default: codec = apitesting.TestCodec(codecs, v1.SchemeGroupVersion) } // Convert the object to raw bytes bytes, err := runtime.Encode(codec, obj) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go
withDeadline := func(handler http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { handler.ServeHTTP(w, req.WithContext(ctx)) }) } testDone := make(chan struct{}) defer close(testDone) ts := httptest.NewServer( withDeadline( WithTimeoutForNonLongRunningRequests( http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { // trigger the timeout
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 18.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
// Validate if !scenario.shouldFail && err != nil { t.Errorf("returned error: %v", err) } if scenario.shouldFail && err == nil { t.Error("returned success but expected error") } checkReasons(t, reasons, scenario.reasons) testEnv.validatePodCache(t, testNode.Name, scenario.pod, podVolumes, scenario.expectedBindings, nil) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/impl/iostream_test.cc
ASSERT_EQ(stream.str(), "0.375"); } TEST(OStreamTest, TestString) { String s("foo"); std::stringstream stream; stream << s; ASSERT_EQ(stream.str(), "foo"); } TEST(OStreamTest, TestNone) { std::stringstream stream; stream << None::GetInstance(); ASSERT_EQ(stream.str(), "None"); } TEST(OStreamTest, TestTensorSpec) { std::stringstream stream; TensorSpec tensor_spec;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 09:47:46 UTC 2024 - 2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
} func TestDryRunPreemption(t *testing.T) { tests := []struct { name string args *config.DefaultPreemptionArgs nodeNames []string testPods []*v1.Pod initPods []*v1.Pod registerPlugins []tf.RegisterPluginFunc pdbs []*policy.PodDisruptionBudget
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/runtime_helper_test.go
Raw: []byte(`{"kind":"Carp","apiVersion":"` + "v1" + `","metadata":{"name":"test"}}`), ContentType: runtime.ContentTypeJSON, }, }, } _, codecs := TestScheme() Codec := apitesting.TestCodec(codecs, testapigroup.SchemeGroupVersion) if errs := runtime.DecodeList(pl.Items, Codec); len(errs) != 0 { t.Fatalf("unexpected error %v", errs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 01 19:31:12 UTC 2018 - 1.5K bytes - Viewed (0)