Skip to content

Test Result : AbstractScriptEngineTest

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

All Tests

Test nameDurationStatus
Constructor sets job name0 msPassed
addExecutionListener() adds an engine listener1 msPassed
addSecurityCheck() adds failing check1 msPassed
addSecurityCheck() adds passing check1 msPassed
buffered variables are injected into the eninge0 msPassed
engine notification handles exceptions gracefully1 msPassed
execute errorous code and terminate1 msPassed
execute valid code and terminate1 msPassed
execute() processes script when engine is started1 msPassed
execute() schedules script1 msPassed
getDescription() = null by default0 msPassed
getDescription() returns engine description0 msPassed
getErrorStream() defaults to System.err0 msPassed
getExecutedFile() = null for dynamic code0 msPassed
getExecutedFile() returns execution root file0 msPassed
getExecutedFile() returns script resource1 msPassed
getInputStream() defaults to System.in0 msPassed
getLaunch() = null by default1 msPassed
getLaunch() returns previously set launch0 msPassed
getOutputStream() defaults to System.out0 msPassed
getStackTrace() returns empty trace for fresh engine0 msPassed
getStackTrace() returns empty trace for terminated engine1 msPassed
getStackTrace() returns stack of size 1 during execution0 msPassed
getVariable() = null for non existing variable0 msPassed
getVariable() returns buffered variable0 msPassed
getVariables() returns all buffered variables0 msPassed
hasVariable() = false when no variable is set1 msPassed
hasVariable() = true when variable is set0 msPassed
inject() executes code in the middle of a script1 msPassed
instance extends Job.class1 msPassed
isFinished() = false for not started engine0 msPassed
isFinished() = true for finished engine0 msPassed
joinEngine() waits for engine to terminate1 secPassed
joinEngine(x) waits for x ms1 secPassed
removeExecutionListener() removes an engine listener0 msPassed
setCloseStreamsOnTerminate(false) keeps streams open1 msPassed
setCloseStreamsOnTerminate(true) closes streams1 msPassed
setErrorStream() changes error stream0 msPassed
setErrorStream(null) resets error stream0 msPassed
setInputStream() changes input stream0 msPassed
setInputStream(null) resets input stream0 msPassed
setOutputStream() changes output stream0 msPassed
setOutputStream(null) resets output stream0 msPassed
streams are not closed by default on engine termination0 msPassed
terminate() does nothing for non-launched engine0 msPassed
terminate() stops running engine0.2 secPassed