summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-10 17:56:53 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-10 18:13:11 (GMT)
commita17bb9f842aca9ad9b414237ad576aa7a887349e (patch)
tree08ed44da292d4ff82def9f0b135a17e20536b7b8 /Swiften/QA/UnitTest/checker.cpp
parente2f5588d089e4d2148762ea092e032976254a467 (diff)
downloadswift-contrib-a17bb9f842aca9ad9b414237ad576aa7a887349e.zip
swift-contrib-a17bb9f842aca9ad9b414237ad576aa7a887349e.tar.bz2
Moved Swiften/QA/UnitTest to QA/UnitTest.
Diffstat (limited to 'Swiften/QA/UnitTest/checker.cpp')
-rw-r--r--Swiften/QA/UnitTest/checker.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Swiften/QA/UnitTest/checker.cpp b/Swiften/QA/UnitTest/checker.cpp
deleted file mode 100644
index ea4f0d9..0000000
--- a/Swiften/QA/UnitTest/checker.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <string>
-#include <cppunit/ui/text/TestRunner.h>
-#include <cppunit/extensions/TestFactoryRegistry.h>
-#include <cppunit/XmlOutputter.h>
-#include <cppunit/TextTestResult.h>
-
-int main(int argc, char* argv[])
-{
- CppUnit::TestFactoryRegistry& registry = CppUnit::TestFactoryRegistry::getRegistry();
- CppUnit::TextUi::TestRunner runner;
- runner.addTest( registry.makeTest() );
- if (argc >= 2 && std::string(argv[1]) != std::string("--xml")) {
- runner.setOutputter(new CppUnit::XmlOutputter(&runner.result(), std::cout));
- }
- return (runner.run("") ? 0 : 1);
-}