pimappservices/calendar/tsrc/T_VCAL2.CPP
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
   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");          
       
   412 class CTestApp : public CBase , public MCalTestOomCallBack
   391 class CTestApp : public CBase , public MCalTestOomCallBack
   413 	{
   392 	{
   414 public:
   393 public:
   415 	static CTestApp* NewL();
   394 	static CTestApp* NewL();
   416 	~CTestApp();
   395 	~CTestApp();
   705 	//This vcal caused a leave with KerrNotSupported when a new entry
   684 	//This vcal caused a leave with KerrNotSupported when a new entry
   706 	//whose datetime has not been set is used to setalarm	
   685 	//whose datetime has not been set is used to setalarm	
   707 	test.Printf(_L("Import a vcal with alarm information\n"));
   686 	test.Printf(_L("Import a vcal with alarm information\n"));
   708 	testApp->DoImportL(KAlarmVCal);
   687 	testApp->DoImportL(KAlarmVCal);
   709 	
   688 	
   710 	test.Printf(_L("Import with  userdata attribute \n"));       
       
   711 	testApp->DoImportL( KUserDataEntry ); 
       
   712 	CleanupStack::PopAndDestroy(testApp);
   689 	CleanupStack::PopAndDestroy(testApp);
   713 	}
   690 	}
   714 
   691 
   715 
   692 
   716 /**
   693 /**