- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for testObjects (0.23 sec)
-
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go
roleBindings[roleBinding.Name] = &roleBinding } for _, name := range names.List() { list.Items = append(list.Items, roleBindings[name]) } testObjects(t, list, "controller-role-bindings.yaml") } func testObjects(t *testing.T, list *api.List, fixtureFilename string) { filename := filepath.Join("testdata", fixtureFilename) expectedYAML, err := os.ReadFile(filename) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:45:31 UTC 2023 - 9.5K bytes - Viewed (0) -
pilot/pkg/config/kube/ingress/status_test.go
Namespace: IngressNamespace, }, Status: corev1.ServiceStatus{ LoadBalancer: corev1.LoadBalancerStatus{ Ingress: []corev1.LoadBalancerIngress{{ IP: serviceIP, }}, }, }, } var testObjects = []runtime.Object{ &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "ingressgateway", Namespace: "istio-system", Labels: map[string]string{ "istio": "ingressgateway", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
t.Fatalf("embedded error.Error not found") } // original and embedded Error object should be identical if orig != embed { t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed) } } var testObjects = []struct { src string obj string want string alias bool // needs materialized aliases }{ {"import \"io\"; var r io.Reader", "r", "var p.r io.Reader", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/go/types/object_test.go
t.Fatalf("embedded error.Error not found") } // original and embedded Error object should be identical if orig != embed { t.Fatalf("%s (%p) != %s (%p)", orig, orig, embed, embed) } } var testObjects = []struct { src string obj string want string alias bool // needs materialized aliases }{ {"import \"io\"; var r io.Reader", "r", "var p.r io.Reader", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{ VersioningEnabled: true, }) if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } } var err error testObjects := []struct { parentBucket string name string content string meta map[string]string addDeleteMarker bool }{ {testBuckets[0], "unique/folder/", "", nil, true},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
src/go/parser/parser_test.go
t.Errorf("rhs %s has Obj, should not", id.Name) } } for _, id := range as.Names { if id.Obj == nil { t.Errorf("lhs %s does not have Obj, should", id.Name) } } } func TestObjects(t *testing.T) { const src = ` package p import fmt "fmt" const pi = 3.14 type T struct{} var x int func f() { L: } ` f, err := ParseFile(token.NewFileSet(), "", src, 0) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicDomainObjectContainerBaseTest.groovy
@Override protected TestObject doCreate(String name) { def testObject = new TestObject(instantiator) testObject.name = name testObject } @Override protected <U extends TestObject> U doCreate(String name, Class<U> type) { throw new UnsupportedOperationException("doCreate") } @Override Set<? extends Class<? extends TestObject>> getCreateableTypes() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 05 20:02:22 UTC 2018 - 1.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
.contains( "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to " + "TestObject{group=1, item=1} [group 1, item 1]"); return; } fail(); } public void testTest_transitive() { Object group1Item1 = new TestObject(1, 1); Object group1Item2 = new TestObject(1, 2); Object group1Item3 = new TestObject(1, 3);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
.contains( "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to " + "TestObject{group=1, item=1} [group 1, item 1]"); return; } fail(); } public void testTest_transitive() { Object group1Item1 = new TestObject(1, 1); Object group1Item2 = new TestObject(1, 2); Object group1Item3 = new TestObject(1, 3);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go
) type testObject struct { gvk schema.GroupVersionKind } func (d *testObject) GetObjectKind() schema.ObjectKind { return d } func (d *testObject) SetGroupVersionKind(gvk schema.GroupVersionKind) { d.gvk = gvk } func (d *testObject) GroupVersionKind() schema.GroupVersionKind { return d.gvk } func (d *testObject) DeepCopyObject() runtime.Object {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 8.9K bytes - Viewed (0)