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

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

TestClient::TestClient() :
	db(MythFS::DBPrx::checkedCast(ic->stringToProxy("db:tcp -p 9002"))),
	s(NetFS::ServicePrx::checkedCast(ic->stringToProxy("service:tcp -p 9002")))
{
}