diff options
author | Jose <jose@zeroc.com> | 2016-03-10 09:33:14 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-03-10 09:33:14 +0100 |
commit | 709f8a26f7ac03bed5a4d1a0b9de6c4e9d14f806 (patch) | |
tree | 0665aa227fce4c4c369619fb2ea1d9f718979655 /cpp/test/Ice/operations/TestAMDI.cpp | |
parent | Windows PHP build fixes (diff) | |
download | ice-709f8a26f7ac03bed5a4d1a0b9de6c4e9d14f806.tar.bz2 ice-709f8a26f7ac03bed5a4d1a0b9de6c4e9d14f806.tar.xz ice-709f8a26f7ac03bed5a4d1a0b9de6c4e9d14f806.zip |
String literals fixes
- Fixed escape sequences in C++ wide strings
- Fixed objetive-c escape sequences
- Update ruby to use magic comments to set the file encoding
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestAMDI.cpp | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp index df030eb030d..419320fdcc4 100644 --- a/cpp/test/Ice/operations/TestAMDI.cpp +++ b/cpp/test/Ice/operations/TestAMDI.cpp @@ -780,7 +780,6 @@ MyDerivedClassI::opMyClass1_async(const Test::AMD_MyDerivedClass_opMyClass1Ptr& cb->ice_response(c); } - void MyDerivedClassI::opStringLiterals_async(const Test::AMD_MyClass_opStringLiteralsPtr& cb, const Ice::Current&) @@ -821,4 +820,46 @@ MyDerivedClassI::opStringLiterals_async(const Test::AMD_MyClass_opStringLiterals data.push_back(Test::su1); data.push_back(Test::su2); cb->ice_response(data); -}
\ No newline at end of file +} + +void +MyDerivedClassI::opWStringLiterals_async(const Test::AMD_MyClass_opWStringLiteralsPtr& cb, + const Ice::Current&) +{ + Test::WStringS data; + data.push_back(Test::ws0); + data.push_back(Test::ws1); + data.push_back(Test::ws2); + data.push_back(Test::ws3); + data.push_back(Test::ws4); + data.push_back(Test::ws5); + data.push_back(Test::ws6); + data.push_back(Test::ws7); + data.push_back(Test::ws8); + data.push_back(Test::ws9); + data.push_back(Test::ws10); + + data.push_back(Test::wsw0); + data.push_back(Test::wsw1); + data.push_back(Test::wsw2); + data.push_back(Test::wsw3); + data.push_back(Test::wsw4); + data.push_back(Test::wsw5); + data.push_back(Test::wsw6); + data.push_back(Test::wsw7); + data.push_back(Test::wsw8); + data.push_back(Test::wsw9); + data.push_back(Test::wsw10); + + data.push_back(Test::wss0); + data.push_back(Test::wss1); + data.push_back(Test::wss2); + data.push_back(Test::wss3); + data.push_back(Test::wss4); + data.push_back(Test::wss5); + + data.push_back(Test::wsu0); + data.push_back(Test::wsu1); + data.push_back(Test::wsu2); + cb->ice_response(data); +} |