org.apache.maven.surefire.its
Class TwoTestCasesIT

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.surefire.its.AbstractSurefireIntegrationTestClass
              extended by org.apache.maven.surefire.its.TwoTestCasesIT
All Implemented Interfaces:
junit.framework.Test

public class TwoTestCasesIT
extends AbstractSurefireIntegrationTestClass

Test running two test cases; confirms reporting works correctly

Author:
Dan Fabulich

Constructor Summary
TwoTestCasesIT()
           
 
Method Summary
 void testJunit4Suite()
           
 void testTestNGSuite()
           
 void testTwoTestCases()
           
 void testTwoTestCaseSuite()
          Runs two tests encapsulated in a suite
 
Methods inherited from class org.apache.maven.surefire.its.AbstractSurefireIntegrationTestClass
executeGoal, executeGoals, getInitialGoals, getInitialGoals, getSurefireVersion
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TwoTestCasesIT

public TwoTestCasesIT()
Method Detail

testTwoTestCases

public void testTwoTestCases()
                      throws Exception
Throws:
Exception

testTwoTestCaseSuite

public void testTwoTestCaseSuite()
                          throws Exception
Runs two tests encapsulated in a suite

Throws:
Exception

testJunit4Suite

public void testJunit4Suite()
                     throws Exception
Throws:
Exception

testTestNGSuite

public void testTestNGSuite()
                     throws Exception
Throws:
Exception


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