Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 554 Bytes

main.cpp

File metadata and controls

27 lines (21 loc) · 554 Bytes
 
1
2
3
4
5
6
7
8
9
10
11
12
/**
* @file main.cpp
* @copyright 2012 Jolla Ltd.
* @author Martin Kampas <martin.kampas@tieto.com>
* @date 2012
*/
#include <QtTest/QtTest>
#include "libssu/sandbox_p.h"
#include "ssutest.h"
Oct 10, 2016
Oct 10, 2016
13
14
15
16
17
18
19
int main(int argc, char **argv)
{
Sandbox sandbox(QString("%1/configroot").arg(LOCATE_DATA_PATH),
Sandbox::UseAsSkeleton, Sandbox::ThisProcess);
if (!sandbox.activate()) {
qFatal("Failed to activate sandbox");
}
20
Oct 10, 2016
Oct 10, 2016
21
SsuTest ssuTest;
22
Oct 10, 2016
Oct 10, 2016
23
24
if (QTest::qExec(&ssuTest, argc, argv))
return 1;
25
Oct 10, 2016
Oct 10, 2016
26
return 0;
27
}