Home
last modified time | relevance | path

Searched refs:addEqualityGroup (Results 1 – 25 of 85) sorted by relevance

1234

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPredicatesTest.java93 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality()
94 .addEqualityGroup(isOdd()) in testAlwaysTrue_equality()
95 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality()
109 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality()
110 .addEqualityGroup(isOdd()) in testAlwaysFalse_equality()
111 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality()
127 .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) in testNot_equality()
128 .addEqualityGroup(Predicates.not(TRUE)) in testNot_equality()
129 .addEqualityGroup(isOdd()) in testNot_equality()
135 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testNot_equalityForNotOfKnownValues()
[all …]
DFunctionsTest.java85 .addEqualityGroup(function, Functions.forMap(map)) in testForMapWithoutDefault()
86 .addEqualityGroup(Functions.forMap(map, 42)) in testForMapWithoutDefault()
103 .addEqualityGroup(function, Functions.forMap(map, 42)) in testForMapWithDefault()
104 .addEqualityGroup(Functions.forMap(map)) in testForMapWithDefault()
105 .addEqualityGroup(Functions.forMap(map, null)) in testForMapWithDefault()
106 .addEqualityGroup(Functions.forMap(map, 43)) in testForMapWithDefault()
119 .addEqualityGroup(function) in testForMapWithDefault_null()
120 .addEqualityGroup(Functions.forMap(map, 1)) in testForMapWithDefault_null()
168 .addEqualityGroup( in testComposition()
171 .addEqualityGroup(japaneseToInteger) in testComposition()
[all …]
DEquivalenceTest.java46 .addEqualityGroup(Equivalence.equals().pairwise(), Equivalence.equals().pairwise()) in testPairwiseEquivalent_equals()
47 .addEqualityGroup(Equivalence.identity().pairwise()) in testPairwiseEquivalent_equals()
64 .addEqualityGroup( in testWrap()
68 .addEqualityGroup( in testWrap()
71 .addEqualityGroup( in testWrap()
74 .addEqualityGroup(Equivalence.equals().wrap("hello")) in testWrap()
75 .addEqualityGroup(Equivalence.equals().wrap(null)) in testWrap()
106 .addEqualityGroup( in testOnResultOf_equals()
109 .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction())) in testOnResultOf_equals()
110 .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity())) in testOnResultOf_equals()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java98 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality()
99 .addEqualityGroup(isOdd()) in testAlwaysTrue_equality()
100 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality()
119 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality()
120 .addEqualityGroup(isOdd()) in testAlwaysFalse_equality()
121 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality()
142 .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) in testNot_equality()
143 .addEqualityGroup(Predicates.not(TRUE)) in testNot_equality()
144 .addEqualityGroup(isOdd()) in testNot_equality()
150 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testNot_equalityForNotOfKnownValues()
[all …]
DFunctionsTest.java105 .addEqualityGroup(function, Functions.forMap(map)) in testForMapWithoutDefault()
106 .addEqualityGroup(Functions.forMap(map, 42)) in testForMapWithoutDefault()
128 .addEqualityGroup(function, Functions.forMap(map, 42)) in testForMapWithDefault()
129 .addEqualityGroup(Functions.forMap(map)) in testForMapWithDefault()
130 .addEqualityGroup(Functions.forMap(map, null)) in testForMapWithDefault()
131 .addEqualityGroup(Functions.forMap(map, 43)) in testForMapWithDefault()
147 .addEqualityGroup( in testForMapWithDefault_includeSerializable()
151 .addEqualityGroup(Functions.forMap(map)) in testForMapWithDefault_includeSerializable()
152 .addEqualityGroup(Functions.forMap(map, null)) in testForMapWithDefault_includeSerializable()
153 .addEqualityGroup(Functions.forMap(map, 43)) in testForMapWithDefault_includeSerializable()
[all …]
DEquivalenceTest.java49 .addEqualityGroup(Equivalence.equals().pairwise(), Equivalence.equals().pairwise()) in testPairwiseEquivalent_equals()
50 .addEqualityGroup(Equivalence.identity().pairwise()) in testPairwiseEquivalent_equals()
67 .addEqualityGroup( in testWrap()
71 .addEqualityGroup( in testWrap()
74 .addEqualityGroup( in testWrap()
77 .addEqualityGroup(Equivalence.equals().wrap("hello")) in testWrap()
78 .addEqualityGroup(Equivalence.equals().wrap(null)) in testWrap()
116 .addEqualityGroup( in testOnResultOf_equals()
119 .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction())) in testOnResultOf_equals()
120 .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity())) in testOnResultOf_equals()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DEqualsTesterTest.java57 equalsTester.addEqualityGroup((Object) null); in testAddNullReference()
67 equalsTester.addEqualityGroup(reference, equalObject1, null); in testAddTwoEqualObjectsAtOnceWithNull()
77 equalsTester.addEqualityGroup(reference, (Object[]) null); in testAddNullEqualObject()
87 equalsTester.addEqualityGroup(equalObject1, notEqualObject1); in testAddEqualObjectWithOArgConstructor()
105 equalsTester.addEqualityGroup(reference); in testTestEqualsEmptyLists()
114 equalsTester.addEqualityGroup(reference, equalObject1, equalObject2); in testTestEqualsEqualsObjects()
123 equalsTester.addEqualityGroup(obj); in testNonreflexiveEquals()
139 equalsTester.addEqualityGroup(obj); in testInvalidEqualsNull()
156 equalsTester.addEqualityGroup(obj); in testInvalidEqualsIncompatibleClass()
174 equalsTester.addEqualityGroup(reference, notEqualObject1); in testInvalidNotEqualsEqualObject()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTablesTest.java48 .addEqualityGroup(entry, Tables.immutableCell("foo", 1, 'a')) in testEntryEquals()
49 .addEqualityGroup(Tables.immutableCell("bar", 1, 'a')) in testEntryEquals()
50 .addEqualityGroup(Tables.immutableCell("foo", 2, 'a')) in testEntryEquals()
51 .addEqualityGroup(Tables.immutableCell("foo", 1, 'b')) in testEntryEquals()
52 .addEqualityGroup(Tables.immutableCell(null, null, null)) in testEntryEquals()
61 .addEqualityGroup(entry, Tables.immutableCell(null, null, null)) in testEntryEqualsNull()
62 .addEqualityGroup(Tables.immutableCell("bar", null, null)) in testEntryEqualsNull()
63 .addEqualityGroup(Tables.immutableCell(null, 2, null)) in testEntryEqualsNull()
64 .addEqualityGroup(Tables.immutableCell(null, null, 'b')) in testEntryEqualsNull()
65 .addEqualityGroup(Tables.immutableCell("foo", 1, 'a')) in testEntryEqualsNull()
DImmutableMapTest.java501 .addEqualityGroup(ImmutableList.of(), ImmutableList.of()) in testEquals()
502 .addEqualityGroup(ImmutableList.of(1), ImmutableList.of(1)) in testEquals()
503 .addEqualityGroup(ImmutableList.of(1, 2), ImmutableList.of(1, 2)) in testEquals()
504 .addEqualityGroup(ImmutableList.of(1, 2, 3)) in testEquals()
505 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4)) in testEquals()
506 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5)) in testEquals()
507 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6)) in testEquals()
508 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6, 7)) in testEquals()
509 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6, 7, 8)) in testEquals()
510 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6, 7, 8, 9)) in testEquals()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DTablesTest.java57 .addEqualityGroup(entry, Tables.immutableCell("foo", 1, 'a')) in testEntryEquals()
58 .addEqualityGroup(Tables.immutableCell("bar", 1, 'a')) in testEntryEquals()
59 .addEqualityGroup(Tables.immutableCell("foo", 2, 'a')) in testEntryEquals()
60 .addEqualityGroup(Tables.immutableCell("foo", 1, 'b')) in testEntryEquals()
61 .addEqualityGroup(Tables.immutableCell(null, null, null)) in testEntryEquals()
70 .addEqualityGroup(entry, Tables.immutableCell(null, null, null)) in testEntryEqualsNull()
71 .addEqualityGroup(Tables.immutableCell("bar", null, null)) in testEntryEqualsNull()
72 .addEqualityGroup(Tables.immutableCell(null, 2, null)) in testEntryEqualsNull()
73 .addEqualityGroup(Tables.immutableCell(null, null, 'b')) in testEntryEqualsNull()
74 .addEqualityGroup(Tables.immutableCell("foo", 1, 'a')) in testEntryEqualsNull()
DImmutableMapTest.java665 .addEqualityGroup(ImmutableList.of(), ImmutableList.of()) in testEquals()
666 .addEqualityGroup(ImmutableList.of(1), ImmutableList.of(1)) in testEquals()
667 .addEqualityGroup(ImmutableList.of(1, 2), ImmutableList.of(1, 2)) in testEquals()
668 .addEqualityGroup(ImmutableList.of(1, 2, 3)) in testEquals()
669 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4)) in testEquals()
670 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5)) in testEquals()
671 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6)) in testEquals()
672 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6, 7)) in testEquals()
673 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6, 7, 8)) in testEquals()
674 .addEqualityGroup(ImmutableList.of(1, 2, 3, 4, 5, 6, 7, 8, 9)) in testEquals()
[all …]
DSingletonImmutableTableTest.java73 .addEqualityGroup(testTable, HashBasedTable.create(testTable)) in testEqualsObject()
74 .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create()) in testEqualsObject()
75 .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, ""))) in testEqualsObject()
82 .addEqualityGroup(testTable) in testEqualsObjectNullValues()
83 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) in testEqualsObjectNullValues()
DEmptyImmutableTableTest.java45 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create()) in testEqualsObject()
46 .addEqualityGroup(nonEmptyTable) in testEqualsObject()
53 .addEqualityGroup(INSTANCE) in testEqualsObjectNullValues()
54 .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) in testEqualsObjectNullValues()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapEqualsTester.java41 .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) in testEqualsTrue()
49 .addEqualityGroup(multimap()) in testEqualsFalse()
50 .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray())) in testEqualsFalse()
61 .addEqualityGroup(original) in testEqualsMultimapWithNullKey()
62 .addEqualityGroup(withNull, getSubjectGenerator().create(createArrayWithNullKey())) in testEqualsMultimapWithNullKey()
73 .addEqualityGroup(original) in testEqualsMultimapWithNullValue()
74 .addEqualityGroup(withNull, getSubjectGenerator().create(createArrayWithNullValue())) in testEqualsMultimapWithNullValue()
81 .addEqualityGroup(multimap()) in testNotEqualsEmpty()
82 .addEqualityGroup(getSubjectGenerator().create()) in testNotEqualsEmpty()
DMultisetEqualsTester.java34 .addEqualityGroup( in testEqualsSameContents()
43 .addEqualityGroup(getMultiset()) in testNotEqualsEmpty()
44 .addEqualityGroup(getSubjectGenerator().create()) in testNotEqualsEmpty()
56 .addEqualityGroup(getMultiset()) in testEqualsMultisetWithNullValue()
57 .addEqualityGroup( in testEqualsMultisetWithNullValue()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java64 .addEqualityGroup(jvmType, ourType) in testNewParameterizedType()
103 .addEqualityGroup(jvmType, ourType) in testNewParameterizedTypeWithOwner()
104 .addEqualityGroup(new TypeCapture<Map.Entry<String, String>>() {}.capture()) in testNewParameterizedTypeWithOwner()
105 .addEqualityGroup(new TypeCapture<Map<String, Integer>>() {}.capture()) in testNewParameterizedTypeWithOwner()
157 .addEqualityGroup(jvmType1, ourType1) in testNewArrayType()
158 .addEqualityGroup(jvmType2, ourType2) in testNewArrayType()
171 .addEqualityGroup(jvmType, ourType) in testNewArrayTypeOfArray()
180 .addEqualityGroup(jvmType, ourType) in testNewArrayType_primitive()
244 .addEqualityGroup( in testNewWildcardType()
246 .addEqualityGroup(upperBoundJvmType, upperBound) in testNewWildcardType()
[all …]
DAbstractInvocationHandlerTest.java61 .addEqualityGroup(newDelegatingList(LIST1)) in testEquals()
64 .addEqualityGroup(newDelegatingList(LIST1)) in testEquals()
65 .addEqualityGroup(newDelegatingList(LIST2)) in testEquals()
66 .addEqualityGroup( in testEquals()
69 .addEqualityGroup( in testEquals()
71 .addEqualityGroup( in testEquals()
75 .addEqualityGroup( in testEquals()
79 .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface in testEquals()
/external/guava/guava-tests/test/com/google/common/hash/
DFunnelsTest.java163 .addEqualityGroup(Funnels.byteArrayFunnel()) in testEquals()
164 .addEqualityGroup(Funnels.integerFunnel()) in testEquals()
165 .addEqualityGroup(Funnels.longFunnel()) in testEquals()
166 .addEqualityGroup(Funnels.unencodedCharsFunnel()) in testEquals()
167 .addEqualityGroup(Funnels.stringFunnel(Charsets.UTF_8)) in testEquals()
168 .addEqualityGroup(Funnels.stringFunnel(Charsets.US_ASCII)) in testEquals()
169 .addEqualityGroup(Funnels.sequentialFunnel(Funnels.integerFunnel()), in testEquals()
172 .addEqualityGroup(Funnels.sequentialFunnel(Funnels.longFunnel())) in testEquals()
DBloomFilterTest.java313 .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.01)) in testEquals_empty()
314 .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.02)) in testEquals_empty()
315 .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.01)) in testEquals_empty()
316 .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.02)) in testEquals_empty()
317 .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.01)) in testEquals_empty()
318 .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.02)) in testEquals_empty()
319 .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 200, 0.01)) in testEquals_empty()
320 .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 200, 0.02)) in testEquals_empty()
334 .addEqualityGroup(bf1, bf2) in testEquals()
340 .addEqualityGroup(bf1) in testEquals()
[all …]
/external/guice/core/test/com/google/inject/util/
DProvidersTest.java48 .addEqualityGroup( in testOfEquality()
51 .addEqualityGroup( in testOfEquality()
59 .addEqualityGroup( in testGuicifyEquality()
62 .addEqualityGroup( in testGuicifyEquality()
65 .addEqualityGroup( in testGuicifyEquality()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java473 .addEqualityGroup(parse(""), parse("")) in testEqualsAndHashCode()
474 .addEqualityGroup(parse("concurrencyLevel=7"), parse("concurrencyLevel=7")) in testEqualsAndHashCode()
475 .addEqualityGroup(parse("concurrencyLevel=15"), parse("concurrencyLevel=15")) in testEqualsAndHashCode()
476 .addEqualityGroup(parse("initialCapacity=7"), parse("initialCapacity=7")) in testEqualsAndHashCode()
477 .addEqualityGroup(parse("initialCapacity=15"), parse("initialCapacity=15")) in testEqualsAndHashCode()
478 .addEqualityGroup(parse("maximumSize=7"), parse("maximumSize=7")) in testEqualsAndHashCode()
479 .addEqualityGroup(parse("maximumSize=15"), parse("maximumSize=15")) in testEqualsAndHashCode()
480 .addEqualityGroup(parse("maximumWeight=7"), parse("maximumWeight=7")) in testEqualsAndHashCode()
481 .addEqualityGroup(parse("maximumWeight=15"), parse("maximumWeight=15")) in testEqualsAndHashCode()
482 .addEqualityGroup(parse("expireAfterAccess=60s"), parse("expireAfterAccess=1m")) in testEqualsAndHashCode()
[all …]
DRemovalNotificationTest.java32 .addEqualityGroup( in testEquals()
35 .addEqualityGroup( in testEquals()
37 .addEqualityGroup( in testEquals()
/external/guava/guava-tests/test/com/google/common/net/
DHostSpecifierTest.java77 .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4")) in testEquality()
78 .addEqualityGroup( in testEquality()
80 .addEqualityGroup(spec("2001:db8::2")) in testEquality()
81 .addEqualityGroup(spec("google.com"), spec("google.com")) in testEquality()
82 .addEqualityGroup(spec("www.google.com")) in testEquality()
DMediaTypeTest.java374 .addEqualityGroup(MediaType.create("text", "plain"),
379 .addEqualityGroup(
393 .addEqualityGroup(MediaType.parse("text/plain; charset=utf-8; charset=utf-8"))
394 .addEqualityGroup(MediaType.create("text", "plain").withParameter("a", "value"),
396 .addEqualityGroup(MediaType.create("text", "plain").withParameter("a", "VALUE"),
398 .addEqualityGroup(
403 .addEqualityGroup(MediaType.create("text", "csv"))
404 .addEqualityGroup(MediaType.create("application", "atom+xml"))
410 .addEqualityGroup(MediaType.create("text", "plain"))
411 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_8))
[all …]
/external/dagger2/producers/src/test/java/dagger/producers/
DProducedTest.java54 .addEqualityGroup(Produced.successful(132435), Produced.successful(132435)) in producedEquivalence()
55 .addEqualityGroup(Produced.successful("hi"), Produced.successful("hi")) in producedEquivalence()
56 .addEqualityGroup(Produced.failed(e1), Produced.failed(e1)) in producedEquivalence()
57 .addEqualityGroup(Produced.failed(e2), Produced.failed(e2)) in producedEquivalence()

1234