summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/objects/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/objects/TestI.cpp')
-rw-r--r--cpp/test/Ice/objects/TestI.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/cpp/test/Ice/objects/TestI.cpp b/cpp/test/Ice/objects/TestI.cpp
index 595bc6f3e18..a5df2c6d3c9 100644
--- a/cpp/test/Ice/objects/TestI.cpp
+++ b/cpp/test/Ice/objects/TestI.cpp
@@ -223,6 +223,34 @@ InitialI::getCompact(const Ice::Current&)
return new CompactExt();
}
+Test::Inner::APtr
+InitialI::getInnerA(const Ice::Current&)
+{
+ return new Inner::A(_b1);
+}
+
+Test::Inner::Sub::APtr
+InitialI::getInnerSubA(const Ice::Current&)
+{
+ return new Inner::Sub::A(new Inner::A(_b1));
+}
+
+void
+InitialI::throwInnerEx(const Ice::Current&)
+{
+ Inner::Ex ex;
+ ex.reason = "Inner::Ex";
+ throw ex;
+}
+
+void
+InitialI::throwInnerSubEx(const Ice::Current&)
+{
+ Inner::Sub::Ex ex;
+ ex.reason = "Inner::Sub::Ex";
+ throw ex;
+}
+
IPtr
InitialI::getJ(const Ice::Current&)
{