summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-10 09:33:14 +0100
committerJose <jose@zeroc.com>2016-03-10 09:33:14 +0100
commit709f8a26f7ac03bed5a4d1a0b9de6c4e9d14f806 (patch)
tree0665aa227fce4c4c369619fb2ea1d9f718979655 /python
parentWindows PHP build fixes (diff)
downloadice-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 'python')
-rwxr-xr-xpython/test/Ice/operations/ServerAMD.py3
-rw-r--r--python/test/Ice/operations/Test.ice1
-rw-r--r--python/test/Ice/operations/TestAMD.ice1
-rw-r--r--python/test/Ice/operations/TestI.py3
4 files changed, 8 insertions, 0 deletions
diff --git a/python/test/Ice/operations/ServerAMD.py b/python/test/Ice/operations/ServerAMD.py
index 3561221335a..63611ff1ed8 100755
--- a/python/test/Ice/operations/ServerAMD.py
+++ b/python/test/Ice/operations/ServerAMD.py
@@ -409,6 +409,9 @@ class MyDerivedClassI(Test.MyDerivedClass):
Test.sw0, Test.sw1, Test.sw2, Test.sw3, Test.sw4, Test.sw5, Test.sw6, Test.sw7, Test.sw8, Test.sw9, Test.sw10,
Test.ss0, Test.ss1, Test.ss2, Test.ss3, Test.ss4, Test.ss5,
Test.su0, Test.su1, Test.su2])
+
+ def opWStringLiterals_async(self, cb, current=None):
+ return self.opStringLiterals_async(cb, current)
def run(args, communicator):
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010:udp")
diff --git a/python/test/Ice/operations/Test.ice b/python/test/Ice/operations/Test.ice
index 7f5ec510834..b0d9f02380e 100644
--- a/python/test/Ice/operations/Test.ice
+++ b/python/test/Ice/operations/Test.ice
@@ -248,6 +248,7 @@ class MyClass
ByteBoolD opByteBoolD2(ByteBoolD byteBoolD);
StringS opStringLiterals();
+ StringS opWStringLiterals();
};
struct MyStruct1
diff --git a/python/test/Ice/operations/TestAMD.ice b/python/test/Ice/operations/TestAMD.ice
index ba567612d60..4bb71e8a3cb 100644
--- a/python/test/Ice/operations/TestAMD.ice
+++ b/python/test/Ice/operations/TestAMD.ice
@@ -246,6 +246,7 @@ dictionary<MyEnum, MyEnumS> MyEnumMyEnumSD;
ByteBoolD opByteBoolD2(ByteBoolD byteBoolD);
StringS opStringLiterals();
+ StringS opWStringLiterals();
};
struct MyStruct1
diff --git a/python/test/Ice/operations/TestI.py b/python/test/Ice/operations/TestI.py
index 6700fbfa26e..449afb523fe 100644
--- a/python/test/Ice/operations/TestI.py
+++ b/python/test/Ice/operations/TestI.py
@@ -367,5 +367,8 @@ class MyDerivedClassI(Test.MyDerivedClass):
Test.sw0, Test.sw1, Test.sw2, Test.sw3, Test.sw4, Test.sw5, Test.sw6, Test.sw7, Test.sw8, Test.sw9, Test.sw10,
Test.ss0, Test.ss1, Test.ss2, Test.ss3, Test.ss4, Test.ss5,
Test.su0, Test.su1, Test.su2]
+
+ def opWStringLiterals(self, current=None):
+ return self.opStringLiterals(current)
\ No newline at end of file