Test Result : ScriptSchedulerTest
0 failures
(±0)
14 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
addScript() activates waiting thread | 0.55 sec | Passed |
addScript() sets script exception ... after shutdown() | 1 ms | Passed |
getNextScript() returns added script | 0 ms | Passed |
getNextScript() returns scripts in right order | 0 ms | Passed |
getNextScript() throws ... when scheduler gets terminated | 0.55 sec | Passed |
init() resets termination status | 1 ms | Passed |
isEmpty() = false ... after adding a script | 1 ms | Passed |
isEmpty() = true ... after adding and removing a script | 0 ms | Passed |
isEmpty() = true ... by default | 0 ms | Passed |
isTerminated() = false ... by default | 0 ms | Passed |
isTerminated() = true ... after shutdown | 1 ms | Passed |
peekNextScript() does not remove script | 1 ms | Passed |
peekNextScript() returns added script | 0 ms | Passed |
terminate() sets exceptions on pending scripts | 1 ms | Passed |