org.apache.maven.surefire.its
Class AbstractSurefireIntegrationTestClass

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.surefire.its.AbstractSurefireIntegrationTestClass
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractTestCaseIT, AdditionalClasspathIT, AggregateReportIT, ArgLineIT, CheckSingleTestIT, CheckTestFailIfNoTestsForkModeIT, CheckTestFailIfNoTestsIT, CheckTestNgBeforeMethodFailureIT, CheckTestNgBeforeMethodIT, CheckTestNgExecuteErrorIT, CheckTestNgGroupThreadParallelIT, CheckTestNgJdk14IT, CheckTestNgListenerReporterIT, CheckTestNgPathWithSpacesIT, CheckTestNgSuiteXmlIT, CheckTestNgVersionsIT, ClasspathFilteringIT, ClassPathOrderIT, ClasspathScopeFilteringIT, DefaultConfigurationIT, EnvironmentVariableIT, ForkModeIT, IncludesExcludesIT, PlexusConflictIT, PojoSimpleIT, ResultCountingIT, RunOrderIT, SiblingAggregatorIT, Surefire141PluggableProvidersIT, TwoTestCasesIT, UmlautDirIT, WorkingDirectoryIT, WorkingDirectoryMissingIT

public abstract class AbstractSurefireIntegrationTestClass
extends junit.framework.TestCase

Base class of all integration test cases. Mainly used to pickup surefire version from system property

Author:
Dan T. Tran

Constructor Summary
AbstractSurefireIntegrationTestClass()
           
 
Method Summary
protected  void executeGoal(org.apache.maven.it.Verifier verifier, String goal)
           
protected  void executeGoals(org.apache.maven.it.Verifier verifier, List<String> goals)
           
protected  List<String> getInitialGoals()
           
protected  List<String> getInitialGoals(String testNgVersion)
           
protected  String 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

AbstractSurefireIntegrationTestClass

public AbstractSurefireIntegrationTestClass()
Method Detail

getInitialGoals

protected List<String> getInitialGoals()

getInitialGoals

protected List<String> getInitialGoals(String testNgVersion)

executeGoal

protected void executeGoal(org.apache.maven.it.Verifier verifier,
                           String goal)
                    throws org.apache.maven.it.VerificationException
Throws:
org.apache.maven.it.VerificationException

executeGoals

protected void executeGoals(org.apache.maven.it.Verifier verifier,
                            List<String> goals)
                     throws org.apache.maven.it.VerificationException
Throws:
org.apache.maven.it.VerificationException

getSurefireVersion

protected String getSurefireVersion()


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