org.apache.maven.plugin.war
Class WarManifestMojoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.war.WarManifestMojoTest
All Implemented Interfaces:
junit.framework.Test

public class WarManifestMojoTest
extends AbstractMojoTestCase

Author:
Allan Ramirez

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
WarManifestMojoTest()
           
 
Method Summary
 void loadMojo(String pluginXml)
           
 void testBasicManifest()
           
 void testEnvironment()
           
 void testManifestWithClasspath()
           
 void testManifestWithCustomAttributes()
           
 void testManifestWithMainClass()
           
 void testManifestWithOtherAttributes()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, setVariableValueToObject
 
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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WarManifestMojoTest

public WarManifestMojoTest()
Method Detail

testEnvironment

public void testEnvironment()
                     throws Exception
Throws:
Exception

testBasicManifest

public void testBasicManifest()
                       throws Exception
Throws:
Exception

testManifestWithClasspath

public void testManifestWithClasspath()
                               throws Exception
Throws:
Exception

testManifestWithMainClass

public void testManifestWithMainClass()
                               throws Exception
Throws:
Exception

testManifestWithOtherAttributes

public void testManifestWithOtherAttributes()
                                     throws Exception
Throws:
Exception

testManifestWithCustomAttributes

public void testManifestWithCustomAttributes()
                                      throws Exception
Throws:
Exception

loadMojo

public void loadMojo(String pluginXml)
              throws Exception
Throws:
Exception


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.