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() = false0 msPassed
get() returns ready execution result1 msPassed
get() throws execution exception1 msPassed
get() waits for execution exception0.5 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.55 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() throws0 msPassed
setException() after setResult() throws0 msPassed
setResult() after setException() throws28 msPassed
setResult() after setResult() throws2 msPassed
toString() = String ... for 'null' result2 msPassed
toString() = String ... for execution exception0 msPassed
toString() = String ... for execution result0 msPassed
toString() = String ... while executing0 msPassed