Skip to content

Test Result : AbstractScriptEngineTest

0 failures (±0)
46 tests (±0)
Took 2.3 sec.

All Tests

Test nameDurationStatus
Reporting / Constructor sets job name0 msPassed
Reporting / addExecutionListener() adds an engine listener2 msPassed
Reporting / addSecurityCheck() adds failing check2 msPassed
Reporting / addSecurityCheck() adds passing check2 msPassed
Reporting / buffered variables are injected into the eninge1 msPassed
Reporting / engine notification handles exceptions gracefully3 msPassed
Reporting / execute errorous code and terminate2 msPassed
Reporting / execute valid code and terminate1 msPassed
Reporting / execute() processes script when engine is started1 msPassed
Reporting / execute() schedules script1 msPassed
Reporting / getDescription() = null by default0 msPassed
Reporting / getDescription() returns engine description1 msPassed
Reporting / getErrorStream() defaults to System.err1 msPassed
Reporting / getExecutedFile() = null for dynamic code1 msPassed
Reporting / getExecutedFile() returns execution root file1 msPassed
Reporting / getExecutedFile() returns script resource1 msPassed
Reporting / getInputStream() defaults to System.in1 msPassed
Reporting / getLaunch() = null by default1 msPassed
Reporting / getLaunch() returns previously set launch1 msPassed
Reporting / getOutputStream() defaults to System.out1 msPassed
Reporting / getStackTrace() returns empty trace for fresh engine1 msPassed
Reporting / getStackTrace() returns empty trace for terminated engine1 msPassed
Reporting / getStackTrace() returns stack of size 1 during execution1 msPassed
Reporting / getVariable() = null for non existing variable0 msPassed
Reporting / getVariable() returns buffered variable1 msPassed
Reporting / getVariables() returns all buffered variables0 msPassed
Reporting / hasVariable() = false when no variable is set1 msPassed
Reporting / hasVariable() = true when variable is set1 msPassed
Reporting / inject() executes code in the middle of a script1 msPassed
Reporting / instance extends Job.class0 msPassed
Reporting / isFinished() = false for not started engine1 msPassed
Reporting / isFinished() = true for finished engine1 msPassed
Reporting / joinEngine() waits for engine to terminate1 secPassed
Reporting / joinEngine(x) waits for x ms1 secPassed
Reporting / removeExecutionListener() removes an engine listener1 msPassed
Reporting / setCloseStreamsOnTerminate(false) keeps streams open2 msPassed
Reporting / setCloseStreamsOnTerminate(true) closes streams2 msPassed
Reporting / setErrorStream() changes error stream1 msPassed
Reporting / setErrorStream(null) resets error stream1 msPassed
Reporting / setInputStream() changes input stream1 msPassed
Reporting / setInputStream(null) resets input stream1 msPassed
Reporting / setOutputStream() changes output stream0 msPassed
Reporting / setOutputStream(null) resets output stream1 msPassed
Reporting / streams are not closed by default on engine termination2 msPassed
Reporting / terminate() does nothing for non-launched engine1 msPassed
Reporting / terminate() stops running engine0.2 secPassed