public class TestCaseBuilder extends ExpressionBuilder
Constructor and Description |
---|
TestCaseBuilder(Set<TestCaseParam> params)
Creates a new reference replacer, that converts the given expression
to a test case using the given set of test case parameters
|
Modifier and Type | Method and Description |
---|---|
Expression |
visitReference(Reference reference)
Replaces the reference with the appropriate test case parameter(s).
|
getExpression, visitBinaryOperation, visitFunctionCall, visitLiteral, visitUnaryOperation
public TestCaseBuilder(Set<TestCaseParam> params)
params
- the parameters of which the test case consistspublic Expression visitReference(Reference reference)
visitReference
in interface ExpressionVisitor
visitReference
in class ExpressionBuilder
reference
- the reference to visit