summaryrefslogtreecommitdiff
path: root/examples/cppunittest/TestParameterizedTestCaller.h
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-11-08 07:31:41 -0800
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-11-08 07:31:41 -0800
commitbff09f0ff2795d98b75c5579b1e50254eecf01a4 (patch)
treef1d8db3f70ef6bb7427ce8956fa263b11a37c3cd /examples/cppunittest/TestParameterizedTestCaller.h
parent292026e36ce5b9ebdad86e99304be2ded8c199d8 (diff)
downloadcppunit-feature/parameterized.tar.gz
add parameterized test callersfeature/parameterized
Diffstat (limited to 'examples/cppunittest/TestParameterizedTestCaller.h')
-rw-r--r--examples/cppunittest/TestParameterizedTestCaller.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/cppunittest/TestParameterizedTestCaller.h b/examples/cppunittest/TestParameterizedTestCaller.h
new file mode 100644
index 0000000..21cd1f0
--- /dev/null
+++ b/examples/cppunittest/TestParameterizedTestCaller.h
@@ -0,0 +1,23 @@
+#ifndef TESTCALLERTEST_H
+#define TESTCALLERTEST_H
+
+#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestCase.h>
+#include <cppunit/TestResult.h>
+#include <cppunit/TestSuite.h>
+
+class TestParameterizedTestCaller : public CPPUNIT_NS::TestFixture
+{
+ CPPUNIT_TEST_SUITE( TestParameterizedTestCaller );
+ CPPUNIT_TEST( test1 );
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ TestParameterizedTestCaller();
+ ~TestParameterizedTestCaller();
+
+ void test1();
+
+};
+
+#endif // TESTCALLERTEST_H