1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-27 06:42:46 +01:00
Nextcloud-Desktop/test/main.cpp.in
2012-10-26 20:24:12 +02:00

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;
}