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

« back to all changes in this revision

Viewing changes to akonadi/tests/monitortest.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:
55
55
 
56
56
void MonitorTest::initTestCase()
57
57
{
 
58
  AkonadiTest::checkTestIsIsolated();
58
59
  Control::start();
 
60
  AkonadiTest::setAllResourcesOffline();
59
61
 
60
62
  res3 = Collection( collectionIdFromPath( "res3" ) );
61
 
 
62
 
  // switch all resources offline to reduce interference from them
63
 
  foreach ( Akonadi::AgentInstance agent, Akonadi::AgentManager::self()->instances() ) //krazy:exclude=foreach
64
 
    agent.setIsOnline( false );
65
63
}
66
64
 
67
65
void MonitorTest::testMonitor_data()