~ubuntu-branches/ubuntu/vivid/akonadi/vivid

« back to all changes in this revision

Viewing changes to shared/aktest.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2013-11-11 17:38:58 UTC
  • mfrom: (1.1.46)
  • Revision ID: package-import@ubuntu.com-20131111173858-kltz6s4ebjishfej
Tags: 1.10.80-0ubuntu1
* New upstream release
 - Update install files
 - Update disable_dbus_requiring_tests.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "akapplication.h"
24
24
 
25
25
#define AKTEST_MAIN( TestObject ) \
26
 
int main(int argc, char **argv) \
 
26
int main( int argc, char **argv ) \
27
27
{ \
28
 
  qputenv("XDG_DATA_HOME", ".local-unit-test/share"); \
29
 
  qputenv("XDG_CONFIG_HOME", ".config-unit-test"); \
30
 
  AkCoreApplication app(argc, argv); \
 
28
  qputenv( "XDG_DATA_HOME", ".local-unit-test/share" ); \
 
29
  qputenv( "XDG_CONFIG_HOME", ".config-unit-test" ); \
 
30
  AkCoreApplication app( argc, argv ); \
31
31
  app.parseCommandLine(); \
32
32
  TestObject tc; \
33
 
  return QTest::qExec(&tc, argc, argv); \
 
33
  return QTest::qExec( &tc, argc, argv ); \
34
34
}
35
35
 
36
36
inline void akTestSetInstanceIdentifier( const QString &instanceId )