Constructor sets job name | 0 ms | Passed |
addExecutionListener() adds an engine listener | 1 ms | Passed |
addSecurityCheck() adds failing check | 1 ms | Passed |
addSecurityCheck() adds passing check | 1 ms | Passed |
buffered variables are injected into the eninge | 0 ms | Passed |
engine notification handles exceptions gracefully | 1 ms | Passed |
execute errorous code and terminate | 1 ms | Passed |
execute valid code and terminate | 1 ms | Passed |
execute() processes script when engine is started | 1 ms | Passed |
execute() schedules script | 1 ms | Passed |
getDescription() = null by default | 0 ms | Passed |
getDescription() returns engine description | 0 ms | Passed |
getErrorStream() defaults to System.err | 0 ms | Passed |
getExecutedFile() = null for dynamic code | 0 ms | Passed |
getExecutedFile() returns execution root file | 0 ms | Passed |
getExecutedFile() returns script resource | 1 ms | Passed |
getInputStream() defaults to System.in | 0 ms | Passed |
getLaunch() = null by default | 1 ms | Passed |
getLaunch() returns previously set launch | 0 ms | Passed |
getOutputStream() defaults to System.out | 0 ms | Passed |
getStackTrace() returns empty trace for fresh engine | 0 ms | Passed |
getStackTrace() returns empty trace for terminated engine | 1 ms | Passed |
getStackTrace() returns stack of size 1 during execution | 0 ms | Passed |
getVariable() = null for non existing variable | 0 ms | Passed |
getVariable() returns buffered variable | 0 ms | Passed |
getVariables() returns all buffered variables | 0 ms | Passed |
hasVariable() = false when no variable is set | 1 ms | Passed |
hasVariable() = true when variable is set | 0 ms | Passed |
inject() executes code in the middle of a script | 1 ms | Passed |
instance extends Job.class | 1 ms | Passed |
isFinished() = false for not started engine | 0 ms | Passed |
isFinished() = true for finished engine | 0 ms | Passed |
joinEngine() waits for engine to terminate | 1 sec | Passed |
joinEngine(x) waits for x ms | 1 sec | Passed |
removeExecutionListener() removes an engine listener | 0 ms | Passed |
setCloseStreamsOnTerminate(false) keeps streams open | 1 ms | Passed |
setCloseStreamsOnTerminate(true) closes streams | 1 ms | Passed |
setErrorStream() changes error stream | 0 ms | Passed |
setErrorStream(null) resets error stream | 0 ms | Passed |
setInputStream() changes input stream | 0 ms | Passed |
setInputStream(null) resets input stream | 0 ms | Passed |
setOutputStream() changes output stream | 0 ms | Passed |
setOutputStream(null) resets output stream | 0 ms | Passed |
streams are not closed by default on engine termination | 0 ms | Passed |
terminate() does nothing for non-launched engine | 0 ms | Passed |
terminate() stops running engine | 0.2 sec | Passed |