Changeset 942 for library/tests/testsuite
- Timestamp:
- 05/14/10 12:16:00 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/testsuite/user_info_test.cpp
r722 r942 95 95 Setting &manufacturer_setting = set.add ( "manufacturer", Setting::TypeString ); 96 96 manufacturer_setting = manufacturer; 97 } 98 99 virtual string to_string() const 100 { 101 return "the method to_string() is not implemented"; 97 102 } 98 103 }; … … 202 207 CHECK_EQUAL ( string ( "A car made in 1998 by audi, having 25000 kilometers on the clock.The names of passengers are as follows: Karlos Novak -1_CygWin_Matlab_Aimsun Karlosik Novacek " ), pepikovo->to_string() ); 203 208 209 Transport pepikovo_static; 210 UI::get( pepikovo_static, in, "pepikovo", UI::compulsory ); 211 CHECK_EQUAL ( string ( "the method to_string() is not implemented" ), pepikovo_static.to_string() ); 212 204 213 shared_ptr<Transport> jardovo ( UI::build<Transport> ( in, "jardovo", UI::compulsory ) ); 205 214 CHECK_EQUAL ( string ( "A car made in 1992 by liaz, having 1555000 kilometers on the clock." ), jardovo->to_string() );