diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-01-07 10:16:13 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-01-07 10:16:13 -0330 |
commit | 25dc1ddfb828aa892afdf399c835c8a150a8cff3 (patch) | |
tree | 1c0ba31f16ad41aadcdccddbc4fc803396004709 /php/test | |
parent | ICE-6253 added tests to ensure Functional_TwowayCallback* used (diff) | |
download | ice-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.php | 5 |
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); |