Home
last modified time | relevance | path

Searched refs:isEqualTo (Results 1 – 25 of 50) sorted by relevance

12

/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/builder/
DBuilderTest.java45 assertThat(component.s()).isEqualTo("sam"); in interfaceBuilder()
46 assertThat(component.i()).isEqualTo(1); in interfaceBuilder()
48 assertThat(component.f()).isEqualTo(5.5f); in interfaceBuilder()
49 assertThat(component.l()).isEqualTo(6L); in interfaceBuilder()
69 assertThat(component.s()).isEqualTo("sam"); in abstractClassBuilder()
70 assertThat(component.i()).isEqualTo(1); in abstractClassBuilder()
72 assertThat(component.f()).isEqualTo(5.5f); in abstractClassBuilder()
73 assertThat(component.l()).isEqualTo(6L); in abstractClassBuilder()
93 assertThat(component.s()).isEqualTo("sam"); in interfaceGenericBuilder()
94 assertThat(component.i()).isEqualTo(1); in interfaceGenericBuilder()
[all …]
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/
DBasicTest.java50 assertThat(basicComponent.getByte()).isEqualTo(BOUND_BYTE); in primitives()
51 assertThat(basicComponent.getChar()).isEqualTo(BOUND_CHAR); in primitives()
52 assertThat(basicComponent.getShort()).isEqualTo(BOUND_SHORT); in primitives()
53 assertThat(basicComponent.getInt()).isEqualTo(BOUND_INT); in primitives()
54 assertThat(basicComponent.getLong()).isEqualTo(BOUND_LONG); in primitives()
55 assertThat(basicComponent.getBoolean()).isEqualTo(BOUND_BOOLEAN); in primitives()
56 assertThat(basicComponent.getFloat()).isEqualTo(BOUND_FLOAT); in primitives()
57 assertThat(basicComponent.getDouble()).isEqualTo(BOUND_DOUBLE); in primitives()
61 assertThat(basicComponent.getBoxedByte()).isEqualTo(new Byte(BOUND_BYTE)); in boxedPrimitives()
62 assertThat(basicComponent.getBoxedChar()).isEqualTo(new Character(BOUND_CHAR)); in boxedPrimitives()
[all …]
DMultibindingTest.java64 assertThat(mapOfProviders.get("foo").get()).isEqualTo("foo value"); in mapOfProviders()
65 assertThat(mapOfProviders.get("bar").get()).isEqualTo("bar value"); in mapOfProviders()
74 assertThat(multibindingComponent.nestedKeyMap()).isEqualTo( in nestedKeyMap()
83 .isEqualTo(ImmutableMap.of(testStringKey("foo\n"), "foo annotation")); in unwrappedAnnotationKeyMap()
91 .isEqualTo( in wrappedAnnotationKeyMap()
100 assertThat(multibindingComponent.booleanKeyMap()).isEqualTo(ImmutableMap.of(true, "true")); in booleanKeyMap()
106 .isEqualTo(ImmutableMap.of((byte) 100, "100 byte")); in byteKeyMap()
112 .isEqualTo(ImmutableMap.of('a', "a char", '\n', "newline char")); in charKeyMap()
118 .isEqualTo( in classKeyMap()
127 .isEqualTo( in numberClassKeyMap()
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java47 .isEqualTo(ClassName.fromClass(Object.class)); in forTypeMirror_basicTypes()
49 .isEqualTo(ClassName.fromClass(Charset.class)); in forTypeMirror_basicTypes()
51 .isEqualTo(ClassName.fromClass(TypeNamesTest.class)); in forTypeMirror_basicTypes()
59 .isEqualTo(ParameterizedTypeName.create(Set.class, ClassName.fromClass(Object.class))); in forTypeMirror_parameterizedType()
66 .isEqualTo(ParameterizedTypeName.create(Set.class, TypeVariableName.named("E"))); in forTypeMirror_typeVariables()
72 .isEqualTo(PrimitiveName.BOOLEAN); in forTypeMirror_primitive()
74 .isEqualTo(PrimitiveName.BYTE); in forTypeMirror_primitive()
76 .isEqualTo(PrimitiveName.SHORT); in forTypeMirror_primitive()
78 .isEqualTo(PrimitiveName.INT); in forTypeMirror_primitive()
80 .isEqualTo(PrimitiveName.LONG); in forTypeMirror_primitive()
[all …]
DClassNameTest.java38 .isEqualTo(ClassName.create("java.lang", "String")); in bestGuessForString_simpleClass()
47 .isEqualTo(ClassName.create("java.util", ImmutableList.of("Map"), "Entry")); in bestGuessForString_nestedClass()
49 .isEqualTo( in bestGuessForString_nestedClass()
56 .isEqualTo(ClassName.create("", "SomeClass")); in bestGuessForString_defaultPackage()
58 .isEqualTo(ClassName.create("", ImmutableList.of("SomeClass"), "Nested")); in bestGuessForString_defaultPackage()
60 .isEqualTo(ClassName.create("", ImmutableList.of("SomeClass", "Nested"), "EvenMore")); in bestGuessForString_defaultPackage()
82 .isEqualTo("java.lang.Object"); in classNameFromTypeElement()
91 .isEqualTo("dagger.internal.codegen.writer.Foo"); in peerNamed_topLevelClass()
100 .isEqualTo("dagger.internal.codegen.writer.ClassNameTest.Foo"); in peerNamed_nestedClass()
109 .isEqualTo("dagger.internal.codegen.writer.ClassNameTest.OuterClass.Foo"); in peerNamed_deeplyNestedClass()
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DDependencyRequestMapperTest.java106 .isEqualTo(Provider.class); in forProvider()
108 .isEqualTo(Provider.class); in forProvider()
110 .isEqualTo(Provider.class); in forProvider()
112 .isEqualTo(MembersInjector.class); in forProvider()
118 .isEqualTo(Producer.class); in forProducer()
120 .isEqualTo(Provider.class); in forProducer()
122 .isEqualTo(Provider.class); in forProducer()
124 .isEqualTo(MembersInjector.class); in forProducer()
126 .isEqualTo(Producer.class); in forProducer()
128 .isEqualTo(Producer.class); in forProducer()
DKeyTest.java74 .isEqualTo(new AutoValue_Key( in forInjectConstructorWithResolvedType()
92 .isEqualTo(new AutoValue_Key( in forProvidesMethod()
115 .isEqualTo(MoreTypes.equivalence().wrap(qualifierElement.asType())); in forProvidesMethod_qualified()
116 assertThat(key.wrappedType()).isEqualTo(MoreTypes.equivalence().wrap(stringType)); in forProvidesMethod_qualified()
135 assertThat(provisionKey).isEqualTo(injectionKey); in qualifiedKeyEquivalents()
168 .isEqualTo(new AutoValue_Key( in forProvidesMethod_sets()
218 assertThat(intKey).isEqualTo(integerKey); in primitiveKeysMatchBoxedKeys()
229 .isEqualTo(new AutoValue_Key( in forProducesMethod()
256 .isEqualTo(new AutoValue_Key( in forProducesMethod_sets()
DBindingFieldTest.java70 .isEqualTo(ParameterizedTypeName.create( in frameworkType()
75 .isEqualTo(ParameterizedTypeName.create( in frameworkType()
84 .isEqualTo("fooProvider"); in nameSuffix()
87 .isEqualTo("fooProvider"); in nameSuffix()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTreeTraverserTest.java129 assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf"); in testPreOrder()
130 assertThat(binaryIterationOrder(BIN_ADAPTER.preOrderTraversal(bd))).isEqualTo("dbacefg"); in testPreOrder()
134 assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh"); in testPostOrder()
135 assertThat(binaryIterationOrder(BIN_ADAPTER.postOrderTraversal(bd))).isEqualTo("acbgfed"); in testPostOrder()
139 assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf"); in testBreadthOrder()
140 assertThat(binaryIterationOrder(BIN_ADAPTER.breadthFirstTraversal(bd))).isEqualTo("dbeacfg"); in testBreadthOrder()
144 assertThat(binaryIterationOrder(BIN_ADAPTER.inOrderTraversal(bd))).isEqualTo("abcdegf"); in testInOrder()
/external/guava/guava-tests/test/com/google/common/collect/
DTreeTraverserTest.java131 assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf"); in testPreOrder()
132 assertThat(binaryIterationOrder(BIN_ADAPTER.preOrderTraversal(bd))).isEqualTo("dbacefg"); in testPreOrder()
136 assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh"); in testPostOrder()
137 assertThat(binaryIterationOrder(BIN_ADAPTER.postOrderTraversal(bd))).isEqualTo("acbgfed"); in testPostOrder()
141 assertThat(iterationOrder(ADAPTER.breadthFirstTraversal(h))).isEqualTo("hdegabcf"); in testBreadthOrder()
142 assertThat(binaryIterationOrder(BIN_ADAPTER.breadthFirstTraversal(bd))).isEqualTo("dbeacfg"); in testBreadthOrder()
146 assertThat(binaryIterationOrder(BIN_ADAPTER.inOrderTraversal(bd))).isEqualTo("abcdegf"); in testInOrder()
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/builder/
DProductionComponentBuilderTest.java39 assertThat(component.s().get()).isEqualTo("arg: 42"); in successfulBuild()
40 assertThat(component.d().get()).isEqualTo(15.3); in successfulBuild()
50 assertThat(component.s().get()).isEqualTo("arg: 42"); in successfulBuild_withMissingZeroArgModule()
51 assertThat(component.d().get()).isEqualTo(15.3); in successfulBuild_withMissingZeroArgModule()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/
DTestDictionary.m38 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
54 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
78 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
102 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
106 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
130 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
134 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DSplitterTest.java495 assertThat(m).isEqualTo(expected); in testMapSplitter_trimmedBoth()
496 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_trimmedBoth()
507 assertThat(m).isEqualTo(expected); in testMapSplitter_trimmedEntries()
508 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_trimmedEntries()
517 assertThat(m).isEqualTo(expected); in testMapSplitter_trimmedKeyValue()
518 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_trimmedKeyValue()
526 assertThat(m).isEqualTo(expected); in testMapSplitter_notTrimmed()
527 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_notTrimmed()
539 assertThat(m).isEqualTo(expected); in testMapSplitter_CharacterSeparator()
540 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_CharacterSeparator()
[all …]
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/subcomponent/hiding/
DSubcomponentHidingTest.java28 assertThat(parent.aCommonName().toString()).isEqualTo("a"); in moduleNameHiding()
29 assertThat(parent.newChildComponent().aCommonName().toString()).isEqualTo("a"); in moduleNameHiding()
30 assertThat(parent.newChildComponent().bCommonName().toString()).isEqualTo("1"); in moduleNameHiding()
/external/dagger2/core/src/test/java/dagger/internal/
DInstanceFactoryTest.java33 assert_().that(factory.get()).isEqualTo(instance); in instanceFactory()
34 assert_().that(factory.get()).isEqualTo(instance); in instanceFactory()
35 assert_().that(factory.get()).isEqualTo(instance); in instanceFactory()
DScopedProviderTest.java61 assert_().that(scopedProvider.get()).isEqualTo(0); in get()
62 assert_().that(scopedProvider.get()).isEqualTo(0); in get()
63 assert_().that(scopedProvider.get()).isEqualTo(0); in get()
DDoubleCheckLazyTest.java61 assert_().that(provider.provisions.get()).isEqualTo(1); in get()
66 assert_().that(results.size()).isEqualTo(1); in get()
/external/guava/guava-tests/test/com/google/common/base/
DSplitterTest.java667 assertThat(m).isEqualTo(expected); in testMapSplitter_trimmedBoth()
668 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_trimmedBoth()
679 assertThat(m).isEqualTo(expected); in testMapSplitter_trimmedEntries()
680 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_trimmedEntries()
689 assertThat(m).isEqualTo(expected); in testMapSplitter_trimmedKeyValue()
690 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_trimmedKeyValue()
698 assertThat(m).isEqualTo(expected); in testMapSplitter_notTrimmed()
699 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_notTrimmed()
711 assertThat(m).isEqualTo(expected); in testMapSplitter_CharacterSeparator()
712 assertThat(asList(m.entrySet())).isEqualTo(asList(expected.entrySet())); in testMapSplitter_CharacterSeparator()
[all …]
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/subcomponent/
DSubcomponentMultibindingsTest.java56 .isEqualTo( in testMultibindingsInSubcomponents()
65 .isEqualTo(ImmutableMap.of("parent key", "string in parent")); in testMultibindingsInSubcomponents()
86 .isEqualTo( in testOverriddenMultibindingsInSubcomponents()
DSubcomponentTest.java107 assertThat(childComponent1.getInt()).isEqualTo(0); in passedModules()
108 assertThat(childComponent2.getInt()).isEqualTo(1); in passedModules()
/external/dagger2/producers/src/test/java/dagger/producers/internal/
DProducersTest.java43 assertThat(producedFuture.get().get()).isEqualTo("monkey"); in createFutureProduced_success()
107 assertThat(producer.get().get()).isEqualTo(0); in producerFromProvider()
108 assertThat(producer.get().get()).isEqualTo(0); in producerFromProvider()
109 assertThat(producer.get().get()).isEqualTo(0); in producerFromProvider()
DAbstractProducerTest.java85 assertThat(producer.get().get()).isEqualTo(0); in get()
86 assertThat(producer.get().get()).isEqualTo(0); in get()
87 assertThat(producer.get().get()).isEqualTo(0); in get()
99 assertThat(future.get()).isEqualTo(-42); in monitor_success()
/external/skia/src/gpu/
DGrPathRange.h53 virtual bool isEqualTo(const SkDescriptor&) const { return false; } in isEqualTo() function
131 virtual bool isEqualTo(const SkDescriptor& desc) const { in isEqualTo() function
132 return nullptr != fPathGenerator.get() && fPathGenerator->isEqualTo(desc); in isEqualTo()
/external/dagger2/producers/src/test/java/dagger/producers/
DProducedTest.java35 assertThat(Produced.successful(5).get()).isEqualTo(5); in successfulProduced()
36 assertThat(Produced.successful("monkey").get()).isEqualTo("monkey"); in successfulProduced()
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
DProducerFactoryTest.java68 assertThat(producer.get().get()).isEqualTo("str"); in noArgMethod()
85 assertThat(producer.get().get()).isEqualTo("str with arg"); in singleArgMethod()
109 assertThat(producer.get().get()).isEqualTo("monkey"); in successMonitor()

12