org.apache.maven.it
Class MavenITmng3004ReactorFailureBehaviorMultithreadedTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.it.AbstractMavenIntegrationTestCase
              extended by org.apache.maven.it.MavenITmng3004ReactorFailureBehaviorMultithreadedTest
All Implemented Interfaces:
Test

public class MavenITmng3004ReactorFailureBehaviorMultithreadedTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-3004.

Version:
$Id: MavenITmng3004ReactorFailureBehaviorMultithreadedTest.java 1072638 2011-02-20 17:18:22Z bentmann $
Author:
Dan Fabulich

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng3004ReactorFailureBehaviorMultithreadedTest()
           
 
Method Summary
 void testitFailAtEndSingleThread()
          Test fail-at-end reactor behavior.
 void testitFailAtEndTwoThreads()
          Test fail-at-end reactor behavior.
 void testitFailFastSingleThread()
          Test fail-fast reactor behavior.
 void testitFailNeverSingleThread()
          Test fail-never reactor behavior.
 void testitFailNeverTwoThreads()
          Test fail-never reactor behavior.
 
Methods inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, 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

MavenITmng3004ReactorFailureBehaviorMultithreadedTest

public MavenITmng3004ReactorFailureBehaviorMultithreadedTest()
Method Detail

testitFailFastSingleThread

public void testitFailFastSingleThread()
                                throws Exception
Test fail-fast reactor behavior. Forces an exception to be thrown in the first module and checks that the second & third module is not built and the overall build fails, too.

Throws:
Exception

testitFailNeverSingleThread

public void testitFailNeverSingleThread()
                                 throws Exception
Test fail-never reactor behavior. Forces an exception to be thrown in the first module, but checks that the second & third module is built and the overall build succeeds.

Throws:
Exception

testitFailAtEndSingleThread

public void testitFailAtEndSingleThread()
                                 throws Exception
Test fail-at-end reactor behavior. Forces an exception to be thrown in the first module and checks that the second module is still built but the overall build finally fails and the third module (which depends on the failed module) is skipped.

Throws:
Exception

testitFailNeverTwoThreads

public void testitFailNeverTwoThreads()
                               throws Exception
Test fail-never reactor behavior. Forces an exception to be thrown in the first module, but checks that the second & third module is built and the overall build succeeds.

Throws:
Exception

testitFailAtEndTwoThreads

public void testitFailAtEndTwoThreads()
                               throws Exception
Test fail-at-end reactor behavior. Forces an exception to be thrown in the first module and checks that the second module is still built but the overall build finally fails and the third module (which depends on the failed module) is skipped.

Throws:
Exception


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