summaryrefslogtreecommitdiff
path: root/php/test
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-01-07 10:16:13 -0330
committerDwayne Boone <dwayne@zeroc.com>2015-01-07 10:16:13 -0330
commit25dc1ddfb828aa892afdf399c835c8a150a8cff3 (patch)
tree1c0ba31f16ad41aadcdccddbc4fc803396004709 /php/test
parentICE-6253 added tests to ensure Functional_TwowayCallback* used (diff)
downloadice-25dc1ddfb828aa892afdf399c835c8a150a8cff3.tar.bz2
ice-25dc1ddfb828aa892afdf399c835c8a150a8cff3.tar.xz
ice-25dc1ddfb828aa892afdf399c835c8a150a8cff3.zip
ICE-6082 added sndBufSize and rcvBufSize to UDPEndpointInfo
Diffstat (limited to 'php/test')
-rw-r--r--php/test/Ice/info/Client.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/php/test/Ice/info/Client.php b/php/test/Ice/info/Client.php
index 46c800c3b33..52425a505c8 100644
--- a/php/test/Ice/info/Client.php
+++ b/php/test/Ice/info/Client.php
@@ -44,6 +44,9 @@ function allTests($communicator)
$protocolVersionClass = $NS ? "Ice\\ProtocolVersion" : "Ice_ProtocolVersion";
$encodingVersionClass = $NS ? "Ice\\EncodingVersion" : "Ice_EncodingVersion";
+ $communicator->getProperties()->setProperty("Ice.UDP.SndSize", "1024");
+ $communicator->getProperties()->setProperty("Ice.UDP.RcvSize", "2048");
+
echo "testing proxy endpoint information... ";
flush();
{
@@ -83,6 +86,8 @@ function allTests($communicator)
test(!$udpEndpoint->secure());
test($udpEndpoint->datagram());
test($udpEndpoint->type() == $udpEndpointType);
+ test($udpEndpoint->sndBufSize == -1);
+ test($udpEndpoint->rcvBufSize == -1);
$opaqueEndpoint = $endps[2]->getInfo();
test($opaqueEndpoint);