Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Mar 21, 2024
1 parent 878e37e commit 328a47c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 38 deletions.
6 changes: 0 additions & 6 deletions matlab/test/Ice/proxy/AllTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,6 @@
cl10.ice_encodingVersion(Ice.EncodingVersion(1, 0)).ice_ping();
cl.ice_encodingVersion(Ice.EncodingVersion(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 = MyClassPrx.uncheckedCast(communicator.stringToProxy(ref13));
cl13.ice_ping();

fprintf('ok\n');

fprintf('testing opaque endpoints... ');
Expand Down
7 changes: 0 additions & 7 deletions php/test/Ice/proxy/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -520,13 +520,6 @@ function allTests($helper)
$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 = sprintf("test -e 1.3:%s", $helper->getTestEndpoint());
$cl13 = $communicator->stringToProxy($ref13)->ice_uncheckedCast("::Test::MyClass");
$cl13->ice_ping();
echo "ok\n";

echo "testing opaque endpoints... ";
flush();

Expand Down
6 changes: 0 additions & 6 deletions python/test/Ice/proxy/AllTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,12 +903,6 @@ def allTests(helper, communicator, collocated):
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:{0}".format(helper.getTestEndpoint())
cl13 = Test.MyClassPrx.uncheckedCast(communicator.stringToProxy(ref13))
cl13.ice_ping()

print("ok")

sys.stdout.write("testing opaque endpoints... ")
Expand Down
6 changes: 0 additions & 6 deletions ruby/test/Ice/proxy/AllTests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -711,12 +711,6 @@ def allTests(helper, communicator)
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:#{helper.getTestEndpoint()}"
cl13 = Test::MyClassPrx::uncheckedCast(communicator.stringToProxy(ref13))
cl13.ice_ping()

puts "ok"

print "testing opaque endpoints... "
Expand Down
13 changes: 0 additions & 13 deletions swift/test/Ice/proxy/AllTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -742,12 +742,6 @@ public func allTests(_ helper: TestHelper) throws -> MyClassPrx {
try cl10.ice_encodingVersion(Ice.Encoding_1_0).ice_ping()
try 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
var ref13 = "test -e 1.3:\(helper.getTestEndpoint(num: 0))"
var cl13 = try uncheckedCast(prx: communicator.stringToProxy(ref13)!, type: MyClassPrx.self)
try cl13.ice_ping()

do {
// Send request with bogus 1.2 encoding.
let version = Ice.EncodingVersion(major: 1, minor: 2)
Expand Down Expand Up @@ -796,13 +790,6 @@ public func allTests(_ helper: TestHelper) throws -> MyClassPrx {
cl10 = try uncheckedCast(prx: communicator.stringToProxy(ref10)!, type: MyClassPrx.self)
try cl10.ice_ping()

// 1.3 isn't supported but since a 1.3 proxy supports 1.1, the
// call will use the 1.1 protocol
ref13 = "test -p 1.3:\(helper.getTestEndpoint(num: 0))"
cl13 = try uncheckedCast(prx: communicator.stringToProxy(ref13)!, type: MyClassPrx.self)
try cl13.ice_ping()
writer.writeLine("ok")

writer.write("testing opaque endpoints... ")
do {
// Invalid -x option
Expand Down

0 comments on commit 328a47c

Please sign in to comment.