summaryrefslogtreecommitdiff
path: root/libodbcpp/mock.h
blob: d2bcbfe2941d299a329efdf225ba2e3c3ea3865f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MOCKODBCDATASOURCE_H
#define MOCKODBCDATASOURCE_H

#include <mockDatabase.h>
#include <boost/filesystem/path.hpp>
#include <visibility.h>

namespace ODBC {

class DLL_PUBLIC Mock : public DB::MockServerDatabase {
	public:
		Mock(const std::string & master, const std::string & name, const std::vector<boost::filesystem::path> & ss);
		~Mock();

	protected:
		void DropDatabase() const override;

	private:
		DB::Connection * openConnection() const override;
};

}

#endif