summaryrefslogtreecommitdiff
path: root/icespider/unittests/test-api.ice
blob: 53def7de66405329690ffd1f013026e06cff5447 (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
module TestIceSpider {
	class SomeModel {
		string value;
	};

	struct Mash1 {
		SomeModel a;
		SomeModel b;
	};

	class Mash2 {
		SomeModel a;
		SomeModel b;
		string s;
	};

	interface TestApi {
		SomeModel index();
		SomeModel withParams(string s, int i);
		void returnNothing(string s);
		void complexParam(optional(0) string s, SomeModel m);
	};
	interface DummyPlugin {
	};
};