PageRenderTime 122ms CodeModel.GetById 70ms app.highlight 2ms RepoModel.GetById 48ms app.codeStats 1ms

/thirdparty/liblastfm2/tests/main.cpp

http://github.com/tomahawk-player/tomahawk
C++ | 22 lines | 14 code | 3 blank | 5 comment | 2 complexity | 6e5302ac2278f78056a56c7a03bcf855 MD5 | raw file
 1/*
 2   This software is in the public domain, furnished "as is", without technical 
 3   support, and with no warranty, express or implied, as to its usefulness for 
 4   any purpose.
 5*/
 6#include <QtCore>
 7#include <QtTest>
 8#include "TestTrack.h"
 9#include "TestUrlBuilder.h"
10
11int main( int argc, char** argv)
12{
13    QCoreApplication app( argc, argv );
14    
15    #define TEST( Type ) { \
16        Type o; \
17        if (int r = QTest::qExec( &o, argc, argv ) != 0) return r; }
18
19    TEST( TestTrack );
20    TEST( TestUrlBuilder );
21    return 0;
22}