mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-18 11:51:44 +02:00
Add liblastfm2 and make tomahawk build against it
This commit is contained in:
22
thirdparty/liblastfm2/tests/main.cpp
vendored
Normal file
22
thirdparty/liblastfm2/tests/main.cpp
vendored
Normal file
@@ -0,0 +1,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 "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;
|
||||
}
|
Reference in New Issue
Block a user