Class JUnitTestSuiteProcessor
- java.lang.Object
-
- org.eclipse.xtend.lib.macro.AbstractClassProcessor
-
- de.bmiag.tapir.execution.annotations.suite.TestSuiteProcessor
-
- de.bmiag.tapir.junitexecution.annotations.suite.JUnitTestSuiteProcessor
-
- All Implemented Interfaces:
org.eclipse.xtend.lib.macro.CodeGenerationParticipant<org.eclipse.xtend.lib.macro.declaration.ClassDeclaration>
,org.eclipse.xtend.lib.macro.RegisterGlobalsParticipant<org.eclipse.xtend.lib.macro.declaration.ClassDeclaration>
,org.eclipse.xtend.lib.macro.TransformationParticipant<org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration>
,org.eclipse.xtend.lib.macro.ValidationParticipant<org.eclipse.xtend.lib.macro.declaration.ClassDeclaration>
@Order(-9000) public class JUnitTestSuiteProcessor extends TestSuiteProcessor
In contrast toTestSuiteProcessor
this processor additional adds theRunWith
annotation in order to fulfill the JUnit API and to make the annotated class executable by JUnit.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description JUnitTestSuiteProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTransform(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass, org.eclipse.xtend.lib.macro.TransformationContext context)
-
Methods inherited from class de.bmiag.tapir.execution.annotations.suite.TestSuiteProcessor
addMainMethod
-
-
-
-
Method Detail
-
doTransform
public void doTransform(org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration annotatedClass, @Extension org.eclipse.xtend.lib.macro.TransformationContext context)
- Overrides:
doTransform
in classTestSuiteProcessor
-
-