de.holisticon.annotationprocessortoolkit.testhelper
Class AbstractAnnotationProcessorIntegrationTest<T extends Processor>
java.lang.Object
de.holisticon.annotationprocessortoolkit.testhelper.AbstractAnnotationProcessorTest<AnnotationProcessorIntegrationTestConfiguration>
de.holisticon.annotationprocessortoolkit.testhelper.AbstractAnnotationProcessorIntegrationTest<T>
public abstract class AbstractAnnotationProcessorIntegrationTest<T extends Processor>
- extends AbstractAnnotationProcessorTest<AnnotationProcessorIntegrationTestConfiguration>
Abstract test base class used to check if source files are processed correctly.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationProcessorIntegrationTest
protected AbstractAnnotationProcessorIntegrationTest(AnnotationProcessorIntegrationTestConfiguration annotationProcessorIntegrationTestConfiguration)
getAnnotationProcessor
protected T getAnnotationProcessor()
- Description copied from class:
AbstractAnnotationProcessorTest
- Gets the annotation processor to used for testing.
- Specified by:
getAnnotationProcessor in class AbstractAnnotationProcessorTest<AnnotationProcessorIntegrationTestConfiguration>
- Returns:
- the annotation processor to use for testing
getSourceFileForCompilation
protected JavaFileObject getSourceFileForCompilation()
- Description copied from class:
AbstractAnnotationProcessorTest
- Gets the
JavaFileObject to be compiled.
- Specified by:
getSourceFileForCompilation in class AbstractAnnotationProcessorTest<AnnotationProcessorIntegrationTestConfiguration>
- Returns:
- the code to be compiled
Copyright © 2017 Holisticon AG. All Rights Reserved.