serviceproviders/sapi_calendar/tsrc/testing/tcalendarservice/tcal_import/src/importestcases.cpp
branchRCL_3
changeset 45 a9c0808a1095
parent 44 0b68a1b0c15e
equal deleted inserted replaced
44:0b68a1b0c15e 45:a9c0808a1095
   794 		iResult = KErrGeneral;		
   794 		iResult = KErrGeneral;		
   795 			
   795 			
   796 	// Import with invalid luid
   796 	// Import with invalid luid
   797 	
   797 	
   798 	new_expParams->AddLocalUid( 10000 );
   798 	new_expParams->AddLocalUid( 10000 );
   799     new_expParams->AddLocalUid( -3000 );
   799     new_expParams->AddLocalUid( 3000 );
   800     new_expParams->SetExportFileNameL(KVcalImportGuidsFile);
   800     new_expParams->SetExportFileNameL(KVcalImportGuidsFile);
   801     delete buffer;
   801     delete buffer;
   802     buffer = NULL;
   802     buffer = NULL;
   803     
   803     
   804     if( iVCalOrICal == 1)
   804     if( iVCalOrICal == 1)
  1151 	
  1151 	
  1152 	iWaitSchedular = new(ELeave) CActiveSchedulerWait();
  1152 	iWaitSchedular = new(ELeave) CActiveSchedulerWait();
  1153 	}
  1153 	}
  1154 	
  1154 	
  1155 CCalImpTestCases::CCalImpTestCases( TInt& aResult, TInt aVCalOrICal): CActive(EPriorityStandard), iResult(aResult) ,
  1155 CCalImpTestCases::CCalImpTestCases( TInt& aResult, TInt aVCalOrICal): CActive(EPriorityStandard), iResult(aResult) ,
  1156 														   iVCalOrICal(aVCalOrICal)	
  1156 														   iVCalOrICal(aVCalOrICal)	,iTestCaseType (KImportGuidAsync)
  1157 	{
  1157 	{
  1158 	
  1158 	
  1159 	}
  1159 	}
  1160 	
  1160 	
  1161 //for the sake of ActiveObject
  1161 //for the sake of ActiveObject