Skip to content

Test Result : AbstractReplScriptEngineTest

0 failures (±0)
65 tests (±0)
Took 3.5 sec.

All Tests

Test nameDurationStatus
Reporting / Constructor sets job name0 msPassed
Reporting / addExecutionListener() adds an engine listener4 msPassed
Reporting / addSecurityCheck() adds failing check4 msPassed
Reporting / addSecurityCheck() adds passing check19 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 / getDefinedVariables() returns debug variables4 msPassed
Reporting / getDescription() = null by default0 msPassed
Reporting / getDescription() returns engine description1 msPassed
Reporting / getErrorStream() defaults to System.err0 msPassed
Reporting / getExecutedFile() = null for dynamic code1 msPassed
Reporting / getExecutedFile() returns execution root file1 msPassed
Reporting / getExecutedFile() returns script resource4 msPassed
Reporting / getInputStream() defaults to System.in0 msPassed
Reporting / getLastExecutionResult() = null after engine termination1 msPassed
Reporting / getLastExecutionResult() = null on new engine1 msPassed
Reporting / getLastExecutionResult() returns last result1 msPassed
Reporting / getLaunch() = null by default1 msPassed
Reporting / getLaunch() returns previously set launch51 msPassed
Reporting / getOutputStream() defaults to System.out0 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 execution2 msPassed
Reporting / getType(Boolean) = JAVA_PRIMITIVE1 msPassed
Reporting / getType(Byte) = JAVA_PRIMITIVE2 msPassed
Reporting / getType(Character) = JAVA_PRIMITIVE1 msPassed
Reporting / getType(Double) = JAVA_PRIMITIVE1 msPassed
Reporting / getType(Float) = JAVA_PRIMITIVE0 msPassed
Reporting / getType(Integer) = JAVA_PRIMITIVE0 msPassed
Reporting / getType(Long) = JAVA_PRIMITIVE1 msPassed
Reporting / getType(Short) = JAVA_PRIMITIVE1 msPassed
Reporting / getType(String) = JAVA_OBJECT1 msPassed
Reporting / getType(VOID) = VOID1 msPassed
Reporting / getType(null) = NULL1 msPassed
Reporting / getVariable() = null for non existing variable1 msPassed
Reporting / getVariable() returns buffered variable0 msPassed
Reporting / getVariables() returns all buffered variables1 msPassed
Reporting / hasVariable() = false when no variable is set0 msPassed
Reporting / hasVariable() = true when variable is set1 msPassed
Reporting / inject() executes code in the middle of a script2 msPassed
Reporting / instance extends Job.class0 msPassed
Reporting / interactive engine executes incoming code2 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 listener19 msPassed
Reporting / setCloseStreamsOnTerminate(false) keeps streams open1 msPassed
Reporting / setCloseStreamsOnTerminate(true) closes streams0.11 secPassed
Reporting / setErrorStream() changes error stream0 msPassed
Reporting / setErrorStream(null) resets error stream0 msPassed
Reporting / setInputStream() changes input stream0 msPassed
Reporting / setInputStream(null) resets input stream1 msPassed
Reporting / setOutputStream() changes output stream1 msPassed
Reporting / setOutputStream(null) resets output stream0 msPassed
Reporting / setTerminateOnIdle(false) keeps engine running1 secPassed
Reporting / streams are not closed by default on engine termination1 msPassed
Reporting / terminate() does nothing for non-launched engine0 msPassed
Reporting / terminate() from other thread stops running engine0.1 secPassed
Reporting / terminate() stops interactive engine1 msPassed
Reporting / terminate() stops running engine0.1 secPassed