Package org.codehaus.modello
Class AbstractModelloGeneratorTest
java.lang.Object
org.codehaus.modello.AbstractModelloGeneratorTest
- All Implemented Interfaces:
org.codehaus.plexus.testing.PlexusTestConfiguration
- Direct Known Subclasses:
AbstractModelloJavaGeneratorTest
public abstract class AbstractModelloGeneratorTest
extends Object
implements org.codehaus.plexus.testing.PlexusTestConfiguration
Abstract class for Modello plugins unit-tests that check output generated by the plugin.
- Author:
- Trygve Laugstøl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SAXParsercreateSaxParserWithSchema(String generatedXsdName) voidcustomizeConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration) getModelloParameters(String version) getModelloParameters(String version, Integer javaSource) getName()protected Fileprotected ReadergetXmlResourceReader(String name) voidsetUp()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.plexus.testing.PlexusTestConfiguration
customizeContainer
-
Constructor Details
-
AbstractModelloGeneratorTest
-
-
Method Details
-
setUp
- Throws:
Exception
-
getOutputDirectory
-
getName
-
getModelloParameters
-
getModelloParameters
-
getModelloParameters
-
getXmlResourceReader
- Throws:
IOException
-
createSaxParserWithSchema
protected SAXParser createSaxParserWithSchema(String generatedXsdName) throws ParserConfigurationException, SAXException -
customizeConfiguration
public void customizeConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration) - Specified by:
customizeConfigurationin interfaceorg.codehaus.plexus.testing.PlexusTestConfiguration
-