summaryrefslogtreecommitdiff
path: root/python/test/Ice/operations/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/operations/TestI.py')
-rw-r--r--python/test/Ice/operations/TestI.py28
1 files changed, 13 insertions, 15 deletions
diff --git a/python/test/Ice/operations/TestI.py b/python/test/Ice/operations/TestI.py
index 449afb523fe..b776b075e78 100644
--- a/python/test/Ice/operations/TestI.py
+++ b/python/test/Ice/operations/TestI.py
@@ -60,7 +60,7 @@ class MyDerivedClassI(Test.MyDerivedClass):
def opMyClass(self, p1, current=None):
return (Test.MyClassPrx.uncheckedCast(current.adapter.createProxy(current.id)), p1,
- Test.MyClassPrx.uncheckedCast(current.adapter.createProxy(current.adapter.getCommunicator().stringToIdentity("noSuchIdentity"))))
+ Test.MyClassPrx.uncheckedCast(current.adapter.createProxy(Ice.stringToIdentity("noSuchIdentity"))))
def opStruct(self, p1, p2, current=None):
p1.s.s = "a new string"
@@ -328,47 +328,45 @@ class MyDerivedClassI(Test.MyDerivedClass):
def opShort1(self, value, current=None):
return value
-
+
def opInt1(self, value, current=None):
return value
-
+
def opLong1(self, value, current=None):
return value
-
+
def opFloat1(self, value, current=None):
return value
-
+
def opDouble1(self, value, current=None):
return value
-
+
def opString1(self, value, current=None):
return value
-
+
def opStringS1(self, value, current=None):
return value
-
+
def opByteBoolD1(self, value, current=None):
return value
-
+
def opStringS2(self, value, current=None):
return value
-
+
def opByteBoolD2(self, value, current=None):
return value
-
+
def opMyClass1(self, value, current=None):
return value
def opMyStruct1(self, value, current=None):
return value
-
+
def opStringLiterals(self, current=None):
return [Test.s0, Test.s1, Test.s2, Test.s3, Test.s4, Test.s5, Test.s6, Test.s7, Test.s8, Test.s9, Test.s10,
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