diff options
Diffstat (limited to 'icespider/unittests/test-api.ice')
-rw-r--r-- | icespider/unittests/test-api.ice | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/icespider/unittests/test-api.ice b/icespider/unittests/test-api.ice index 53def7d..c89e0fc 100644 --- a/icespider/unittests/test-api.ice +++ b/icespider/unittests/test-api.ice @@ -14,10 +14,17 @@ module TestIceSpider { string s; }; + ["cpp:ice_print"] + exception Ex { + string message; + }; + interface TestApi { + int simple() throws Ex; + string simplei(int i); SomeModel index(); - SomeModel withParams(string s, int i); - void returnNothing(string s); + SomeModel withParams(string s, int i) throws Ex; + void returnNothing(string s) throws Ex; void complexParam(optional(0) string s, SomeModel m); }; interface DummyPlugin { |