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 /QA/UnitTest/template
parente2f5588d089e4d2148762ea092e032976254a467 (diff)
downloadswift-a17bb9f842aca9ad9b414237ad576aa7a887349e.zip
swift-a17bb9f842aca9ad9b414237ad576aa7a887349e.tar.bz2
Moved Swiften/QA/UnitTest to QA/UnitTest.
Diffstat (limited to 'QA/UnitTest/template')
-rw-r--r--QA/UnitTest/template/FooTest.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/QA/UnitTest/template/FooTest.cpp b/QA/UnitTest/template/FooTest.cpp
new file mode 100644
index 0000000..b6b9abf
--- /dev/null
+++ b/QA/UnitTest/template/FooTest.cpp
@@ -0,0 +1,24 @@
+#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/extensions/TestFactoryRegistry.h>
+
+using namespace Swift;
+
+class FooTest : public CppUnit::TestFixture {
+ CPPUNIT_TEST_SUITE(FooTest);
+ CPPUNIT_TEST(testBar);
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+ FooTest() {}
+
+ void setUp() {
+ }
+
+ void tearDown() {
+ }
+
+ void testBar() {
+ }
+};
+
+CPPUNIT_TEST_SUITE_REGISTRATION(FooTest);