org.codehaus.modello
Class AbstractModelloGeneratorTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.codehaus.modello.AbstractModelloTest
org.codehaus.modello.AbstractModelloGeneratorTest
- All Implemented Interfaces:
- junit.framework.Test
public abstract class AbstractModelloGeneratorTest
- extends AbstractModelloTest
- Version:
- $Id: AbstractModelloGeneratorTest.java 795 2007-02-08 08:50:51Z brett $
- Author:
- Trygve Laugstøl
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir, container |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractModelloGeneratorTest
protected AbstractModelloGeneratorTest(java.lang.String name)
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class org.codehaus.plexus.PlexusTestCase
- Throws:
java.lang.Exception
getGeneratedSources
protected java.io.File getGeneratedSources()
addDependency
public void addDependency(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getDepedencyFile
protected java.io.File getDepedencyFile(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
getName
public java.lang.String getName()
- Overrides:
getName
in class junit.framework.TestCase
getClasspath
public java.util.List getClasspath()
compile
protected void compile(java.io.File generatedSources,
java.io.File destinationDirectory)
throws java.io.IOException,
org.codehaus.plexus.compiler.CompilerException
- Throws:
java.io.IOException
org.codehaus.plexus.compiler.CompilerException
verify
protected void verify(java.lang.String className,
java.lang.String testName)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
addClassPathFile
protected void addClassPathFile(java.io.File file)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
printClasspath
protected void printClasspath(java.net.URLClassLoader classLoader)
assertGeneratedFileExists
protected void assertGeneratedFileExists(java.lang.String filename)
getClassPathElements
protected java.util.List getClassPathElements()
Copyright © 2001-2011 Codehaus. All Rights Reserved.