Skip to content

Test Result : ScriptResultTest

0 failures (±0)
24 tests (±0)
Took 3.6 sec.

All Tests

Test nameDurationStatus
VOID.toString() = String0 msPassed
cancel() = false1 msPassed
get() returns ready execution result0 msPassed
get() throws execution exception0 msPassed
get() waits for execution exception0.55 secPassed
get() waits for execution result0.55 secPassed
get(milliseconds) times out0.5 secPassed
get(milliseconds) waits for execution exception0.55 secPassed
get(timeout) times out0.5 secPassed
get(timeout) waits for execution exception0.5 secPassed
get(timeout) waits for execution result0.5 secPassed
isCancelled() = false1 msPassed
isDone() = false ... on new ScriptResult()1 msPassed
isDone() = true ... when exception was thrown1 msPassed
isDone() = true ... when result is null1 msPassed
isDone() = true ... when result is ready0 msPassed
setException() after setException() throws1 msPassed
setException() after setResult() throws1 msPassed
setResult() after setException() throws6 msPassed
setResult() after setResult() throws0 msPassed
toString() = String ... for 'null' result0 msPassed
toString() = String ... for execution exception0 msPassed
toString() = String ... for execution result0 msPassed
toString() = String ... while executing1 msPassed