File: main.cpp.in

package info (click to toggle)
liblastfm 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 896 kB
  • ctags: 1,403
  • sloc: cpp: 10,158; ansic: 108; makefile: 6
file content (22 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (5)
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@LASTFM_TEST_CLASS@.h"
#include "moc_Test@LASTFM_TEST_CLASS@.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@LASTFM_TEST_CLASS@ );
    return 0;
}