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 java.lang.Object
evaluate(Script script, javax.script.Bindings bindings)
Evaluate the script using the given bindings.
-
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(Script script, javax.script.Bindings bindings) throws javax.script.ScriptException
Evaluate the script using the given bindings.- Parameters:
script
- the script to evaluatebindings
- the context-aware bindings- Returns:
- the result object
- Throws:
javax.script.ScriptException
- if an error occurs in script.
-
-