summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestAMDI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-08 13:46:55 +0100
committerJose <jose@zeroc.com>2016-03-08 13:46:55 +0100
commit2bd402833bfdb54c1940dd0038be8af05d6f5e6f (patch)
treeeb7be3853dc45452397b730e586434f6e859efb3 /cpp/test/Ice/operations/TestAMDI.cpp
parentWindows fixes for icegriddb/icestormdb (diff)
downloadice-2bd402833bfdb54c1940dd0038be8af05d6f5e6f.tar.bz2
ice-2bd402833bfdb54c1940dd0038be8af05d6f5e6f.tar.xz
ice-2bd402833bfdb54c1940dd0038be8af05d6f5e6f.zip
ICE-6991 - Add support for unicode escape sequences
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r--cpp/test/Ice/operations/TestAMDI.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp
index 35c0c4af515..df030eb030d 100644
--- a/cpp/test/Ice/operations/TestAMDI.cpp
+++ b/cpp/test/Ice/operations/TestAMDI.cpp
@@ -13,6 +13,8 @@
#include <functional>
#include <iterator>
+using namespace std;
+
class Thread_opVoid : public IceUtil::Thread
{
public:
@@ -776,4 +778,47 @@ void
MyDerivedClassI::opMyClass1_async(const Test::AMD_MyDerivedClass_opMyClass1Ptr& cb, const Test::MyClass1Ptr& c, const Ice::Current&)
{
cb->ice_response(c);
+}
+
+
+void
+MyDerivedClassI::opStringLiterals_async(const Test::AMD_MyClass_opStringLiteralsPtr& cb,
+ const Ice::Current&)
+{
+ Test::StringS data;
+ data.push_back(Test::s0);
+ data.push_back(Test::s1);
+ data.push_back(Test::s2);
+ data.push_back(Test::s3);
+ data.push_back(Test::s4);
+ data.push_back(Test::s5);
+ data.push_back(Test::s6);
+ data.push_back(Test::s7);
+ data.push_back(Test::s8);
+ data.push_back(Test::s9);
+ data.push_back(Test::s10);
+
+ data.push_back(Test::sw0);
+ data.push_back(Test::sw1);
+ data.push_back(Test::sw2);
+ data.push_back(Test::sw3);
+ data.push_back(Test::sw4);
+ data.push_back(Test::sw5);
+ data.push_back(Test::sw6);
+ data.push_back(Test::sw7);
+ data.push_back(Test::sw8);
+ data.push_back(Test::sw9);
+ data.push_back(Test::sw10);
+
+ data.push_back(Test::ss0);
+ data.push_back(Test::ss1);
+ data.push_back(Test::ss2);
+ data.push_back(Test::ss3);
+ data.push_back(Test::ss4);
+ data.push_back(Test::ss5);
+
+ data.push_back(Test::su0);
+ data.push_back(Test::su1);
+ data.push_back(Test::su2);
+ cb->ice_response(data);
} \ No newline at end of file