~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to akonadi/calendar/tests/fetchjobcalendartest.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "../fetchjobcalendar.h"
21
21
#include <akonadi/itemfetchjob.h>
22
22
#include <akonadi/itemcreatejob.h>
23
 
#include <akonadi/collectionfetchJob.h>
 
23
#include <akonadi/collectionfetchjob.h>
24
24
#include <akonadi/collectionfetchscope.h>
25
25
#include <akonadi/qtest_akonadi.h>
26
26
 
41
41
      Incidence::Ptr incidence = Incidence::Ptr( new Event() );
42
42
      incidence->setUid( uid );
43
43
      incidence->setSummary( QLatin1String( "summary" ) );
 
44
      incidence->setDtStart( KDateTime::currentDateTime( KDateTime::UTC ) );
44
45
      item.setPayload<KCalCore::Incidence::Ptr>( incidence );
45
46
      ItemCreateJob *job = new ItemCreateJob( item, mCollection, this );
46
47
      AKVERIFYEXEC( job );
65
66
private Q_SLOTS:
66
67
    void initTestCase()
67
68
    {
 
69
      AkonadiTest::checkTestIsIsolated();
 
70
 
68
71
      fetchCollection();
69
72
      qRegisterMetaType<Akonadi::Item>("Akonadi::Item");
70
73
    }