~nemo-mobile-team/nemo-mobile/ssu

« back to all changes in this revision

Viewing changes to tests/ut_deviceinfo/main.cpp

  • Committer: Bernd Wachter
  • Date: 2015-08-21 16:05:07 UTC
  • Revision ID: git-v1:c687b533406b960e50d15d90dc96bb43d2783f47
Tags: 0.40.14
[ssu] Make it easier to run testcases in-tree, contributes to JB#31688

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#include "deviceinfotest.h"
12
12
 
13
13
int main(int argc, char **argv){
14
 
  Sandbox sandbox(QString("%1/configroot").arg(TESTS_DATA_PATH),
 
14
  Sandbox sandbox(QString("%1/configroot").arg(LOCATE_DATA_PATH),
15
15
      Sandbox::UseAsSkeleton, Sandbox::ThisProcess);
16
16
  if (!sandbox.activate()){
17
17
    qFatal("Failed to activate sandbox");