#112 Making @Inject et al. available for processor tests

This commit is contained in:
Gunnar Morling 2014-01-28 22:21:02 +01:00
parent 6b28c161e9
commit 05b2e49364
2 changed files with 6 additions and 1 deletions

View File

@ -74,6 +74,11 @@
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -80,7 +80,7 @@ public abstract class MapperTestBase {
private DiagnosticCollector<JavaFileObject> diagnostics; private DiagnosticCollector<JavaFileObject> diagnostics;
public MapperTestBase() { public MapperTestBase() {
this.libraries = Arrays.asList( "mapstruct.jar", "guava.jar" ); this.libraries = Arrays.asList( "mapstruct.jar", "guava.jar", "javax.inject.jar" );
} }
@BeforeClass @BeforeClass