org.apache.maven.plugin.idea
Class IdeaModuleTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.codehaus.plexus.PlexusTestCase
              extended byorg.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended byorg.apache.maven.plugin.idea.AbstractIdeaTestCase
                      extended byorg.apache.maven.plugin.idea.IdeaModuleTest
All Implemented Interfaces:
junit.framework.Test

public class IdeaModuleTest
extends AbstractIdeaTestCase

Author:
Edwin Punzalan

Field Summary
 
Fields inherited from class org.apache.maven.plugin.idea.AbstractIdeaTestCase
mojo
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
IdeaModuleTest()
           
 
Method Summary
protected  org.dom4j.Document executeMojo(java.lang.String pluginXml)
           
 void testEarMinConfig()
           
 void testEjbMinConfig()
           
 void testEjbProjectWithModulesConfigurations()
           
 void testExcludeDirectoryConfig()
           
 void testGeneralConfigurations()
           
 void testJarMinConfig()
           
 void testProjectArtifactsWithVersionRange()
           
 void testProjectWithLibrariesConfigurations()
           
 void testProjectWithLibraryExcludeConfigurations()
           
 void testProjectWithModulesConfigurations()
           
 void testProvidedDependencies()
           
 void testWarConfig()
           
 void testWarConfigWithProvidedDependency()
           
 void testWarMinConfig()
           
 void testWarProjectWithModulesConfigurations()
           
 
Methods inherited from class org.apache.maven.plugin.idea.AbstractIdeaTestCase
executeMojo, findComponent, findElement, findElementByNameAttribute, findElementsByName, readXmlDocument
 
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
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
 

Constructor Detail

IdeaModuleTest

public IdeaModuleTest()
Method Detail

testJarMinConfig

public void testJarMinConfig()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testProvidedDependencies

public void testProvidedDependencies()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testExcludeDirectoryConfig

public void testExcludeDirectoryConfig()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testWarMinConfig

public void testWarMinConfig()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testWarConfigWithProvidedDependency

public void testWarConfigWithProvidedDependency()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testEjbMinConfig

public void testEjbMinConfig()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testEarMinConfig

public void testEarMinConfig()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testGeneralConfigurations

public void testGeneralConfigurations()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testWarConfig

public void testWarConfig()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testProjectWithModulesConfigurations

public void testProjectWithModulesConfigurations()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testProjectWithLibrariesConfigurations

public void testProjectWithLibrariesConfigurations()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testProjectWithLibraryExcludeConfigurations

public void testProjectWithLibraryExcludeConfigurations()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testWarProjectWithModulesConfigurations

public void testWarProjectWithModulesConfigurations()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testEjbProjectWithModulesConfigurations

public void testEjbProjectWithModulesConfigurations()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testProjectArtifactsWithVersionRange

public void testProjectArtifactsWithVersionRange()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

executeMojo

protected org.dom4j.Document executeMojo(java.lang.String pluginXml)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.