org.apache.maven.tools.plugin.generator
Class AbstractGeneratorTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.tools.plugin.generator.AbstractGeneratorTestCase
All Implemented Interfaces:
Test
Direct Known Subclasses:
PluginDescriptorGeneratorTest, PluginHelpGeneratorTest, PluginXdocGeneratorTest

public abstract class AbstractGeneratorTestCase
extends org.codehaus.plexus.PlexusTestCase

Version:
$Id: AbstractGeneratorTestCase.java,v 1.1 2005/02/20 16:25:21 jdcasey Exp $
Author:
Jason van Zyl

Field Summary
protected  String basedir
           
protected  Generator generator
           
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
container
 
Constructor Summary
AbstractGeneratorTestCase()
           
 
Method Summary
protected  void setUp()
           
protected  void setupGenerator()
           
 void testGenerator()
           
protected  void validate(File destinationDirectory)
           
 
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, getName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

generator

protected Generator generator

basedir

protected String basedir
Constructor Detail

AbstractGeneratorTestCase

public AbstractGeneratorTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testGenerator

public void testGenerator()
                   throws Exception
Throws:
Exception

setupGenerator

protected void setupGenerator()
                       throws Exception
Throws:
Exception

validate

protected void validate(File destinationDirectory)
                 throws Exception
Throws:
Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.