Changeset 542
- Timestamp:
- 08/17/09 15:53:24 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/user_info_test.cpp
r527 r542 205 205 shared_ptr<Transport> kati ( UI::build<Transport> ( in, "kati", UI::compulsory ) ); 206 206 CHECK_EQUAL ( string ( "A car made in 1980 by vecernicek, having 250000 kilometers on the clock." ), kati->to_string() ); 207 208 try { 209 shared_ptr<Robot> failing ( UI::build<Robot> ( in, "kati", UI::compulsory ) ); 210 CHECK ( false ); 211 } catch ( UIException &exc ) { 212 CHECK ( exc.what() ); 213 } 207 214 } 208 215