mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-11 10:14:59 +03:00
23 lines
573 B
C++
23 lines
573 B
C++
|
/*
|
||
|
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;
|
||
|
}
|