summaryrefslogtreecommitdiff
path: root/unittests/mockDefs.h
blob: 9fa3ab7fba71a0987cd244ee49d2286498e36d95 (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
26
27
28
29
30
31
32
33
34
35
#ifndef GITFS_TEST_MOCKDEFS_H
#define GITFS_TEST_MOCKDEFS_H

#include <c++11Helpers.h>
#include <dryice.h>
#include <service.h>
#include <types.h>
#include <visibility.h>
#include <volume.h>

namespace GitFS::Test {
	class DLL_PUBLIC Service : public IceTray::DryIce {
	public:
		Service();
	};

	class DLL_PUBLIC Client : public IceTray::DryIceClient {
	public:
		Client();

		const NetFS::ServicePrxPtr s;
	};

	class DLL_PUBLIC VolumeClient : public Client {
	public:
		VolumeClient();
		~VolumeClient() override;
		SPECIAL_MEMBERS_DELETE(VolumeClient);

		const NetFS::ReqEnv env;
		const NetFS::VolumePrxPtr v;
	};
}

#endif