Home
last modified time | relevance | path

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

12345

/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/turbine/javatests/com/google/turbine/model/
DConstTest.java36 .addEqualityGroup(new Const.BooleanValue(true), new Const.BooleanValue(true)) in equalsTest()
37 .addEqualityGroup(new Const.BooleanValue(false), new Const.BooleanValue(false)) in equalsTest()
38 .addEqualityGroup(new Const.IntValue(1), new Const.IntValue(1)) in equalsTest()
39 .addEqualityGroup(new Const.IntValue(2), new Const.IntValue(2)) in equalsTest()
40 .addEqualityGroup(new Const.LongValue(1), new Const.LongValue(1)) in equalsTest()
41 .addEqualityGroup(new Const.LongValue(2), new Const.LongValue(2)) in equalsTest()
42 .addEqualityGroup(new Const.CharValue('x'), new Const.CharValue('x')) in equalsTest()
43 .addEqualityGroup(new Const.CharValue('y'), new Const.CharValue('y')) in equalsTest()
44 .addEqualityGroup(new Const.FloatValue(1), new Const.FloatValue(1)) in equalsTest()
45 .addEqualityGroup(new Const.FloatValue(2), new Const.FloatValue(2)) in equalsTest()
[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 …]
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DAggregationDataTest.java147 .addEqualityGroup(SumDataDouble.create(10.0), SumDataDouble.create(10.0)) in testEquals()
148 .addEqualityGroup(SumDataDouble.create(20.0), SumDataDouble.create(20.0)) in testEquals()
149 .addEqualityGroup(SumDataLong.create(20), SumDataLong.create(20)) in testEquals()
150 .addEqualityGroup(CountData.create(40), CountData.create(40)) in testEquals()
151 .addEqualityGroup(CountData.create(80), CountData.create(80)) in testEquals()
152 .addEqualityGroup( in testEquals()
155 .addEqualityGroup(DistributionData.create(10, 10, 1, 1, 0, Arrays.asList(0L, 10L, 100L))) in testEquals()
156 .addEqualityGroup(DistributionData.create(110, 10, 1, 1, 0, Arrays.asList(0L, 10L, 0L))) in testEquals()
157 .addEqualityGroup(DistributionData.create(10, 110, 1, 1, 0, Arrays.asList(0L, 10L, 0L))) in testEquals()
158 .addEqualityGroup(DistributionData.create(10, 10, -1, 1, 0, Arrays.asList(0L, 10L, 0L))) in testEquals()
[all …]
DAggregationTest.java60 .addEqualityGroup(Sum.create(), Sum.create()) in testEquals()
61 .addEqualityGroup(Count.create(), Count.create()) in testEquals()
62 .addEqualityGroup( in testEquals()
65 .addEqualityGroup( in testEquals()
68 .addEqualityGroup(Mean.create(), Mean.create()) in testEquals()
69 .addEqualityGroup(LastValue.create(), LastValue.create()) in testEquals()
/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/opencensus-java/api/src/test/java/io/opencensus/tags/
DTagContextTest.java40 .addEqualityGroup( in equals_IgnoresTagOrderAndTagContextClass()
56 .addEqualityGroup( in equals_HandlesNullIterator()
66 .addEqualityGroup(new SimpleTagContext(TAG1)) in equals_DoesNotIgnoreNullTags()
67 .addEqualityGroup(new SimpleTagContext(TAG1, null), new SimpleTagContext(null, TAG1)) in equals_DoesNotIgnoreNullTags()
68 .addEqualityGroup(new SimpleTagContext(TAG1, null, null)) in equals_DoesNotIgnoreNullTags()
75 .addEqualityGroup(new SimpleTagContext(TAG1)) in equals_DoesNotIgnoreDuplicateTags()
76 .addEqualityGroup(new SimpleTagContext(TAG1, TAG1)) in equals_DoesNotIgnoreDuplicateTags()
/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 …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DAttributeValueTest.java206 tester.addEqualityGroup( in attributeValue_EqualsAndHashCode()
209 tester.addEqualityGroup(AttributeValue.stringAttributeValue("MyStringAttributeDiffValue")); in attributeValue_EqualsAndHashCode()
210 tester.addEqualityGroup( in attributeValue_EqualsAndHashCode()
212 tester.addEqualityGroup(AttributeValue.booleanAttributeValue(false)); in attributeValue_EqualsAndHashCode()
213 tester.addEqualityGroup( in attributeValue_EqualsAndHashCode()
215 tester.addEqualityGroup(AttributeValue.longAttributeValue(1234567L)); in attributeValue_EqualsAndHashCode()
216 tester.addEqualityGroup( in attributeValue_EqualsAndHashCode()
218 tester.addEqualityGroup(AttributeValue.doubleAttributeValue(1.234567)); in attributeValue_EqualsAndHashCode()
/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()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DPointTest.java59 .addEqualityGroup( in testEquals()
61 .addEqualityGroup(Point.create(LONG_VALUE, TIMESTAMP_1)) in testEquals()
62 .addEqualityGroup(Point.create(LONG_VALUE, TIMESTAMP_2)) in testEquals()
63 .addEqualityGroup( in testEquals()
66 .addEqualityGroup(Point.create(DISTRIBUTION_VALUE, TIMESTAMP_3)) in testEquals()
/external/guice/core/test/com/google/inject/util/
DProvidersTest.java46 .addEqualityGroup(Providers.of(null), Providers.of(null)) in testOfEquality()
47 .addEqualityGroup(Providers.of("Hello"), Providers.of("Hello")) in testOfEquality()
53 .addEqualityGroup( in testGuicifyEquality()
55 .addEqualityGroup( in testGuicifyEquality()
57 .addEqualityGroup( in testGuicifyEquality()
/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()

12345