summaryrefslogtreecommitdiff
path: root/icespider/unittests/test-api.ice
diff options
context:
space:
mode:
Diffstat (limited to 'icespider/unittests/test-api.ice')
-rw-r--r--icespider/unittests/test-api.ice12
1 files changed, 11 insertions, 1 deletions
diff --git a/icespider/unittests/test-api.ice b/icespider/unittests/test-api.ice
index ff43dc2..310761b 100644
--- a/icespider/unittests/test-api.ice
+++ b/icespider/unittests/test-api.ice
@@ -3,8 +3,18 @@ module TestIceSpider {
string value;
};
+ struct Mash1 {
+ SomeModel a;
+ SomeModel b;
+ };
+
+ class Mash2 {
+ SomeModel a;
+ SomeModel b;
+ };
+
interface TestApi {
- SomeModel index();
+ SomeModel index();
SomeModel withParams(string s, int i);
void returnNothing(string s);
void complexParam(optional(0) string s, SomeModel m);