Show
Ignore:
Timestamp:
11/12/09 00:34:13 (15 years ago)
Author:
mido
Message:

clean up of the whole tests directory has just started

Location:
library/tests/testsuite
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • library/tests/testsuite/user_info_test.cpp

    r689 r717  
    33#include <string.h> 
    44#include "base/user_info.h" 
    5 #include "test_util.h" 
     5#include "../test_util.h" 
    66#include "UnitTest++.h" 
    77 
     
    198198 
    199199TEST ( load_test ) { 
    200         UIFile in ( "test_user_info_input.cfg" ); 
     200        UIFile in ( "user_info_valid.cfg" ); 
    201201        shared_ptr<Transport> pepikovo ( UI::build<Transport> ( in, "pepikovo", UI::compulsory ) ); 
    202202        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() ); 
     
    216216 
    217217TEST ( load_error_test ) { 
    218         UIFile in ( "test_user_info_input.cfg" ); 
     218        UIFile in ( "user_info_valid.cfg" ); 
    219219 
    220220        try { 
     
    232232        } 
    233233 
    234         UIFile erroneous ( "erroneous.cfg" ); 
     234        UIFile erroneous ( "user_info_erroneous.cfg" ); 
    235235        try { 
    236236                shared_ptr<Transport> jardovo ( UI::build<Transport> ( erroneous, "jardovo", UI::compulsory ) ); 
     
    242242 
    243243TEST ( save_test ) { 
    244         UIFile in ( "test_user_info_input.cfg" ); 
     244        UIFile in ( "user_info_valid.cfg" ); 
    245245        shared_ptr<Transport> pepikovo ( UI::build<Transport> ( in, "pepikovo", UI::compulsory ) ); 
    246246