summaryrefslogtreecommitdiff
path: root/php/test
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-15 10:33:18 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-15 10:33:18 +0100
commit9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909 (patch)
tree387bf0e45be6e75e2af2fcf36eb7588000578e2c /php/test
parentFixed add-in unexpected exception (diff)
downloadice-9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909.tar.bz2
ice-9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909.tar.xz
ice-9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909.zip
Fixed ICE-5126 - Improved client side encoding checks
Diffstat (limited to 'php/test')
-rw-r--r--php/test/Ice/proxy/Client.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/php/test/Ice/proxy/Client.php b/php/test/Ice/proxy/Client.php
index aec97a2f4ee..10c98a593b6 100644
--- a/php/test/Ice/proxy/Client.php
+++ b/php/test/Ice/proxy/Client.php
@@ -501,6 +501,12 @@ function allTests($communicator)
$cl10->ice_ping();
$cl10->ice_encodingVersion($Ice_Encoding_1_0)->ice_ping();
$cl->ice_encodingVersion($Ice_Encoding_1_0)->ice_ping();
+
+ // 1.3 isn't supported but since a 1.3 proxy supports 1.1, the
+ // call will use the 1.1 encoding
+ $ref13 = "test -e 1.3:default -p 12010";
+ $cl13 = $communicator->stringToProxy($ref13)->ice_uncheckedCast("::Test::MyClass");
+ $cl13->ice_ping();
echo "ok\n";
echo "testing opaque endpoints... ";