qcpix/tsrc/qttestutil/simplechecker.cpp
changeset 11 7c6f43cd91cf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qcpix/tsrc/qttestutil/simplechecker.cpp	Mon Jul 12 00:18:57 2010 +0530
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2008  Remko Troncon
+ * Licensed under the MIT license.
+ * See COPYING for license details.
+ */
+
+#include <QCoreApplication>
+
+#include "QtTestUtil/TestRegistry.h"
+
+/**
+ * Runs all tests registered with the QtTestUtil registry.
+ */
+int main(int argc, char* argv[]) {
+    QCoreApplication application(argc, argv);
+    return QtTestUtil::TestRegistry::getInstance()->runTests(argc, argv);
+}