Lines Matching refs:hasError
54 .hasError("must be abstract"); in nonAbstract()
59 assertThatMethod("@Binds abstract String notAssignable(Object impl);").hasError("assignable"); in notAssignable()
65 .hasError("one parameter"); in moreThanOneParameter()
71 .hasError("type parameters"); in typeParameters()
77 .hasError("within a @Module or @ProducerModule"); in notInModule()
84 .hasError("only throw unchecked"); in throwsException()
89 assertThatMethod("@Binds abstract void returnsVoid(Object impl);").hasError("void"); in returnsVoid()
97 .hasError("more than one @Qualifier"); in tooManyQualifiersOnMethod()
105 .hasError("more than one @Qualifier"); in tooManyQualifiersOnParameter()
110 assertThatMethod("@Binds abstract Object noParameters();").hasError("one parameter"); in noParameters()
117 .hasError("assignable"); in setElementsNotAssignable()
123 .hasError("assignable"); in setElements_primitiveArgument()
129 .hasError("cannot return a raw Set"); in elementsIntoSet_withRawSets()
135 .hasError("methods of type map must declare a map key"); in intoMap_noMapKey()
143 .hasError("may not have more than one map key"); in intoMap_multipleMapKeys()