aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/test_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/test/test_main.cpp')
-rw-r--r--src/qt/test/test_main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp
new file mode 100644
index 0000000000..af2d358fc4
--- /dev/null
+++ b/src/qt/test/test_main.cpp
@@ -0,0 +1,16 @@
+#include <QTest>
+#include <QObject>
+
+#include "uritests.h"
+
+// This is all you need to run all the tests
+int main(int argc, char *argv[])
+{
+ bool fInvalid = false;
+
+ URITests test1;
+ if (QTest::qExec(&test1) != 0)
+ fInvalid = true;
+
+ return fInvalid;
+}