~ubuntu-branches/ubuntu/saucy/kdepimlibs/saucy-proposed

« back to all changes in this revision

Viewing changes to akonadi/tests/collectionjobtest.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-11-06 22:34:01 UTC
  • mfrom: (1.1.84)
  • Revision ID: package-import@ubuntu.com-20121106223401-p31t84xgazzfj3ln
Tags: 4:4.9.3-0ubuntu1
* New upstream release (LP: #1074747)
  - build-depend on libakonadi-dev (>= 1.8.1)
  - add new symbols to libakonadi-kde4.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
{
54
54
  qRegisterMetaType<Akonadi::Collection::List>();
55
55
  AttributeFactory::registerAttribute<TestAttribute>();
 
56
  AkonadiTest::checkTestIsIsolated();
56
57
  Control::start();
57
 
 
58
 
  // switch all resources offline to reduce interference from them
59
 
  foreach ( Akonadi::AgentInstance agent, Akonadi::AgentManager::self()->instances() ) //krazy:exclude=foreach
60
 
    agent.setIsOnline( false );
 
58
  AkonadiTest::setAllResourcesOffline();
61
59
}
62
60
 
63
61
static Collection findCol( const Collection::List &list, const QString &name ) {