loggingservices/eventlogger/test/src/t_logview1.cpp
changeset 55 44f437012c90
parent 51 7d4490026038
--- a/loggingservices/eventlogger/test/src/t_logview1.cpp	Mon Sep 27 11:59:56 2010 +0100
+++ b/loggingservices/eventlogger/test/src/t_logview1.cpp	Tue Oct 19 16:26:13 2010 +0100
@@ -810,6 +810,8 @@
 	TEST2(view->CountL(), 0);
 	TBool res = view->SetRecentListL(KLogRecentIncomingCalls, active->iStatus);
 	TEST(res);
+	TLogRecentList rlist = view->RecentList();
+	TEST(rlist == KLogRecentIncomingCalls);
 
 	// Move forward
 	count = KTestEventNum;
@@ -5949,7 +5951,18 @@
 //
 void doTestsL()
 	{
-	TheMatchingIsEnabled = TestUtils::MatchingEnabledL();
+//When SYSLIBS_TEST is defined, the test ECOM contact matching plug-in will be loaded, 
+//otherwise the real contact matching plug-in will be loaded.
+//Therefore, in armv5 urel build, no plug-in will be loaded.
+#ifdef __WINS__
+    TheMatchingIsEnabled = TestUtils::MatchingEnabledL();
+#else 
+    
+#ifdef SYSLIBS_TEST 
+    TheMatchingIsEnabled = TestUtils::MatchingEnabledL();
+#endif
+    
+#endif
 	
 	TestUtils::Initialize(_L("t_logview1"));
 	TestUtils::DeleteDatabaseL();