/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
- /*
- 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 "TestTrack.h"
- #include "TestUrlBuilder.h"
- 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( TestTrack );
- TEST( TestUrlBuilder );
- return 0;
- }