blob: 7d398070e2326a761b609b99fa47f8953e1d8ef1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
This software is in the public domain, furnished "as is", without technical
support, and with no warranty, express or implied, as to its usefulness for
any purpose.
*/
#include <QtCore>
#include <QtTest>
#include "test@OWNCLOUD_TEST_CLASS_LOWERCASE@.h"
// #include "moc_test@OWNCLOUD_TEST_CLASS_LOWERCASE@.cpp"
int main( int argc, char** argv)
{
QCoreApplication app( argc, argv );
#define TEST( Type ) { \
Type o; \
if (int r = QTest::qExec( &o, argc, argv ) != 0) return r; }
TEST( Test@OWNCLOUD_TEST_CLASS@ );
return 0;
}
|