fix unit test broken by 7dad280 (14.6.2011)
This commit is contained in:
parent
f46cc26851
commit
08df994fb1
1 changed files with 2 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ namespace test {
|
|||
LUMIERA_ERROR_DEFINE( TEST, "simulated failure.");
|
||||
|
||||
using error::LUMIERA_ERROR_LOGIC;
|
||||
using error::LUMIERA_ERROR_STATE;
|
||||
|
||||
|
||||
|
||||
|
|
@ -400,7 +401,7 @@ namespace test {
|
|||
unit3.depends (unit2);
|
||||
SubsystemRunner runner(dummyOpt);
|
||||
|
||||
VERIFY_ERROR (LOGIC, runner.maybeRun (unit4) ); // failure to bring up prerequisites is detected
|
||||
VERIFY_ERROR (STATE, runner.maybeRun (unit4) ); // failure to bring up prerequisites is detected
|
||||
CHECK ( unit1.isRunning());
|
||||
CHECK ( unit2.isRunning());
|
||||
CHECK (!unit3.isRunning());
|
||||
|
|
|
|||
Loading…
Reference in a new issue