- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for _Equal (0.13 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
import java.util.ListIterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
import java.util.ListIterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
pilot/pkg/networking/core/listenertest/match.go
} if want.Name != "" { assert.Equal(t, want.Name, have.Name, context("name should be equal")) } if want.Type != "" { assert.Equal(t, want.Type, haveType, context(fmt.Sprintf("type should be equal (%+v)", have.FilterChainMatch))) } if want.Port != 0 { assert.Equal(t, want.Port, have.GetFilterChainMatch().GetDestinationPort().GetValue(), context("port should be equal")) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
pkg/kube/kclient/client_test.go
tester.Create(obj1) // Client is cached, so its only eventually consistent tracker.WaitOrdered("add/1") assert.Equal(t, tester.Get(obj1.Name, obj1.Namespace), obj1) assert.Equal(t, tester.List("", klabels.Everything()), []*appsv1.Deployment{obj1}) assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), []*appsv1.Deployment{obj1}) // Update object, should see the update...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
} else if locality.Region == "region1" && locality.SubZone == "subzone2" { g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(17))) g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(20))) } else if locality.Region == "region2" { g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(50)))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
s.envFactory = newFakeEnvironmentFactory(c.actual) s.RequireMinClusters(c.min) s.RequireMaxClusters(c.max) s.Run() assert.Equal(t, runCalled, true) if c.expectSkip { assert.Equal(t, runSkipped, true) } else { assert.Equal(t, runSkipped, false) } }) } } func TestSuite_Setup(t *testing.T) { defer cleanupRT() g := NewWithT(t) var runCalled bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
p, err := pluginServer.getPodWithRetry(log, pod.Name, pod.Namespace) assert.NoError(t, err) assert.Equal(t, p, pod) }) t.Run("no pod", func(t *testing.T) { p, err := pluginServer.getPodWithRetry(log, "fake", pod.Namespace) assert.Error(t, err) assert.Equal(t, p, nil) }) t.Run("pod out of ambient", func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
err := netServer.RemovePodFromMesh(ctx, pod) assert.NoError(t, err) assert.Equal(t, ztunnelServer.deletedPods.Load(), 1) assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1) assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1) // make sure the uid was taken from cache and netns closed netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns) // run gc to clean up ns:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 17.8K bytes - Viewed (0)