de.holisticon.annotationprocessortoolkit.testhelper
Class AbstractAnnotationProcessorTest<T extends AnnotationProcessorCommonTestConfiguration>
java.lang.Object
de.holisticon.annotationprocessortoolkit.testhelper.AbstractAnnotationProcessorTest<T>
- Direct Known Subclasses:
- AbstractAnnotationProcessorIntegrationTest, AbstractAnnotationProcessorUnitTest
public abstract class AbstractAnnotationProcessorTest<T extends AnnotationProcessorCommonTestConfiguration>
- extends Object
Abstract base class which allows parameterized tests.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_EXECUTION_MESSAGE
public static final String TEST_EXECUTION_MESSAGE
- See Also:
- Constant Field Values
AbstractAnnotationProcessorTest
public AbstractAnnotationProcessorTest(T annotationProcessorCommonTestConfiguration)
getAnnotationProcessor
protected abstract Processor getAnnotationProcessor()
- Gets the annotation processor to used for testing.
- Returns:
- the annotation processor to use for testing
getSourceFileForCompilation
protected abstract JavaFileObject getSourceFileForCompilation()
- Gets the
JavaFileObject to be compiled.
- Returns:
- the code to be compiled
test
protected void test()
getAnnotationProcessorTestConfiguration
protected T getAnnotationProcessorTestConfiguration()
Copyright © 2017 Holisticon AG. All Rights Reserved.