summaryrefslogtreecommitdiff
path: root/objective-c/test/Ice/operations/OperationsTest.ice
diff options
context:
space:
mode:
Diffstat (limited to 'objective-c/test/Ice/operations/OperationsTest.ice')
-rw-r--r--objective-c/test/Ice/operations/OperationsTest.ice42
1 files changed, 35 insertions, 7 deletions
diff --git a/objective-c/test/Ice/operations/OperationsTest.ice b/objective-c/test/Ice/operations/OperationsTest.ice
index 7f8a084184b..1014c86f54a 100644
--- a/objective-c/test/Ice/operations/OperationsTest.ice
+++ b/objective-c/test/Ice/operations/OperationsTest.ice
@@ -252,19 +252,31 @@ class MyClass
MyEnumMyEnumSD opMyEnumMyEnumSD(MyEnumMyEnumSD p1, MyEnumMyEnumSD p2,
out MyEnumMyEnumSD p3);
- IntS opIntS(IntS s);
+ IntS opIntS(IntS s);
- void opByteSOneway(ByteS s);
+ void opByteSOneway(ByteS s);
- int opByteSOnewayCallCount();
+ int opByteSOnewayCallCount();
- Ice::Context opContext();
+ Ice::Context opContext();
- void opDoubleMarshaling(double p1, DoubleS p2);
+ void opDoubleMarshaling(double p1, DoubleS p2);
- idempotent void opIdempotent();
+ idempotent void opIdempotent();
- ["nonmutating"] idempotent void opNonmutating();
+ ["nonmutating"] idempotent void opNonmutating();
+
+ byte opByte1(byte opByte1);
+ short opShort1(short opShort1);
+ int opInt1(int opInt1);
+ long opLong1(long opLong1);
+ float opFloat1(float opFloat1);
+ double opDouble1(double opDouble1);
+ string opString1(string opString1);
+ StringS opStringS1(StringS opStringS1);
+ ByteBoolD opByteBoolD1(ByteBoolD opByteBoolD1);
+ StringS opStringS2(StringS stringS);
+ ByteBoolD opByteBoolD2(ByteBoolD byteBoolD);
//
// Operations below are specific to Objective-C
@@ -281,9 +293,25 @@ class MyClass
void putNSNullStringMyEnumDict(StringMyEnumD d);
};
+struct MyStruct1
+{
+ string tesT; // Same name as the enclosing module
+ MyClass myClass; // Same name as an already defined class
+ string myStruct1; // Same name as the enclosing struct
+};
+
+class MyClass1
+{
+ string tesT; // Same name as the enclosing module
+ MyClass myClass; // Same name as an already defined class
+ string myClass1; // Same name as the enclosing class
+};
+
class MyDerivedClass extends MyClass
{
void opDerived();
+ MyClass1 opMyClass1(MyClass1 c);
+ MyStruct1 opMyStruct1(MyStruct1 c);
};
};