- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 110 for addEqualityGroup (0.09 sec)
-
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected); new EqualsTester() .addEqualityGroup(cache.asMap().keySet(), keys) .addEqualityGroup(ImmutableSet.of()) .testEquals(); assertEquals(WARMUP_SIZE, keys.size()); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one"); SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); } private static <T> SortedMultiset<T> wrap(final SortedMultiset<T> delegate) { return new ForwardingSortedMultiset<T>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
// all caches should be different: instance equality new EqualsTester() .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .testEquals(); } } public void testGet_null() throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
// all caches should be different: instance equality new EqualsTester() .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .testEquals(); } } public void testGet_null() throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
} public void testEquals() { List<String> list1 = ImmutableList.of("one"); List<String> list2 = ImmutableList.of("two"); new EqualsTester() .addEqualityGroup(list1, wrap(list1), wrap(list1)) .addEqualityGroup(list2, wrap(list2)) .testEquals(); } private static <T> List<T> wrap(final List<T> delegate) { return new ForwardingList<T>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one"); SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); } private static <T> SortedMultiset<T> wrap(final SortedMultiset<T> delegate) { return new ForwardingSortedMultiset<T>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListTest.java
} public void testEquals() { List<String> list1 = ImmutableList.of("one"); List<String> list2 = ImmutableList.of("two"); new EqualsTester() .addEqualityGroup(list1, wrap(list1), wrap(list1)) .addEqualityGroup(list2, wrap(list2)) .testEquals(); } private static <T> List<T> wrap(final List<T> delegate) { return new ForwardingList<T>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return LAST_COLOR_ADDED; } public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableSet.of(), ImmutableSet.of()) .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1)) .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1)) .testEquals(); } @GwtIncompatible("internals")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected); new EqualsTester() .addEqualityGroup(cache.asMap().keySet(), keys) .addEqualityGroup(ImmutableSet.of()) .testEquals(); assertEquals(WARMUP_SIZE, keys.size()); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
public void testEquals() { NavigableSet<String> set1 = ImmutableSortedSet.of("one"); NavigableSet<String> set2 = ImmutableSortedSet.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); } private static <T> NavigableSet<T> wrap(final NavigableSet<T> delegate) { return new ForwardingNavigableSet<T>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.9K bytes - Viewed (0)