/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/builder/ |
D | BuilderTest.java | 45 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/ |
D | BasicTest.java | 50 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 …]
|
D | MultibindingTest.java | 64 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/ |
D | TypeNamesTest.java | 47 .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 …]
|
D | ClassNameTest.java | 38 .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/ |
D | DependencyRequestMapperTest.java | 106 .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()
|
D | KeyTest.java | 74 .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()
|
D | BindingFieldTest.java | 70 .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/ |
D | TreeTraverserTest.java | 129 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/ |
D | TreeTraverserTest.java | 131 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/ |
D | ProductionComponentBuilderTest.java | 39 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/ |
D | TestDictionary.m | 38 … 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/ |
D | SplitterTest.java | 495 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/ |
D | SubcomponentHidingTest.java | 28 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/ |
D | InstanceFactoryTest.java | 33 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()
|
D | ScopedProviderTest.java | 61 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()
|
D | DoubleCheckLazyTest.java | 61 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/ |
D | SplitterTest.java | 667 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/ |
D | SubcomponentMultibindingsTest.java | 56 .isEqualTo( in testMultibindingsInSubcomponents() 65 .isEqualTo(ImmutableMap.of("parent key", "string in parent")); in testMultibindingsInSubcomponents() 86 .isEqualTo( in testOverriddenMultibindingsInSubcomponents()
|
D | SubcomponentTest.java | 107 assertThat(childComponent1.getInt()).isEqualTo(0); in passedModules() 108 assertThat(childComponent2.getInt()).isEqualTo(1); in passedModules()
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
D | ProducersTest.java | 43 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()
|
D | AbstractProducerTest.java | 85 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/ |
D | GrPathRange.h | 53 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/ |
D | ProducedTest.java | 35 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/ |
D | ProducerFactoryTest.java | 68 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()
|