/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. int main( int argc, char** argv)
  11. {
  12. QCoreApplication app( argc, argv );
  13. #define TEST( Type ) { \
  14. Type o; \
  15. if (int r = QTest::qExec( &o, argc, argv ) != 0) return r; }
  16. TEST( TestTrack );
  17. TEST( TestUrlBuilder );
  18. return 0;
  19. }