Skip to content

Test Result : AbstractScriptEngineTest

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

All Tests

Test nameDurationStatus
Reporting / Constructor sets job name0 msPassed
Reporting / addExecutionListener() adds an engine listener1 msPassed
Reporting / addSecurityCheck() adds failing check1 msPassed
Reporting / addSecurityCheck() adds passing check1 msPassed
Reporting / buffered variables are injected into the eninge1 msPassed
Reporting / engine notification handles exceptions gracefully1 msPassed
Reporting / execute errorous code and terminate1 msPassed
Reporting / execute valid code and terminate1 msPassed
Reporting / execute() processes script when engine is started1 msPassed
Reporting / execute() schedules script0 msPassed
Reporting / getDescription() = null by default1 msPassed
Reporting / getDescription() returns engine description0 msPassed
Reporting / getErrorStream() defaults to System.err1 msPassed
Reporting / getExecutedFile() = null for dynamic code0 msPassed
Reporting / getExecutedFile() returns execution root file0 msPassed
Reporting / getExecutedFile() returns script resource1 msPassed
Reporting / getInputStream() defaults to System.in0 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 engine0 msPassed
Reporting / getStackTrace() returns empty trace for terminated engine0 msPassed
Reporting / getStackTrace() returns stack of size 1 during execution1 msPassed
Reporting / getVariable() = null for non existing variable0 msPassed
Reporting / getVariable() returns buffered variable0 msPassed
Reporting / getVariables() returns all buffered variables0 msPassed
Reporting / hasVariable() = false when no variable is set0 msPassed
Reporting / hasVariable() = true when variable is set0 msPassed
Reporting / inject() executes code in the middle of a script1 msPassed
Reporting / instance extends Job.class0 msPassed
Reporting / isFinished() = false for not started engine0 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 open1 msPassed
Reporting / setCloseStreamsOnTerminate(true) closes streams1 msPassed
Reporting / setErrorStream() changes error stream0 msPassed
Reporting / setErrorStream(null) resets error stream1 msPassed
Reporting / setInputStream() changes input stream0 msPassed
Reporting / setInputStream(null) resets input stream0 msPassed
Reporting / setOutputStream() changes output stream0 msPassed
Reporting / setOutputStream(null) resets output stream1 msPassed
Reporting / streams are not closed by default on engine termination1 msPassed
Reporting / terminate() does nothing for non-launched engine1 msPassed
Reporting / terminate() stops running engine0.2 secPassed