Class TestBenchGeneratorSetValueHandler
java.lang.Object
com.vaadin.copilot.testbenchgenerator.TestBenchGeneratorSetValueHandler
Generates TestBench statements that set values on component elements.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.ast.stmt.ExpressionStmthandle(String variableName, TestBenchElementClassInfo classInfo, String value) Generates the statement that sets a value on a TestBench element.
-
Constructor Details
-
TestBenchGeneratorSetValueHandler
public TestBenchGeneratorSetValueHandler()
-
-
Method Details
-
handle
public com.github.javaparser.ast.stmt.ExpressionStmt handle(String variableName, TestBenchElementClassInfo classInfo, String value) Generates the statement that sets a value on a TestBench element.- Parameters:
variableName- the variable name of the TestBench elementclassInfo- the TestBench element class informationvalue- the value to set- Returns:
- the generated set-value statement
-