diff options
author | Jose <jose@zeroc.com> | 2016-03-09 10:38:43 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-03-09 10:38:43 +0100 |
commit | d2f67de91d31704603122420cc68dadabf600be9 (patch) | |
tree | 4fc35ac1c7094596b98964a89bd4e51a607512d4 /cpp/test/Ice/operations/TestAMDI.cpp | |
parent | Merge remote-tracking branch 'origin/3.6' (diff) | |
download | ice-d2f67de91d31704603122420cc68dadabf600be9.tar.bz2 ice-d2f67de91d31704603122420cc68dadabf600be9.tar.xz ice-d2f67de91d31704603122420cc68dadabf600be9.zip |
C++11 string literal fixes
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestAMDI.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp index 4fae7e2b719..b9301e5e751 100644 --- a/cpp/test/Ice/operations/TestAMDI.cpp +++ b/cpp/test/Ice/operations/TestAMDI.cpp @@ -913,6 +913,49 @@ MyDerivedClassI::opMyClass1_async(shared_ptr<Test::MyClass1> c, response(c); } +void +MyDerivedClassI::opStringLiterals_async(function<void (const Test::StringS&)> response, + function<void (exception_ptr)>, + 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); + + response(data); +} #else class Thread_opVoid : public IceUtil::Thread |