Package org.apache.maven.surefire.junit
Class PojoTestSet
java.lang.Object
org.apache.maven.surefire.junit.PojoTestSet
- All Implemented Interfaces:
SurefireTestSet
Executes a JUnit3 test class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidexecute(RunListener reportManager, ClassLoader loader) private booleanexecuteTestMethod(Method method, RunListener reportManager) private voidexecuteTestMethods(RunListener reportManager) getName()private Class<?>private StringgetTestName(String testMethodName) private static booleanprivate static booleanprivate voidsetUpFixture(Object testObject) private voidtearDownFixture(Object testObject)
-
Field Details
-
TEST_METHOD_PREFIX
- See Also:
-
SETUP_METHOD_NAME
- See Also:
-
TEARDOWN_METHOD_NAME
- See Also:
-
EMPTY_OBJECT_ARRAY
-
testClass
-
testMethods
-
setUpMethod
-
tearDownMethod
-
-
Constructor Details
-
PojoTestSet
-
-
Method Details
-
execute
- Specified by:
executein interfaceSurefireTestSet- Throws:
TestSetFailedException
-
executeTestMethods
- Throws:
TestSetFailedException
-
executeTestMethod
private boolean executeTestMethod(Method method, RunListener reportManager) throws TestSetFailedException - Throws:
TestSetFailedException
-
getTestName
-
setUpFixture
- Throws:
Throwable
-
tearDownFixture
- Throws:
Throwable
-
discoverTestMethods
private void discoverTestMethods() -
isNoArgsInstanceMethod
-
isValidTestMethod
-
getName
- Specified by:
getNamein interfaceSurefireTestSet
-
getTestClass
-