- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 868 for EQUAL (0.08 sec)
-
pkg/url/url_test.go
"istio.io/istio/pkg/test/util/assert" ) func TestURL(t *testing.T) { assert.Equal(t, BaseURL, "https://istio.io/", "base url should be equal") assert.Equal(t, DocsURL, "https://istio.io/"+DocsVersion+"/docs/", "docs url should be equal") assert.Equal(t, OpsURL, "https://istio.io/"+DocsVersion+"/docs/ops/", "ops url should be equal") assert.Equal(t, DeploymentRequirements, "https://istio.io/"+DocsVersion+"/docs/ops/deployment/requirements/",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 11:12:37 UTC 2024 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers_test.go
req.Header.Set("Accept", accept) acceptWithReq := &lazyAccept{req} assert.Equal(t, accept, fmt.Sprintf("%v", acceptWithReq)) acceptWithoutReq := &lazyAccept{} assert.Equal(t, "unknown", fmt.Sprintf("%v", acceptWithoutReq)) } func TestLazyVerb(t *testing.T) { assert.Equal(t, "unknown", fmt.Sprintf("%v", &lazyVerb{})) u, _ := url.Parse("?watch=true") req := &http.Request{Method: "GET", URL: u}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 03 15:25:35 UTC 2023 - 5.4K bytes - Viewed (0) -
src/maps/maps_test.go
func TestEqual(t *testing.T) { if !Equal(m1, m1) { t.Errorf("Equal(%v, %v) = false, want true", m1, m1) } if Equal(m1, (map[int]int)(nil)) { t.Errorf("Equal(%v, nil) = true, want false", m1) } if Equal((map[int]int)(nil), m1) { t.Errorf("Equal(nil, %v) = true, want false", m1) } if !Equal[map[int]int, map[int]int](nil, nil) { t.Error("Equal(nil, nil) = false, want true") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 17:05:56 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/util/smallset/smallset_test.go
assert.Equal(t, set.List(), []string{"a", "b", "d"}) assert.Equal(t, nset.List(), []string{"a", "b", "c", "d", "z"}) assert.Equal(t, nset.Contains("a"), true) assert.Equal(t, nset.Contains("b"), true) assert.Equal(t, nset.Contains("c"), true) assert.Equal(t, nset.Contains("d"), true) assert.Equal(t, nset.Contains("e"), false) assert.Equal(t, nset.Contains("z"), true) } func TestNew(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_test.go
Scheduler: "rr", Flags: 0x1, Timeout: 10800, }, equal: true, reason: "All fields equal", }, } for i := range Tests { equal := Tests[i].svcA.Equal(Tests[i].svcB) if equal != Tests[i].equal { t.Errorf("case: %d got %v, expected %v, reason: %s", i, equal, Tests[i].equal, Tests[i].reason) } } } func TestRealServerEqual(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/hosts_test.go
// wildcard, all namespaces scope g.Expect(NewScopedFqdn("*", "foo", "*")).To(Equal(ScopedFqdn("*/*"))) // wildcard sub domain, all namespaces scope g.Expect(NewScopedFqdn("*", "foo", "*.xyz.abc")).To(Equal(ScopedFqdn("*/*.xyz.abc"))) // external host, local scope g.Expect(NewScopedFqdn("foo", "foo", "xyz.abc")).To(Equal(ScopedFqdn("foo/xyz.abc"))) // external host, all namespaces scope
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_windows_test.go
assert.NoError(err) assert.Equal(summary.Node.NodeName, "test-node") assert.Equal(summary.Node.StartTime, systemBootTime) assert.Equal(summary.Node.CPU, cgroupStatsMap["/"].cs.CPU) assert.Equal(summary.Node.Memory, cgroupStatsMap["/"].cs.Memory) assert.Equal(summary.Node.Network, cgroupStatsMap["/"].ns) assert.Equal(summary.Node.Fs, rootFsStats)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters_test.go
exp = filepath.Join(root, "pods") assert.Equal(t, exp, got) got = kubelet.getPodLogsDir() assert.Equal(t, kubelet.podLogsDirectory, got) got = kubelet.getPluginsDir() exp = filepath.Join(root, "plugins") assert.Equal(t, exp, got) got = kubelet.getPluginsRegistrationDir() exp = filepath.Join(root, "plugins_registry") assert.Equal(t, exp, got) got = kubelet.getPluginDir("foobar")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.8K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry_test.go
g.Expect(policy.RetryOn).To(Equal("some,fake,conditions")) g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3))) g.Expect(policy.NumRetries.Value).To(Equal(uint32(2))) g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0))) g.Expect(policy.RetryPriority).To(BeNil()) g.Expect(policy.HostSelectionRetryMaxAttempts).To(Equal(retry.DefaultPolicy().HostSelectionRetryMaxAttempts))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go
if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } b = sets.New("1", "2", "") if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } // Check for equality after mutation a = sets.New[string]() a.Insert("1") if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } a.Insert("2") if a.Equal(b) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 09:03:44 UTC 2023 - 7.7K bytes - Viewed (0)