- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestBind (0.41 sec)
-
pkg/flag/flag_test.go
// limitations under the License. package flag import ( "testing" "github.com/spf13/pflag" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" ) func TestBind(t *testing.T) { type Options struct { A, B, C string Env string Bool bool } opts := Options{ B: "b-def", } test.SetEnvForTest(t, "TEST_ENV", "from-env")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 1.2K bytes - Viewed (0) -
subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultTestDescriptor.java
this.operationDisplayName = operationDisplayName; this.testDisplayName = displayName; this.testKind = testKind; this.suiteName = suiteName; this.className = className; this.methodName = methodName; this.parentId = parentId; this.taskPath = taskPath; } @Override public OperationIdentifier getId() { return id; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 07:45:14 UTC 2024 - 3.1K bytes - Viewed (0) -
pilot/pkg/config/kube/crd/config_test.go
package crd_test import ( "encoding/json" "reflect" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/istio/pilot/pkg/config/kube/crd" "istio.io/istio/pkg/ptr" ) func TestKind(t *testing.T) { obj := crd.IstioKind{} spec := json.RawMessage(`{"a":"b"}`) obj.Spec = spec if got := obj.GetSpec(); !reflect.DeepEqual(spec, got) { t.Errorf("GetSpec() => got %v, want %v", got, spec) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 18:26:16 UTC 2024 - 1.8K bytes - Viewed (0)