serviceproviders/sapi_serviceregistry/tsrc/dev/tserviceregistryprovidertest/src/tserviceregistrytestblocks.cpp
branchRCL_3
changeset 45 a9c0808a1095
parent 44 0b68a1b0c15e
equal deleted inserted replaced
44:0b68a1b0c15e 45:a9c0808a1095
   133         TInt code = err.AsTInt32(); 
   133         TInt code = err.AsTInt32(); 
   134         err.Reset();
   134         err.Reset();
   135         if(code != iExpectedError)
   135         if(code != iExpectedError)
   136             {                        
   136             {                        
   137             iResult =  KErrGeneral;
   137             iResult =  KErrGeneral;
   138             return;    
   138             return 0;    
   139             }
   139             }
   140         } 
   140         } 
   141         
   141         
   142     pos = 0;         
   142     pos = 0;         
   143     paramIter = aEventParamList.FindFirst(pos, KReturnValue);    
   143     paramIter = aEventParamList.FindFirst(pos, KReturnValue);    
   149     	if(IsExpectedResult(iter))
   149     	if(IsExpectedResult(iter))
   150             {
   150             {
   151             iResult = KErrNone;    
   151             iResult = KErrNone;    
   152             }     
   152             }     
   153     	}                      
   153     	}                      
   154     
   154    return 0;    
   155     }
   155     }
   156                     
   156                     
   157 TInt CIServiceTestModule::LoadProviderTest(CStifItemParser& aItem)
   157 TInt CIServiceTestModule::LoadProviderTest(CStifItemParser& aItem)
   158     {    
   158     {    
   159     __UHEAP_MARK;  
   159     __UHEAP_MARK;  
   511     iInparams->Reset();    
   511     iInparams->Reset();    
   512     iOutparams->Reset();
   512     iOutparams->Reset();
   513             
   513             
   514     Delete();
   514     Delete();
   515     __UHEAP_MARKEND;               
   515     __UHEAP_MARKEND;               
       
   516     return 0;
   516     }
   517     }
   517 
   518 
   518 
   519 
   519 // -----------------------------------------------------------------------------
   520 // -----------------------------------------------------------------------------
   520 // CIServiceTestModule::GetListL
   521 // CIServiceTestModule::GetListL
   841     {
   842     {
   842     TLiwVariant expValue;
   843     TLiwVariant expValue;
   843     TLiwVariant resValue; 
   844     TLiwVariant resValue; 
   844         
   845         
   845     TBool equal = EFalse; 
   846     TBool equal = EFalse; 
   846     TReal expValueReal;
   847     TReal expValueReal = 0;
   847     TReal resValueReal;
   848     TReal resValueReal = 0;
   848     
   849     
   849     if(!aExpectedMap->FindL(aKey, expValue))
   850     if(!aExpectedMap->FindL(aKey, expValue))
   850         {
   851         {
   851         expValue.Reset();
   852         expValue.Reset();
   852         return ETrue;
   853         return ETrue;