org.codehaus.modello

Class AbstractModelloGeneratorTest


public abstract class AbstractModelloGeneratorTest
extends AbstractModelloTest

Version:
$Id: AbstractModelloGeneratorTest.java 856 2007-08-06 13:31:13Z handyande $
Author:
Trygve Laugstøl

Constructor Summary

AbstractModelloGeneratorTest(String name)

Method Summary

protected void
addClassPathFile(File file)
void
addDependency(String groupId, String artifactId, String version)
protected void
assertGeneratedFileExists(String filename)
protected void
compile(File generatedSources, File destinationDirectory)
protected List
getClassPathElements()
List
getClasspath()
protected File
getDepedencyFile(String groupId, String artifactId, String version)
protected File
getGeneratedSources()
protected String
getModelloVersion()
String
getName()
protected void
printClasspath(URLClassLoader classLoader)
protected void
setUp()
protected void
verify(String className, String testName)

Constructor Details

AbstractModelloGeneratorTest

protected AbstractModelloGeneratorTest(String name)

Method Details

addClassPathFile

protected void addClassPathFile(File file)
            throws MalformedURLException

addDependency

public void addDependency(String groupId,
                          String artifactId,
                          String version)
            throws MalformedURLException

assertGeneratedFileExists

protected void assertGeneratedFileExists(String filename)

compile

protected void compile(File generatedSources,
                       File destinationDirectory)
            throws IOException,
                   CompilerException

getClassPathElements

protected List getClassPathElements()

getClasspath

public List getClasspath()

getDepedencyFile

protected File getDepedencyFile(String groupId,
                                String artifactId,
                                String version)

getGeneratedSources

protected File getGeneratedSources()

getModelloVersion

protected String getModelloVersion()
            throws IOException

getName

public String getName()

printClasspath

protected void printClasspath(URLClassLoader classLoader)

setUp

protected void setUp()
            throws Exception

verify

protected void verify(String className,
                      String testName)
            throws MalformedURLException