pimappservices/calendar/tsrc/T_VCAL2.CPP
branchRCL_3
changeset 31 97232defd20e
parent 0 f979ecb2b13e
equal deleted inserted replaced
30:bd7edf625bdd 31:97232defd20e
   386                         "AALARM:20090522T080000;;;\r\n"
   386                         "AALARM:20090522T080000;;;\r\n"
   387                         "STATUS:NEEDS ACTION\r\n"
   387                         "STATUS:NEEDS ACTION\r\n"
   388                         "END:VTODO\r\n"
   388                         "END:VTODO\r\n"
   389                         "END:VCALENDAR\r\n");
   389                         "END:VCALENDAR\r\n");
   390 
   390 
       
   391 _LIT8(KUserDataEntry,"BEGIN:VCALENDAR\r\n"     
       
   392                      "VERSION:1.0\r\n"       
       
   393                      "BEGIN:VEVENT\r\n"       
       
   394                      "UID:ZB0tN9634EH8l818X2GVU2\r\n"       
       
   395                      "SUMMARY:importing\r\n"       
       
   396                      "DTSTART:20090720T070000Z\r\n"       
       
   397                      "DTEND:20090720T070000Z\r\n"       
       
   398                      "X-EPOCAGENDAENTRYTYPE:APPOINTMENT\r\n"       
       
   399                      "CLASS:PRIVATE\r\n"       
       
   400                      "SEQUENCE:0\r\n"       
       
   401                      "X-METHOD:NONE\r\n"       
       
   402                      "LAST-MODIFIED:20090720T154714Z\r\n"       
       
   403                      "PRIORITY:2\r\n"       
       
   404                      "X-SYMBIAN-LUID:5\r\n"       
       
   405                      "TRANSP:0\r\n"       
       
   406                      "X-USERDATA-INT:125\r\n"       
       
   407                      "X-STRING:london\r\n"       
       
   408                      "X-TEXTPROPERTY:class property\r\n"       
       
   409                      "X-INTPROPERTY:521\r\n"       
       
   410                      "END:VEVENT\r\n"       
       
   411                      "END:VCALENDAR\r\n");          
   391 class CTestApp : public CBase , public MCalTestOomCallBack
   412 class CTestApp : public CBase , public MCalTestOomCallBack
   392 	{
   413 	{
   393 public:
   414 public:
   394 	static CTestApp* NewL();
   415 	static CTestApp* NewL();
   395 	~CTestApp();
   416 	~CTestApp();
   684 	//This vcal caused a leave with KerrNotSupported when a new entry
   705 	//This vcal caused a leave with KerrNotSupported when a new entry
   685 	//whose datetime has not been set is used to setalarm	
   706 	//whose datetime has not been set is used to setalarm	
   686 	test.Printf(_L("Import a vcal with alarm information\n"));
   707 	test.Printf(_L("Import a vcal with alarm information\n"));
   687 	testApp->DoImportL(KAlarmVCal);
   708 	testApp->DoImportL(KAlarmVCal);
   688 	
   709 	
       
   710 	test.Printf(_L("Import with  userdata attribute \n"));       
       
   711 	testApp->DoImportL( KUserDataEntry ); 
   689 	CleanupStack::PopAndDestroy(testApp);
   712 	CleanupStack::PopAndDestroy(testApp);
   690 	}
   713 	}
   691 
   714 
   692 
   715 
   693 /**
   716 /**