1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
3 #ifndef TESTFILESTOREBACKENDH
4 #define TESTFILESTOREBACKENDH
6 #include "common/Finisher.h"
8 #include "include/Context.h"
9 #include "os/ObjectStore.h"
11 class TestFileStoreBackend : public Backend {
14 map<string, ObjectStore::Sequencer> osrs;
15 const bool write_infos;
18 TestFileStoreBackend(ObjectStore *os, bool write_infos);
19 ~TestFileStoreBackend() override {
27 Context *on_commit) override;
34 Context *on_complete) override;