- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TestSchema (0.46 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/TestSchema.kt
Paul Merlin <******@****.***> 1707261419 +0100
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 23:16:59 UTC 2024 - 443 bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
}, Origin: fakeOrigin{}, }, }, } a := ValidationAnalyzer{s: testSchema} a.Analyze(ctx) } func TestSchemaValidationWrapper(t *testing.T) { testCol := gvk.VirtualService m1 := &v1alpha3.VirtualService{} m2 := &v1alpha3.VirtualService{} m3 := &v1alpha3.VirtualService{} testSchema := schemaWithValidateFn(func(cfg config.Config) (warnings validation.Warning, errs error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
"google.golang.org/protobuf/proto" "k8s.io/apiextensions-apiserver/pkg/apiserver/schema" apiservercel "k8s.io/apiserver/pkg/cel" ) func TestSchemaDeclType(t *testing.T) { ts := testSchema() cust := SchemaDeclType(ts, false) if cust.TypeName() != "object" { t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName()) } if len(cust.Fields) != 4 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go
"google.golang.org/protobuf/proto" apiservercel "k8s.io/apiserver/pkg/cel" "k8s.io/kube-openapi/pkg/validation/spec" ) func TestSchemaDeclType(t *testing.T) { ts := testSchema() cust := SchemaDeclType(ts, false) if cust.TypeName() != "object" { t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName()) } if len(cust.Fields) != 4 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 17:18:27 UTC 2022 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go
apiservercel "k8s.io/apiserver/pkg/cel" ) func TestTypes_RuleTypesFieldMapping(t *testing.T) { stdEnv, _ := cel.NewEnv() rt := apiservercel.NewDeclTypeProvider(SchemaDeclType(testSchema(), true).MaybeAssignTypeName("CustomObject")) nestedFieldType, found := rt.FindFieldType("CustomObject", "nested") if !found { t.Fatal("got field not found for 'CustomObject.nested', wanted found") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy
import static org.gradle.util.AttributeTestUtil.attributes import static org.gradle.util.TestUtil.objectFactory class DefaultAttributeMatcherTest extends Specification { def schema = new TestSchema() def factory = AttributeTestUtil.attributesFactory() def explanationBuilder = Stub(AttributeMatchingExplanationBuilder) def "selects candidate with same set of attributes and whose values match"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 24.8K bytes - Viewed (0)