serviceproviders/sapi_serviceregistry/tsrc/dev/tserviceregistryprovidertest/src/tserviceregistrytestblocks.cpp
branchRCL_3
changeset 44 0b68a1b0c15e
parent 38 ea43c23d28d2
child 45 a9c0808a1095
equal deleted inserted replaced
43:1790c2f1027c 44:0b68a1b0c15e
   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 0;    
   138             return;    
   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    return 0;    
   154     
   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;
       
   517     }
   516     }
   518 
   517 
   519 
   518 
   520 // -----------------------------------------------------------------------------
   519 // -----------------------------------------------------------------------------
   521 // CIServiceTestModule::GetListL
   520 // CIServiceTestModule::GetListL
   842     {
   841     {
   843     TLiwVariant expValue;
   842     TLiwVariant expValue;
   844     TLiwVariant resValue; 
   843     TLiwVariant resValue; 
   845         
   844         
   846     TBool equal = EFalse; 
   845     TBool equal = EFalse; 
   847     TReal expValueReal = 0;
   846     TReal expValueReal;
   848     TReal resValueReal = 0;
   847     TReal resValueReal;
   849     
   848     
   850     if(!aExpectedMap->FindL(aKey, expValue))
   849     if(!aExpectedMap->FindL(aKey, expValue))
   851         {
   850         {
   852         expValue.Reset();
   851         expValue.Reset();
   853         return ETrue;
   852         return ETrue;