summaryrefslogtreecommitdiff
path: root/mythfs/unittests/mockDefs.cpp
blob: ba233c314c3aad07be62f11f8ce6bbb1e6e06da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "mockDefs.h"
#include <definedDirs.h>

Service::Service() :
	MySQL::Mock("MythFS", {
			//rootDir / "fixtures" / "schema.sql",
			rootDir / "fixtures" / "schema-min.sql",
			rootDir / "fixtures" / "data.sql"
		})
{
}

TestClient::TestClient() :
	db(getProxy<MythFS::DBPrx>("DB")),
	s(getProxy<NetFS::ServicePrx>("Service"))
{
}