blob: d699f6e8b1ccff5aec84b0070b7e823215ad0556 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "mockDefs.h"
#include <definedDirs.h>
#include <Ice/ObjectAdapter.h>
#include <dbimpl.h>
Service::Service() :
MySQL::Mock("MythFS", {
//rootDir / "fixtures" / "schema.sql",
rootDir / "fixtures" / "schema-min.sql",
rootDir / "fixtures" / "data.sql"
})
{
}
TestClient::TestClient() :
dbpool(getService()->getConnectionPool(getAdapter()->getCommunicator(), "mock", "MythFS")),
db(new MythFS::DBImpl(dbpool)),
s(getProxy<NetFS::ServicePrx>("Service"))
{
}
|