org.apache.maven.surefire.junit
Class PojoTestSet

java.lang.Object
  extended by org.apache.maven.surefire.junit.PojoTestSet
All Implemented Interfaces:
SurefireTestSet

public class PojoTestSet
extends Object
implements SurefireTestSet


Field Summary
protected  Method setUpMethod
           
protected  Method tearDownMethod
           
protected  List testMethods
           
 
Constructor Summary
PojoTestSet(Class testClass)
           
 
Method Summary
 void execute(Reporter reportManager, ClassLoader loader)
           
protected  boolean executeTestMethod(Method method, Object[] args, Reporter reportManager)
           
protected  void executeTestMethods(Reporter reportManager)
           
 String getName()
           
 Class getTestClass()
           
 String getTestName(String testMethodName)
           
 void setUpFixture()
           
 void tearDownFixture()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testMethods

protected List testMethods

setUpMethod

protected Method setUpMethod

tearDownMethod

protected Method tearDownMethod
Constructor Detail

PojoTestSet

public PojoTestSet(Class testClass)
            throws TestSetFailedException
Throws:
TestSetFailedException
Method Detail

execute

public void execute(Reporter reportManager,
                    ClassLoader loader)
             throws TestSetFailedException
Specified by:
execute in interface SurefireTestSet
Throws:
TestSetFailedException

executeTestMethods

protected void executeTestMethods(Reporter reportManager)

executeTestMethod

protected boolean executeTestMethod(Method method,
                                    Object[] args,
                                    Reporter reportManager)

getTestName

public String getTestName(String testMethodName)

setUpFixture

public void setUpFixture()
                  throws Throwable
Throws:
Throwable

tearDownFixture

public void tearDownFixture()
                     throws Throwable
Throws:
Throwable

getName

public String getName()
Specified by:
getName in interface SurefireTestSet

getTestClass

public Class getTestClass()
Specified by:
getTestClass in interface SurefireTestSet


Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.