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 void
void
execute
(RunListener reportManager, ClassLoader loader) private boolean
executeTestMethod
(Method method, RunListener reportManager) private void
executeTestMethods
(RunListener reportManager) getName()
private Class<?>
private String
getTestName
(String testMethodName) private static boolean
private static boolean
private void
setUpFixture
(Object testObject) private void
tearDownFixture
(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:
execute
in 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:
getName
in interfaceSurefireTestSet
-
getTestClass
-