org.codehaus.modello

Class AbstractModelloGeneratorTest

public abstract class AbstractModelloGeneratorTest extends AbstractModelloTest

Version: $Id: AbstractModelloGeneratorTest.java 795 2007-02-08 08:50:51Z brett $

Author: Trygve Laugstøl

Constructor Summary
protected AbstractModelloGeneratorTest(String name)
Method Summary
protected voidaddClassPathFile(File file)
voidaddDependency(String groupId, String artifactId, String version)
protected voidassertGeneratedFileExists(String filename)
protected voidcompile(File generatedSources, File destinationDirectory)
ListgetClasspath()
protected ListgetClassPathElements()
protected FilegetDepedencyFile(String groupId, String artifactId, String version)
protected FilegetGeneratedSources()
StringgetName()
protected voidprintClasspath(URLClassLoader classLoader)
protected voidsetUp()
protected voidverify(String className, String testName)

Constructor Detail

AbstractModelloGeneratorTest

protected AbstractModelloGeneratorTest(String name)

Method Detail

addClassPathFile

protected void addClassPathFile(File file)

addDependency

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

assertGeneratedFileExists

protected void assertGeneratedFileExists(String filename)

compile

protected void compile(File generatedSources, File destinationDirectory)

getClasspath

public List getClasspath()

getClassPathElements

protected List getClassPathElements()

getDepedencyFile

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

getGeneratedSources

protected File getGeneratedSources()

getName

public String getName()

printClasspath

protected void printClasspath(URLClassLoader classLoader)

setUp

protected void setUp()

verify

protected void verify(String className, String testName)
Copyright © 2001-2009 Codehaus. All Rights Reserved.