Package org.junit.jupiter.engine.script
Class ScriptExecutionManager
- java.lang.Object
-
- org.junit.jupiter.engine.script.ScriptExecutionManager
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Script script, Bindings bindings)
Evaluate the script using the given bindings.
-
-
-
Method Detail
-
evaluate
public Object evaluate(Script script, Bindings bindings) throws ScriptException
Evaluate the script using the given bindings.- Parameters:
script
- the script to evaluatebindings
- the context-aware bindings- Returns:
- the result object
- Throws:
ScriptException
- if an error occurs in script.
-
-