tsrc/cpixmwtester/src/cpixmwtesterblocks.cpp
changeset 8 6547bf8ca13a
parent 7 a5fbfefd615f
child 23 d4d56f5e7c55
--- a/tsrc/cpixmwtester/src/cpixmwtesterblocks.cpp	Fri Jun 11 14:43:47 2010 +0300
+++ b/tsrc/cpixmwtester/src/cpixmwtesterblocks.cpp	Mon Jun 28 10:34:53 2010 +0530
@@ -442,19 +442,19 @@
 // CCPixMWTester::TestAddUnloadlistL
 // -----------------------------------------------------------------------------
 //
-TInt CCPixMWTester::TestAddUnloadlistL( CStifItemParser& aItem)
+TInt CCPixMWTester::TestAddUnloadlistL( CStifItemParser& /*aItem*/)
     {
     TInt err = KErrNone;        
     CBlacklistMgr* blacklistmanager = CBlacklistMgr::NewL();
     CleanupStack::PushL( blacklistmanager );
     //Add an Uid to Blacklist DB
-    blacklistmanager->AddtoUnloadListL( KTestUid );
+    blacklistmanager->AddtoDontloadListL( KTestUid );
     //Check if the Uid is added to database or not
-    TBool found = blacklistmanager->FindfromUnloadListL(KTestUid );
+    TBool found = blacklistmanager->FindInDontloadListL(KTestUid );
     
     if(!found) err = KErrNotFound;
     //clear the UID from the database
-    blacklistmanager->RemoveFromUnloadListL(KTestUid);
+    blacklistmanager->RemoveFromDontloadListL(KTestUid);
     CleanupStack::PopAndDestroy( blacklistmanager ); 
     doLog( iLog, err, KNoErrorString );        
     return err;
@@ -464,21 +464,21 @@
 // CCPixMWTester::TestRemovefromUnloadlistL
 // -----------------------------------------------------------------------------
 //
-TInt CCPixMWTester::TestRemovefromUnloadlistL( CStifItemParser& aItem)
+TInt CCPixMWTester::TestRemovefromUnloadlistL( CStifItemParser& /*aItem*/)
     {
     TInt err = KErrNotFound;        
     CBlacklistMgr* blacklistmanager = CBlacklistMgr::NewL();
     CleanupStack::PushL( blacklistmanager );
     //Add an Uid to Blacklist DB
-    blacklistmanager->AddtoUnloadListL( KTestUid );
+    blacklistmanager->AddtoDontloadListL( KTestUid );
     //Check if the Uid is added to database or not
-    TBool found = blacklistmanager->FindfromUnloadListL(KTestUid );
+    TBool found = blacklistmanager->FindInDontloadListL(KTestUid );
     
     if(found)
         {
          //clear the UID from the database
-        blacklistmanager->RemoveFromUnloadListL(KTestUid);
-        found = blacklistmanager->FindfromUnloadListL(KTestUid );
+        blacklistmanager->RemoveFromDontloadListL(KTestUid);
+        found = blacklistmanager->FindInDontloadListL(KTestUid );
         if ( !found )  err = KErrNone;
         }
     CleanupStack::PopAndDestroy( blacklistmanager );