public class ParametricTestWrapper extends AbstractParametricTestStatement
Constructor and Description |
---|
ParametricTestWrapper(Statement testStatement,
Object targetTest,
FrameworkMethod testMethod,
Object[] paramsValues)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate() |
Statement |
getTestStatement()
Gets the nested test statement for the parametric test.
|
void |
setTestStatement(Statement testStatement)
Sets the nested test statement for the parametric test.
|
getParamsValues, getTargetTest, getTestMethod, setParamsValues, setTargetTest, setTestMethod
public ParametricTestWrapper(Statement testStatement, Object targetTest, FrameworkMethod testMethod, Object[] paramsValues)
testStatement
- Nested test statement for the parametric test.targetTest
- The target test object for the method invocation.testMethod
- The JUnit framework method.paramsValues
- The parameters values for the test method.public Statement getTestStatement()
public void setTestStatement(Statement testStatement)
testStatement
- New nested test statement for the parametric test.public void evaluate() throws AtomParametricTestAssertionError, AtomParametricTestException
AtomParametricTestAssertionError
AtomParametricTestException
Statement#evaluate()
Copyright © 2012. All Rights Reserved.