diff options
author | Jose <jose@zeroc.com> | 2013-07-19 17:28:11 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-07-19 17:28:11 +0200 |
commit | b953f942a12fd452d8ed0c20599b32ee8ddcd457 (patch) | |
tree | ad1ad18401f1fda99d405b4e75bd58e3b963d22b /php/test | |
parent | Expand tabs in distribution/makedist.py & remove references to nonexistent fi... (diff) | |
download | ice-b953f942a12fd452d8ed0c20599b32ee8ddcd457.tar.bz2 ice-b953f942a12fd452d8ed0c20599b32ee8ddcd457.tar.xz ice-b953f942a12fd452d8ed0c20599b32ee8ddcd457.zip |
Fixed ICE-5313 - slice checksums to pay attention to the class compact ID
Diffstat (limited to 'php/test')
-rw-r--r-- | php/test/Ice/checksum/CTypes.ice | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/php/test/Ice/checksum/CTypes.ice b/php/test/Ice/checksum/CTypes.ice index 96ebb8b4f98..9fd0245f152 100644 --- a/php/test/Ice/checksum/CTypes.ice +++ b/php/test/Ice/checksum/CTypes.ice @@ -405,6 +405,38 @@ class BaseClass11 }; // +// TEST: Class with compact id +// +class Compact1(1) +{ + void baseOp(); + void baseOp2(int i, out string s) throws Exception1; +}; + +// +// TEST: Derived from class with compact id +// +class Derived1 extends Compact1 +{ +}; + +// +// TEST: Same class names but different compact id +// +class Compact2(2) +{ + void baseOp(); + void baseOp2(int i, out string s) throws Exception1; +}; + +// +// TEST: Derived from class with compact, where parent ids doesn't match. +// +class Derived2 extends Compact2 +{ +}; + +// // TEST: Local // local enum LocalEnum { LocalEnum1, LocalEnum2, LocalEnum3 }; |