public abstract class AbstractParametricTestStatement
extends Statement
Constructor and Description |
---|
AbstractParametricTestStatement(Object targetTest,
FrameworkMethod testMethod,
Object[] paramsValues)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getParamsValues()
Gets the parameters values for the test method.
|
Object |
getTargetTest()
Returns the target test object for the method invocation.
|
FrameworkMethod |
getTestMethod()
Returns the JUnit framework method.
|
void |
setParamsValues(Object[] paramsValues)
Sets the parameters values for the test method.
|
void |
setTargetTest(Object targetTest)
Sets the target test object for the method invocation.
|
void |
setTestMethod(FrameworkMethod testMethod)
Sets the JUnit framework method.
|
public AbstractParametricTestStatement(Object targetTest, FrameworkMethod testMethod, Object[] paramsValues)
targetTest
- The target test object for the method invocation.testMethod
- The JUnit framework method.paramsValues
- The parameters values for the test method.public Object getTargetTest()
public void setTargetTest(Object targetTest)
targetTest
- New target test object for the method invocation.public FrameworkMethod getTestMethod()
public void setTestMethod(FrameworkMethod testMethod)
testMethod
- New JUnit framework method.public Object[] getParamsValues()
public void setParamsValues(Object[] paramsValues)
paramsValues
- New parameters values for the test method.Copyright © 2012. All Rights Reserved.