2012-02-10 23:25:36 +01:00
|
|
|
#include <QTest>
|
|
|
|
#include <QObject>
|
|
|
|
|
2012-03-25 23:25:10 +02:00
|
|
|
#include "uritests.h"
|
2012-02-10 23:25:36 +01:00
|
|
|
|
|
|
|
// This is all you need to run all the tests
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2012-08-06 21:52:44 +02:00
|
|
|
bool fInvalid = false;
|
|
|
|
|
2012-03-25 23:25:10 +02:00
|
|
|
URITests test1;
|
2012-08-06 21:52:44 +02:00
|
|
|
if (QTest::qExec(&test1) != 0)
|
|
|
|
fInvalid = true;
|
|
|
|
|
|
|
|
return fInvalid;
|
2012-02-10 23:25:36 +01:00
|
|
|
}
|