org.apache.maven.shared.release.exec
Class ForkedMavenExecutorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.shared.release.exec.ForkedMavenExecutorTest
All Implemented Interfaces:
Test

public class ForkedMavenExecutorTest
extends org.codehaus.plexus.PlexusTestCase

Test the forked Maven executor.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ForkedMavenExecutorTest()
           
 
Method Summary
protected  void setUp()
           
 void testExecution()
           
 void testExecutionWithArguments()
           
 void testExecutionWithCommandLineException()
           
 void testExecutionWithCustomPomFile()
           
 void testExecutionWithNonZeroExitCode()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForkedMavenExecutorTest

public ForkedMavenExecutorTest()
Method Detail

setUp

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

testExecution

public void testExecution()
                   throws Exception
Throws:
Exception

testExecutionWithCustomPomFile

public void testExecutionWithCustomPomFile()
                                    throws Exception
Throws:
Exception

testExecutionWithArguments

public void testExecutionWithArguments()
                                throws Exception
Throws:
Exception

testExecutionWithNonZeroExitCode

public void testExecutionWithNonZeroExitCode()
                                      throws Exception
Throws:
Exception

testExecutionWithCommandLineException

public void testExecutionWithCommandLineException()
                                           throws Exception
Throws:
Exception


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