summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-mock.h
blob: ce4fdf2d37728e6ef72e15140e332f2fc78aaf70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MOCKMYSQLDATASOURCE_H
#define MOCKMYSQLDATASOURCE_H

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

namespace MySQL {

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

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

}

#endif