summaryrefslogtreecommitdiff
path: root/icetray/unittests/testOptions.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-07-09 14:03:48 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-07-10 16:03:41 +0100
commitcc2524203927d4dba88a87b667c0e235b081cb3a (patch)
tree1aaab69bf58b516a5ff0527057666bf8679dd54a /icetray/unittests/testOptions.h
parentAdd basic components for populating options classes from Ice::Properties (diff)
downloadicetray-cc2524203927d4dba88a87b667c0e235b081cb3a.tar.bz2
icetray-cc2524203927d4dba88a87b667c0e235b081cb3a.tar.xz
icetray-cc2524203927d4dba88a87b667c0e235b081cb3a.zip
Refactor test options class into its own lib
Diffstat (limited to 'icetray/unittests/testOptions.h')
-rw-r--r--icetray/unittests/testOptions.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/icetray/unittests/testOptions.h b/icetray/unittests/testOptions.h
new file mode 100644
index 0000000..06adb19
--- /dev/null
+++ b/icetray/unittests/testOptions.h
@@ -0,0 +1,18 @@
+#ifndef ICETRAY_TEST_TESTOPTIONS_H
+#define ICETRAY_TEST_TESTOPTIONS_H
+
+#include <options.h>
+
+class DLL_PUBLIC TestOptions : public IceTray::Options {
+ public:
+ TestOptions();
+
+ ICETRAY_OPTIONS_DECLARE;
+
+ int testInt;
+ std::string testString;
+ std::vector<int> testVec;
+};
+
+#endif
+