index
:
cpp-web.git
C++ web blog software, made for my special needs.
log msg
author
committer
range
blog.impl.cc
master
about
summary
refs
log
tree
commit
diff
path:
root
/
deps
/
inja
/
third_party
/
include
/
hayai
/
hayai_test_factory.hpp
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'deps/inja/third_party/include/hayai/hayai_test_factory.hpp')
-rwxr-xr-x
deps/inja/third_party/include/hayai/hayai_test_factory.hpp
26
1 files changed, 26 insertions, 0 deletions
diff --git a/deps/inja/third_party/include/hayai/hayai_test_factory.hpp b/deps/inja/third_party/include/hayai/hayai_test_factory.hpp
new file mode 100755
index 0000000..1c5f469
--- /dev/null
+++ b/
deps/inja/third_party/include/hayai/hayai_test_factory.hpp
@@ -0,0 +1,26 @@
+#ifndef __HAYAI_TESTFACTORY
+#define __HAYAI_TESTFACTORY
+#include "hayai_test.hpp"
+
+namespace hayai
+{
+ /// Base class for test factory implementations.
+ class TestFactory
+ {
+ public:
+ /// Virtual destructor
+
+ /// Has no function in the base class.
+ virtual ~TestFactory()
+ {
+
+ }
+
+
+ /// Creates a test instance to run.
+
+ /// @returns a pointer to an initialized test.
+ virtual Test* CreateTest() = 0;
+ };
+}
+#endif