Home
last modified time | relevance | path

Searched refs:onLine (Results 1 – 25 of 36) sorted by relevance

12

/external/dagger2/javatests/dagger/internal/codegen/
DAssistedFactoryErrorsTest.java151 .onLine(6); in testFactoryReturnsNonDeclaredType()
159 .onLine(7); in testFactoryReturnsNonDeclaredType()
167 .onLine(9); in testFactoryReturnsNonDeclaredType()
175 .onLine(13); in testFactoryReturnsNonDeclaredType()
400 assertThat(compilation).hadErrorContaining(fooError).inFile(bar).onLine(8); in testAssistedInjectionRequest()
401 assertThat(compilation).hadErrorContaining(fooError).inFile(module).onLine(10); in testAssistedInjectionRequest()
402 assertThat(compilation).hadErrorContaining(fooError).inFile(component).onLine(8); in testAssistedInjectionRequest()
407 assertThat(compilation).hadErrorContaining(fooProviderError).inFile(bar).onLine(8); in testAssistedInjectionRequest()
408 assertThat(compilation).hadErrorContaining(fooProviderError).inFile(module).onLine(10); in testAssistedInjectionRequest()
409 assertThat(compilation).hadErrorContaining(fooProviderError).inFile(component).onLine(10); in testAssistedInjectionRequest()
[all …]
DInjectConstructorFactoryGeneratorTest.java82 .onLine(6); in injectOnPrivateConstructor()
103 .onLine(7); in injectConstructorOnInnerClass()
120 .onLine(6); in injectConstructorOnAbstractClass()
556 .onLine(6); in multipleInjectConstructors()
560 .onLine(8); in multipleInjectConstructors()
578 .onLine(6); in multipleQualifiersOnInjectConstructorParameter()
595 .onLine(5) in injectConstructorOnClassWithMultipleScopes()
600 .onLine(5) in injectConstructorOnClassWithMultipleScopes()
621 .onLine(7); in injectConstructorWithQualifier()
625 .onLine(8); in injectConstructorWithQualifier()
[all …]
DSubcomponentBuilderValidationTest.java60 .onLine(10); in testMoreThanOneArgFails()
64 .onLine(11); in testMoreThanOneArgFails()
92 .onLine(13); in testInheritedMoreThanOneArgFails()
115 .onLine(10); in testSetterReturningNonVoidOrBuilderFails()
142 .onLine(13); in testInheritedSetterReturningNonVoidOrBuilderFails()
165 .onLine(10); in testGenericsOnSetterMethodFails()
191 .onLine(13); in testGenericsOnInheritedSetterMethodFails()
DModuleValidationTest.java93 .onLine(5); in moduleSubcomponents_notASubcomponent()
127 .onLine(5); in moduleSubcomponents_listsSubcomponentBuilder()
161 .onLine(5); in moduleSubcomponents_listsSubcomponentFactory()
195 .onLine(5); in moduleSubcomponents_listsProductionSubcomponentBuilder()
229 .onLine(5); in moduleSubcomponents_listsProductionSubcomponentFactory()
261 .onLine(5); in moduleSubcomponents_noSubcomponentCreator()
293 .onLine(5); in moduleSubcomponents_noProductionSubcomponentCreator()
312 .onLine(5); in moduleSubcomponentsAreTypes()
350 .onLine(5); in invalidIncludedModule()
356 .onLine(8); in invalidIncludedModule()
DBindsInstanceValidationTest.java92 .onLine(7); in bindsInstanceNotAbstract()
113 .onLine(6); in bindsInstanceNoParameters()
134 .onLine(6); in bindsInstanceManyParameters()
157 .onLine(8); in bindsInstanceFrameworkType()
162 .onLine(9); in bindsInstanceFrameworkType()
DAssistedInjectErrorsTest.java66 .onLine(8); in testAssistedInjectWithDuplicateTypesFails()
91 .onLine(8); in testAssistedInjectWithDuplicateTypesEmptyQualifierFails()
117 .onLine(8); in testAssistedInjectWithDuplicateQualifiedTypesFails()
144 .onLine(9); in testAssistedInjectWithDuplicateGenericTypesFails()
168 .onLine(8); in testAssistedInjectWithDuplicateParameterizedTypesFails()
DSubcomponentCreatorValidationTest.java408 .onLine(9); in testCreatorFactoryMethodReturnsWrongTypeFails()
434 .onLine(12); in testInheritedCreatorFactoryMethodReturnsWrongTypeFails()
457 .onLine(10); in testTwoFactoryMethodsFails()
484 .onLine(13); in testInheritedTwoFactoryMethodsFails()
553 .onLine(11); in testMultipleSettersPerTypeFails()
627 .onLine(15); in testMultipleSettersPerTypeIncludingResolvedGenericsFails()
745 .onLine(9); in testExtraSettersFails()
818 .onLine(11); in testMissingSettersFail()
919 .onLine(11); in covariantFactoryMethodReturnType_hasNewMethod()
DAssistedErrorsTest.java69 .onLine(7); in testAssistedNotWithAssistedInjectionConstructor()
74 .onLine(11); in testAssistedNotWithAssistedInjectionConstructor()
102 .onLine(12); in testNestedFactoryNotStatic()
DProducerModuleFactoryGeneratorTest.java181 assertThat(compilation).hadErrorContaining(errorMessage).inFile(moduleFile).onLine(8); in multipleProducesMethodsWithSameName()
182 assertThat(compilation).hadErrorContaining(errorMessage).inFile(moduleFile).onLine(12); in multipleProducesMethodsWithSameName()
214 .onLine(6); in privateModule()
236 .onLine(7); in enclosedInPrivateModule()
325 .onLine(8); in publicModuleNonPublicIncludes()
DModuleFactoryGeneratorTest.java134 .onLine(6); in modulesWithTypeParamsMustBeAbstract()
624 .onLine(8); in multipleProvidesMethodsWithSameName()
629 .onLine(12); in multipleProvidesMethodsWithSameName()
657 .onLine(8); in providesMethodThrowsChecked()
661 .onLine(12); in providesMethodThrowsChecked()
720 .onLine(6); in privateModule()
742 .onLine(7); in enclosedInPrivateModule()
808 .onLine(8); in publicModuleNonPublicIncludes()
DValidationReportTest.java61 assertThat(compilation).hadErrorContaining("simple error").inFile(TEST_CLASS_FILE).onLine(3); in basicReport()
83 .onLine(3); in messageOnDifferentElement()
107 assertThat(compilation).hadErrorContaining("simple error").inFile(TEST_CLASS_FILE).onLine(3); in subreport()
DComponentValidationTest.java117 .onLine(5); in componentWithInvalidModule()
138 assertThat(compilation).hadErrorContaining("wildcard type").inFile(testComponent).onLine(9); in attemptToInjectWildcardGenerics()
139 assertThat(compilation).hadErrorContaining("wildcard type").inFile(testComponent).onLine(10); in attemptToInjectWildcardGenerics()
DProductionComponentProcessorTest.java600 .onLine(33); in nullableProducersAreNotErrors()
604 .onLine(36); in nullableProducersAreNotErrors()
DMissingAndroidProcessorTest.java57 .onLine(9); in missingProcessor()
DSubcomponentValidationTest.java193 .onLine(7) in factoryMethod_nonModuleParameter()
230 .onLine(7) in factoryMethod_duplicateParameter()
267 .onLine(7); in factoryMethod_superflouousModule()
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/
DImplementsValidatorTest.java22 .onLine(5); in implementsWithoutClassOrClassName_shouldNotCompile()
41 .onLine(6); in value_withClassName_shouldNotCompile()
51 .onLine(7); in implementsWithParameterMismatch_shouldNotCompile()
61 .onLine(7); in implementsWithMissingParameters_shouldNotCompile()
71 .onLine(7); in implementsWithExtraParameters_shouldNotCompile()
82 .onLine(8) in constructorShadowWithoutImplementation_shouldNotCompile()
85 .onLine(10); in constructorShadowWithoutImplementation_shouldNotCompile()
DImplementationValidatorTest.java21 .onLine(7); in implementationWithoutImplements_shouldNotCompile()
31 .onLine(17) in implementationWithIncorrectVisibility_shouldNotCompile()
34 .onLine(21) in implementationWithIncorrectVisibility_shouldNotCompile()
37 .onLine(31) in implementationWithIncorrectVisibility_shouldNotCompile()
40 .onLine(34) in implementationWithIncorrectVisibility_shouldNotCompile()
DResetterValidatorTest.java20 .onLine(7); in resetterWithoutImplements_shouldNotCompile()
30 .onLine(10); in nonStaticResetter_shouldNotCompile()
40 .onLine(10); in nonPublicResetter_shouldNotCompile()
50 .onLine(11); in resetterWithParameters_shouldNotCompile()
DRealObjectValidatorTest.java26 .onLine(7); in realObjectWithoutImplements_shouldNotCompile()
36 .onLine(11); in realObjectParameterizedMissingParameters_shouldNotCompile()
46 .onLine(11); in realObjectParameterizedMismatch_shouldNotCompile()
75 .onLine(11); in realObjectWithTypeMismatch_shouldNotCompile()
85 .onLine(10); in realObjectWithClassName_typeMismatch_shouldNotCompile()
DSingleClassSubject.java103 public CompileTester.ChainingClause<SingleFileClause> onLine(long lineNumber) { in onLine() method in SingleClassSubject.SingleFileClause.SingleLineClause
105 lineClause.onLine(lineNumber); in onLine()
/external/dagger2/javatests/dagger/hilt/processor/internal/aggregateddeps/
DAggregatedDepsProcessorErrorsTest.java78 .onLine(12); in reportMultipleAnnotationTypeKindErrors()
82 .onLine(16); in reportMultipleAnnotationTypeKindErrors()
86 .onLine(20); in reportMultipleAnnotationTypeKindErrors()
91 .onLine(23); in reportMultipleAnnotationTypeKindErrors()
95 .onLine(27); in reportMultipleAnnotationTypeKindErrors()
121 .onLine(9); in testInvalidComponentInInstallInAnnotation()
143 .onLine(6); in testMissingInstallInAnnotation()
174 .onLine(8); in testNoErrorOnDaggerGeneratedModules()
/external/dagger2/javatests/dagger/hilt/android/processor/internal/aggregateddeps/
DTestInstallInTest.java53 .onLine(7); in testMissingValues()
152 .onLine(10); in testMissingModuleAnnotation()
189 .onLine(11); in testInvalidUsageOnEntryPoint()
217 .onLine(11); in testInvalidReplaceModules()
244 .onLine(11); in testInternalDaggerReplaceModules()
276 .onLine(12); in testHiltWrapperDaggerReplaceModules()
320 .onLine(11); in testCannotReplaceLocalInstallInModule()
363 .onLine(14); in testThatTestInstallInCannotOriginateFromTest()
/external/auto/factory/src/test/java/com/google/auto/factory/processor/
DAutoFactoryProcessorTest.java197 .in(file).onLine(24) in failsWithMixedFinals()
200 .in(file).onLine(27); in failsWithMixedFinals()
211 .in(file).onLine(21).atColumn(38); in providedButNoAutoFactory()
222 .in(file).onLine(21).atColumn(23); in providedOnMethodParameter()
232 .in(file).onLine(20); in invalidCustomName()
255 .in(file).onLine(21); in factoryExtendingAbstractClass_withConstructorParams()
275 .in(file).onLine(20); in factoryExtendingInterface()
287 .in(file).onLine(21); in factoryExtendingEnum()
298 .in(file).onLine(20); in factoryExtendingFinalClass()
/external/dagger2/javatests/dagger/hilt/processor/internal/disableinstallincheck/
DDisableInstallInCheckProcessorErrorsTest.java61 .onLine(7); in testIllegalCombinationInstallIn()
67 .onLine(11); in testIllegalCombinationInstallIn()
/external/dagger2/javatests/dagger/android/processor/
DAndroidMapKeyValidatorTest.java253 .onLine(LINES_BEFORE_METHOD + 3); in mismatchedMapKey_bindsFactory()
270 .onLine(LINES_BEFORE_METHOD + 3); in mismatchedMapKey_bindsBuilder()
287 .onLine(LINES_BEFORE_METHOD + 3); in mismatchedMapKey_bindsBuilder_androidInjectionKey()

12