diff options
author | Jose <jose@zeroc.com> | 2016-03-01 14:33:27 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-03-01 14:33:27 +0100 |
commit | e283494c906ffac2be14f38422934921ea6ae307 (patch) | |
tree | c4b9274845482abd89f84555675d8486a41a71e3 /php/test | |
parent | Rework previous fix for 3.6 compatibility (diff) | |
download | ice-e283494c906ffac2be14f38422934921ea6ae307.tar.bz2 ice-e283494c906ffac2be14f38422934921ea6ae307.tar.xz ice-e283494c906ffac2be14f38422934921ea6ae307.zip |
Ice::identityToString/Ice::stringToIdentity php/ruby/python implementations
Diffstat (limited to 'php/test')
-rw-r--r-- | php/test/Ice/proxy/Client.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/php/test/Ice/proxy/Client.php b/php/test/Ice/proxy/Client.php index 20783d006d4..ac186cd15d4 100644 --- a/php/test/Ice/proxy/Client.php +++ b/php/test/Ice/proxy/Client.php @@ -38,6 +38,9 @@ function allTests($communicator) $random = $NS ? constant("Ice\\EndpointSelectionType::Random") : constant("Ice_EndpointSelectionType::Random"); $ordered = $NS ? constant("Ice\\EndpointSelectionType::Ordered") : constant("Ice_EndpointSelectionType::Ordered"); $encodingVersion = $NS ? "Ice\\EncodingVersion" : "Ice_EncodingVersion"; + + $identityToString = $NS ? "Ice\\identityToString" : "Ice_identityToString"; + $stringToIdentity = $NS ? "Ice\\stringToIdentity" : "Ice_stringToIdentity"; echo "testing stringToProxy... "; flush(); @@ -435,6 +438,7 @@ function allTests($communicator) echo "testing proxy methods... "; flush(); test($communicator->identityToString($base->ice_identity($communicator->stringToIdentity("other"))->ice_getIdentity()) == "other"); + test($identityToString($base->ice_identity($stringToIdentity("other"))->ice_getIdentity()) == "other"); test($base->ice_facet("facet")->ice_getFacet() == "facet"); test($base->ice_adapterId("id")->ice_getAdapterId() == "id"); test($base->ice_twoway()->ice_isTwoway()); |