loggingservices/eventlogger/test/src/t_logview1.cpp
changeset 55 44f437012c90
parent 51 7d4490026038
equal deleted inserted replaced
51:7d4490026038 55:44f437012c90
   808 		}
   808 		}
   809 
   809 
   810 	TEST2(view->CountL(), 0);
   810 	TEST2(view->CountL(), 0);
   811 	TBool res = view->SetRecentListL(KLogRecentIncomingCalls, active->iStatus);
   811 	TBool res = view->SetRecentListL(KLogRecentIncomingCalls, active->iStatus);
   812 	TEST(res);
   812 	TEST(res);
       
   813 	TLogRecentList rlist = view->RecentList();
       
   814 	TEST(rlist == KLogRecentIncomingCalls);
   813 
   815 
   814 	// Move forward
   816 	// Move forward
   815 	count = KTestEventNum;
   817 	count = KTestEventNum;
   816 	do	{
   818 	do	{
   817 		active->StartL();
   819 		active->StartL();
  5947 //
  5949 //
  5948 //
  5950 //
  5949 //
  5951 //
  5950 void doTestsL()
  5952 void doTestsL()
  5951 	{
  5953 	{
  5952 	TheMatchingIsEnabled = TestUtils::MatchingEnabledL();
  5954 //When SYSLIBS_TEST is defined, the test ECOM contact matching plug-in will be loaded, 
       
  5955 //otherwise the real contact matching plug-in will be loaded.
       
  5956 //Therefore, in armv5 urel build, no plug-in will be loaded.
       
  5957 #ifdef __WINS__
       
  5958     TheMatchingIsEnabled = TestUtils::MatchingEnabledL();
       
  5959 #else 
       
  5960     
       
  5961 #ifdef SYSLIBS_TEST 
       
  5962     TheMatchingIsEnabled = TestUtils::MatchingEnabledL();
       
  5963 #endif
       
  5964     
       
  5965 #endif
  5953 	
  5966 	
  5954 	TestUtils::Initialize(_L("t_logview1"));
  5967 	TestUtils::Initialize(_L("t_logview1"));
  5955 	TestUtils::DeleteDatabaseL();
  5968 	TestUtils::DeleteDatabaseL();
  5956 
  5969 
  5957 	CLogClient* client = CLogClient::NewL(theFs);
  5970 	CLogClient* client = CLogClient::NewL(theFs);