summaryrefslogtreecommitdiff
path: root/project2/ut/testAppInstance.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-06-06 21:47:02 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-06 21:47:02 +0100
commit75760ea25c366a47edbd989895b58326da5491d9 (patch)
tree10e6654c7cf935bf8990231a837ba1024bf8ee0e /project2/ut/testAppInstance.cpp
parentTweaks while tracking down Column leak (diff)
downloadproject2-75760ea25c366a47edbd989895b58326da5491d9.tar.bz2
project2-75760ea25c366a47edbd989895b58326da5491d9.tar.xz
project2-75760ea25c366a47edbd989895b58326da5491d9.zip
Move row values stack in ExecContext
Introduce TestAppInstane to provide an AppInstance and ExecContext during UT runs
Diffstat (limited to 'project2/ut/testAppInstance.cpp')
-rw-r--r--project2/ut/testAppInstance.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/project2/ut/testAppInstance.cpp b/project2/ut/testAppInstance.cpp
new file mode 100644
index 0000000..21e9c38
--- /dev/null
+++ b/project2/ut/testAppInstance.cpp
@@ -0,0 +1,15 @@
+#include "testAppInstance.h"
+
+VariableType
+TestAppInstance::getParameter(const VariableType &) const
+{
+ throw std::runtime_error("TestAppInstance doesn't support parameters");
+}
+
+SessionPtr
+TestAppInstance::getSession() const
+{
+ throw std::runtime_error("TestAppInstance doesn't support sessions");
+}
+
+