#ifndef MOCKSQLITEDATASOURCE_H #define MOCKSQLITEDATASOURCE_H #include #include #include #include namespace SQLite { class DLL_PUBLIC Mock : public DB::MockDatabase { public: Mock(const std::string & root, const std::string & name, const std::vector & ss); Mock(const std::string & name, const std::vector & ss); ~Mock() override; SPECIAL_MEMBERS_MOVE_RO(Mock); protected: void DropDatabase() const override; void CreateNewDatabase() const override; [[nodiscard]] DB::ConnectionPtr openConnection() const override; private: const std::filesystem::path testDbPath; }; } #endif