- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TestCompatibility (0.3 sec)
-
pkg/api/testing/compat/compatibility_tester.go
"k8s.io/kubernetes/pkg/api/legacyscheme" ) // TestCompatibility reencodes the input using the codec for the given // version and checks for the presence of the expected keys and absent // keys in the resulting JSON. // Based on: https://github.com/openshift/origin/blob/master/pkg/api/compatibility_test.go func TestCompatibility( t *testing.T, version schema.GroupVersion, input []byte,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 20 22:26:16 UTC 2019 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/roundtrip_test.go
_ "k8s.io/apimachinery/pkg/runtime/serializer" ) var groups = []runtime.SchemeBuilder{ apiextensionv1.SchemeBuilder, apiextensionv1beta1.SchemeBuilder, } func TestCompatibility(t *testing.T) { scheme := runtime.NewScheme() for _, builder := range groups { require.NoError(t, builder.AddToScheme(scheme)) } opts := roundtrip.NewCompatibilityTestOptions(scheme)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 19:12:59 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc
contents.c_str()); return false; } return true; } // Checks to make sure current schema in current code does not cause an // incompatibility. TEST(SchemaTest, TestCompatibility) { // Read file contents of schemas into strings // TODO(aselle): Need a reliable way to load files. std::string base_contents, current_contents; const char *base_filename = TFLITE_TF_PREFIX
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/api/testing/backward_compatibility_test.go
} for _, tc := range cases { t.Logf("Testing 1.0.0 backward compatibility for %v", tc.name) compat.TestCompatibility(t, v1.SchemeGroupVersion, []byte(tc.input), validator, tc.expectedKeys, tc.absentKeys) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 01 18:45:58 UTC 2021 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/api/roundtrip_test.go
fuzzer := fuzzer.FuzzerFor(genericfuzzer.Funcs, rand.NewSource(seed), codecs) roundtrip.RoundTripExternalTypes(t, scheme, codecs, fuzzer, nil) } func TestCompatibility(t *testing.T) { scheme := runtime.NewScheme() for _, builder := range groups { require.NoError(t, builder.AddToScheme(scheme)) } roundtrip.NewCompatibilityTestOptions(scheme).Complete(t).Run(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 5.9K bytes - Viewed (0)