ssu
Loading...
Searching...
No Matches
tests
ut_deviceinfo
main.cpp
Go to the documentation of this file.
1
7
8
#include <QtTest/QtTest>
9
10
#include "
libssu/sandbox_p.h
"
11
#include "
deviceinfotest.h
"
12
13
int
main(
int
argc,
char
**argv)
14
{
15
Sandbox
sandbox(QString(
"%1/configroot"
).arg(LOCATE_DATA_PATH),
16
Sandbox::UseAsSkeleton, Sandbox::ThisProcess);
17
if
(!sandbox.activate()) {
18
qFatal(
"Failed to activate sandbox"
);
19
}
20
21
DeviceInfoTest
deviceinfoTest;
22
23
if
(QTest::qExec(&deviceinfoTest, argc, argv))
24
return
1;
25
26
return
0;
27
}
DeviceInfoTest
Definition
deviceinfotest.h:14
Sandbox
Helps to redirect file operations into sandbox directory.
Definition
sandbox_p.h:22
deviceinfotest.h
sandbox_p.h
Generated by
1.16.1