loggingservices/eventlogger/test/src/t_logutil2.cpp
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 #include <bautils.h>
    16 #include <bautils.h>
    17 #include "t_logutil2.h"
    17 #include "t_logutil2.h"
    18 
       
    19 //Define "TheTest" variable used in the test cpp files
       
    20 extern RTest TheTest;
       
    21 
    18 
    22 _LIT(KHelperExeName, "t_LogHiCapHelper.exe");
    19 _LIT(KHelperExeName, "t_LogHiCapHelper.exe");
    23 
    20 
    24 //======================================================================================================
    21 //======================================================================================================
    25 
    22 
   890 	}
   887 	}
   891 
   888 
   892 static void Cleanup(void*)
   889 static void Cleanup(void*)
   893 	{
   890 	{
   894 	TRAP_IGNORE(TestUtils::DeleteDatabaseL());
   891 	TRAP_IGNORE(TestUtils::DeleteDatabaseL());
       
   892 	_LIT(KCntModelFileName, "c:\\system\\data\\CntModel.ini");
       
   893 	::DeleteDataFile(KCntModelFileName);
       
   894 	_LIT(KContactsFileName, "c:\\system\\data\\Contacts.cdb");
       
   895 	::DeleteDataFile(KContactsFileName);
   895 	::DeleteDataFile(theLogName);
   896 	::DeleteDataFile(theLogName);
   896 	}
   897 	}
   897 
   898 
   898 static void DoMainL()
   899 static void DoMainL()
   899 	{
   900 	{