summaryrefslogtreecommitdiff
path: root/server/src/pracrodaotest.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-17 11:00:14 +0000
committerdeva <deva>2011-02-17 11:00:14 +0000
commitdb144840aba95affb3a6b5b2536059f49f0677ff (patch)
tree1c397a20aa5745c6bbb5dee6a4409f58c4542e87 /server/src/pracrodaotest.h
parentc8651b8c89673300477ab86962640c93216ea306 (diff)
Rewrite of all old tests to new unittest framework. Also some work on testdb; more to come...
Diffstat (limited to 'server/src/pracrodaotest.h')
-rw-r--r--server/src/pracrodaotest.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/pracrodaotest.h b/server/src/pracrodaotest.h
index 1e1a8c0..981b6d5 100644
--- a/server/src/pracrodaotest.h
+++ b/server/src/pracrodaotest.h
@@ -71,6 +71,7 @@ public:
dbtable_t transactions;
dbtable_t fieldnames;
dbtable_t fields;
+ dbtable_t commits;
};
class PracroDAOTest : public PracroDAO
@@ -104,8 +105,8 @@ public:
void discard(std::string sessionid) {}
std::string serialise() { return ""; }
void restore(const std::string &data) {}
- bool active(std::string sessionid) {return false;}
- void setActive(std::string sessionid, bool active) {}
+ bool active(std::string sessionid);
+ void setActive(std::string sessionid, bool active);
private:
Data data;