Searched refs:withErrorContaining (Results 1 – 9 of 9) sorted by relevance
21 .withErrorContaining("@Implements: must specify <value> or <className>") in implementsWithoutClassOrClassName_shouldNotCompile()40 .withErrorContaining("@Implements: cannot specify both <value> and <className> attributes") in value_withClassName_shouldNotCompile()50 ….withErrorContaining("Shadow type must have same type parameters as its real counterpart: expected… in implementsWithParameterMismatch_shouldNotCompile()60 ….withErrorContaining("Shadow type is missing type parameters, expected <T,N extends java.lang.Numb… in implementsWithMissingParameters_shouldNotCompile()70 .withErrorContaining("Shadow type has type parameters but real type does not") in implementsWithExtraParameters_shouldNotCompile()81 .withErrorContaining("Shadow methods must be annotated @Implementation") in constructorShadowWithoutImplementation_shouldNotCompile()84 .withErrorContaining("Shadow methods must be annotated @Implementation") in constructorShadowWithoutImplementation_shouldNotCompile()
20 .withErrorContaining("@Implementation without @Implements") in implementationWithoutImplements_shouldNotCompile()30 ….withErrorContaining("@Implementation methods should be protected (preferred) or public (deprecate… in implementationWithIncorrectVisibility_shouldNotCompile()33 ….withErrorContaining("@Implementation methods should be protected (preferred) or public (deprecate… in implementationWithIncorrectVisibility_shouldNotCompile()36 ….withErrorContaining("@Implementation methods should be protected (preferred) or public (deprecate… in implementationWithIncorrectVisibility_shouldNotCompile()39 ….withErrorContaining("@Implementation methods should be protected (preferred) or public (deprecate… in implementationWithIncorrectVisibility_shouldNotCompile()
19 .withErrorContaining("@Resetter without @Implements") in resetterWithoutImplements_shouldNotCompile()29 .withErrorContaining("@Resetter methods must be static") in nonStaticResetter_shouldNotCompile()39 .withErrorContaining("@Resetter methods must be public") in nonPublicResetter_shouldNotCompile()49 .withErrorContaining("@Resetter methods must not have parameters") in resetterWithParameters_shouldNotCompile()
25 .withErrorContaining("@RealObject without @Implements") in realObjectWithoutImplements_shouldNotCompile()35 .withErrorContaining("@RealObject is missing type parameters") in realObjectParameterizedMissingParameters_shouldNotCompile()45 .withErrorContaining("Parameter type mismatch: expecting <T,S>, was <S,T>") in realObjectParameterizedMismatch_shouldNotCompile()74 ….withErrorContaining("@RealObject with type <com.example.objects.UniqueDummy>; expected <com.examp… in realObjectWithTypeMismatch_shouldNotCompile()84 ….withErrorContaining("@RealObject with type <com.example.objects.UniqueDummy>; expected <com.examp… in realObjectWithClassName_typeMismatch_shouldNotCompile()
68 public SingleLineClause withErrorContaining(final String messageFragment) { in withErrorContaining() method in SingleClassSubject.SingleFileClause70 return new SingleLineClause(unsuccessful.withErrorContaining(messageFragment).in(source)); in withErrorContaining()79 unsuccessful.withErrorContaining(messageFragment); in withNoErrorContaining()
195 .withErrorContaining( in failsWithMixedFinals()198 .and().withErrorContaining( in failsWithMixedFinals()209 .withErrorContaining( in providedButNoAutoFactory()220 .withErrorContaining( in providedOnMethodParameter()231 .withErrorContaining("\"SillyFactory!\" is not a valid Java identifier") in invalidCustomName()251 .withErrorContaining( in factoryExtendingAbstractClass_withConstructorParams()273 .withErrorContaining("java.lang.Runnable is not a valid supertype for a factory. " in factoryExtendingInterface()284 .withErrorContaining( in factoryExtendingEnum()296 .withErrorContaining("java.lang.Boolean is not a valid supertype for a factory. " in factoryExtendingFinalClass()
65 .withErrorContaining(MISSING_SERVICES_ERROR); in badMultiService()
471 .withErrorContaining(RequiresGeneratedCodeProcessor.class.getCanonicalName())490 .withErrorContaining("purposeful");
96 .withErrorContaining("inner shadow classes must be static"); in generatedFile_shouldComplainAboutNonStaticInnerClasses()