diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-05-05 12:04:18 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-05-05 12:04:18 -0230 |
commit | 77beda421aa4cbe82b1bf7b7000ed456c0f16437 (patch) | |
tree | 33fab63f3196bbcebedb0dd6299c52ed68a7f7d7 /ruby/test | |
parent | fixing gradle test dependency (diff) | |
download | ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.tar.bz2 ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.tar.xz ice-77beda421aa4cbe82b1bf7b7000ed456c0f16437.zip |
ICE-6479 info test failures with scripting languages
Diffstat (limited to 'ruby/test')
-rw-r--r-- | ruby/test/Ice/info/AllTests.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/test/Ice/info/AllTests.rb b/ruby/test/Ice/info/AllTests.rb index 394ab3a5b38..a2ca97ba20f 100644 --- a/ruby/test/Ice/info/AllTests.rb +++ b/ruby/test/Ice/info/AllTests.rb @@ -32,7 +32,7 @@ def allTests(communicator) test((ipEndpoint.type() == Ice::TCPEndpointType && ipEndpoint.is_a?(Ice::TCPEndpointInfo)) || (ipEndpoint.type() == Ice::SSLEndpointType) || (ipEndpoint.type() == Ice::WSEndpointType && ipEndpoint.is_a?(Ice::WSEndpointInfo)) || - (ipEndpoint.type() == Ice::WSSEndpointType && ipEndpoint.is_a?(Ice::WSEndpointInfo))) + (ipEndpoint.type() == Ice::WSSEndpointType)) udpEndpoint = endps[1].getInfo() test(udpEndpoint.is_a?(Ice::UDPEndpointInfo)); @@ -102,7 +102,7 @@ def allTests(communicator) test(ctx["remotePort"] == info.localPort.to_s()) test(ctx["localPort"] == info.remotePort.to_s()) - if base.ice_getConnection().type() == "ws" || base.ice_getConnection().type() == "wss" + if base.ice_getConnection().type() == "ws" test(info.is_a?(Ice::WSConnectionInfo)) test(info.headers["Upgrade"] == "websocket") |