summaryrefslogtreecommitdiff
path: root/src/components/include/test/resumption/mock_last_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/test/resumption/mock_last_state.h')
-rw-r--r--src/components/include/test/resumption/mock_last_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/include/test/resumption/mock_last_state.h b/src/components/include/test/resumption/mock_last_state.h
index 9f4b11cbbf..99c3799a95 100644
--- a/src/components/include/test/resumption/mock_last_state.h
+++ b/src/components/include/test/resumption/mock_last_state.h
@@ -35,6 +35,7 @@
#include "gmock/gmock.h"
#include "resumption/last_state.h"
+#include "utils/macro.h"
namespace test {
namespace components {
@@ -42,8 +43,14 @@ namespace resumption_test {
class MockLastState : public resumption::LastState {
public:
+ DEPRECATED
MOCK_METHOD0(SaveStateToFileSystem, void());
+ DEPRECATED
MOCK_METHOD0(get_dictionary, Json::Value&());
+ MOCK_METHOD0(SaveToFileSystem, void());
+ MOCK_METHOD0(RemoveFromFileSystem, void());
+ MOCK_CONST_METHOD0(dictionary, Json::Value());
+ MOCK_METHOD1(set_dictionary, void(const Json::Value&));
};
} // namespace resumption_test