Home
last modified time | relevance | path

Searched refs:assertThatModuleMethod (Results 1 – 6 of 6) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/
DMultibindsValidationTest.java20 import static dagger.internal.codegen.DaggerModuleMethodSubject.Factory.assertThatModuleMethod;
55 assertThatModuleMethod("@Multibinds abstract void voidMethod();") in voidMethod()
62 assertThatModuleMethod("@Multibinds abstract int primitive();") in primitiveMethod()
69 assertThatModuleMethod("@Multibinds abstract Map rawMap();") in rawMap()
76 assertThatModuleMethod("@Multibinds abstract Map<?, ?> wildcardMap();") in wildcardMap()
83 assertThatModuleMethod("@Multibinds abstract Map<String, Provider<Object>> providerMap();") in providerMap()
90 assertThatModuleMethod("@Multibinds abstract Map<String, Producer<Object>> producerMap();") in producerMap()
97 assertThatModuleMethod("@Multibinds abstract Map<String, Produced<Object>> producedMap();") in producedMap()
104 assertThatModuleMethod("@Multibinds abstract Set rawSet();") in rawSet()
111 assertThatModuleMethod("@Multibinds abstract Set<?> wildcardSet();") in wildcardSet()
[all …]
DModuleFactoryGeneratorTest.java26 import static dagger.internal.codegen.DaggerModuleMethodSubject.Factory.assertThatModuleMethod;
54 assertThatModuleMethod("@Provides abstract String abstractMethod();") in providesMethodAbstract()
59 assertThatModuleMethod("@Provides private String privateMethod() { return null; }") in providesMethodPrivate()
64 assertThatModuleMethod("@Provides void voidMethod() {}") in providesMethodReturnVoid()
70 assertThatModuleMethod("@Provides Provider<String> provideProvider() {}") in providesMethodReturnsProvider()
76 assertThatModuleMethod("@Provides Lazy<String> provideLazy() {}") in providesMethodReturnsLazy()
82 assertThatModuleMethod("@Provides MembersInjector<String> provideMembersInjector() {}") in providesMethodReturnsMembersInjector()
88 assertThatModuleMethod("@Provides Producer<String> provideProducer() {}") in providesMethodReturnsProducer()
94 assertThatModuleMethod("@Provides Produced<String> provideProduced() {}") in providesMethodReturnsProduced()
99 assertThatModuleMethod("@Provides <T> String typeParameter() { return null; }") in providesMethodWithTypeParameter()
[all …]
DBindsMethodValidationTest.java20 import static dagger.internal.codegen.DaggerModuleMethodSubject.Factory.assertThatModuleMethod;
145 return assertThatModuleMethod(method).withDeclaration(moduleDeclaration); in assertThatMethod()
DBindsOptionalOfMethodValidationTest.java22 import static dagger.internal.codegen.DaggerModuleMethodSubject.Factory.assertThatModuleMethod;
179 return assertThatModuleMethod(method).withDeclaration(moduleDeclaration); in assertThatMethod()
DModuleValidationTest.java21 import static dagger.internal.codegen.DaggerModuleMethodSubject.Factory.assertThatModuleMethod;
317 assertThatModuleMethod( in tooManyAnnotations()
DDaggerModuleMethodSubject.java45 static DaggerModuleMethodSubject assertThatModuleMethod(String method) { in assertThatModuleMethod() method in DaggerModuleMethodSubject.Factory