org.apache.maven.surefire.its
Class TestNgParallelWithAnnotations

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

public class TestNgParallelWithAnnotations
extends SurefireVerifierTestClass

Test that TestNG's @Test(threadPoolSize = n, invocationCount=n) causes tests to be run in parallel.

Author:
Haikal Saadh

Constructor Summary
TestNgParallelWithAnnotations()
           
 
Method Summary
 void testTestNgGroupThreadParallel()
           
 
Methods inherited from class org.apache.maven.surefire.its.SurefireVerifierTestClass
activateProfile, addGoal, assertContainsText, assertNotPresent, assertPresent, assertTestSuiteResults, debugLogging, execute, executeTest, failNever, forkAlways, forkMode, forkNever, forkOnce, getInitialGoals, getSiteFile, getSiteFile, getSubFile, getSurefireReportsFile, getSurefireVersion, getTestDir, getVerifier, isMaven3X, printSummary, redirectToFile, reset, showErrorStackTraces, verifyErrorFreeLog, verifyTextInLog
 
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

TestNgParallelWithAnnotations

public TestNgParallelWithAnnotations()
Method Detail

testTestNgGroupThreadParallel

public void testTestNgGroupThreadParallel()
                                   throws Exception
Throws:
Exception


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