serviceproviders/sapi_calendar/tsrc/testing/tcalendarservice/tcal_getlist/src/calgetlisttestcases.cpp
branchRCL_3
changeset 45 a9c0808a1095
parent 44 0b68a1b0c15e
equal deleted inserted replaced
44:0b68a1b0c15e 45:a9c0808a1095
   178     
   178     
   179     iWaitSchedular = new(ELeave) CActiveSchedulerWait();
   179     iWaitSchedular = new(ELeave) CActiveSchedulerWait();
   180 	}
   180 	}
   181 	
   181 	
   182 CCalGetlistTestCases::CCalGetlistTestCases( TInt& aResult, TBool aEntryArray) : CActive(EPriorityStandard), iResult(aResult),
   182 CCalGetlistTestCases::CCalGetlistTestCases( TInt& aResult, TBool aEntryArray) : CActive(EPriorityStandard), iResult(aResult),
   183                                                     iEntryArray(aEntryArray)
   183                                                     iEntryArray(aEntryArray),iTestCaseType( KGetlistGuidFilterAsync )
   184 	{
   184 	{
   185 
   185 
   186 	}
   186 	}
   187 	
   187 	
   188 //for the sake of ActiveObject
   188 //for the sake of ActiveObject
   192 	}
   192 	}
   193 
   193 
   194 _LIT(KSearchTexttest                 ,"Meeting");
   194 _LIT(KSearchTexttest                 ,"Meeting");
   195 void CCalGetlistTestCases::RunL()
   195 void CCalGetlistTestCases::RunL()
   196 	{	
   196 	{	
   197     CCalendarFilter *filter;
   197     CCalendarFilter *filter = NULL;
   198     
   198     
   199     CEntryAttributes* entryObj;
   199     CEntryAttributes* entryObj = NULL;
   200     
   200     
   201     RPointerArray<TUIDSet> arruids(5);
   201     RPointerArray<TUIDSet> arruids(5);
   202     TUIDSet* uids = NULL;
   202     TUIDSet* uids = NULL;
   203 	
   203 	
   204 	switch( iTestCaseType )
   204 	switch( iTestCaseType )