Package org.nuiton.jaxx.plugin
Class JaxxBaseTest
- java.lang.Object
-
- org.nuiton.jaxx.plugin.JaxxBaseTest
-
- Direct Known Subclasses:
Bug1404Test
,Bug1722Test
,Bug1750Test
,Bug1751Test
,Bug184Test
,CompilerTest
,CompilerValidatorTest
,DataBindingTest
,DecoratorTest
,Evolution74Test
,I18nTest
,LambdaTest
public abstract class JaxxBaseTest extends Object
Base test case for a jaxx:generate goal.- Author:
- Tony Chemit - chemit@codelutin.com
- See Also:
GenerateMojo
-
-
Field Summary
Fields Modifier and Type Field Description org.nuiton.plugin.MojoTestRule<GenerateMojo>
rule
-
Constructor Summary
Constructors Constructor Description JaxxBaseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assertError(jaxx.compiler.JAXXEngine engine, String file, int nbCompiler)
protected void
assertNumberJaxxFiles(int expectedNbFiles)
protected void
checkPattern(GenerateMojo mojo, String pattern, boolean required, String... files)
GenerateMojo
getMojo()
-
-
-
Field Detail
-
rule
public org.nuiton.plugin.MojoTestRule<GenerateMojo> rule
-
-
Method Detail
-
checkPattern
protected void checkPattern(GenerateMojo mojo, String pattern, boolean required, String... files) throws IOException
- Throws:
IOException
-
getMojo
public GenerateMojo getMojo()
-
assertNumberJaxxFiles
protected void assertNumberJaxxFiles(int expectedNbFiles)
-
-