From 4058ada173f6e868e70a667078f5a770ae8efa7c Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 25 Sep 2019 17:26:36 +0200 Subject: Fixed Python bug related to invalid return parameters, fixes #550 --- objective-c/test/Ice/servantLocator/ServantLocatorI.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'objective-c') diff --git a/objective-c/test/Ice/servantLocator/ServantLocatorI.m b/objective-c/test/Ice/servantLocator/ServantLocatorI.m index fd94a5c6411..ca028a5a18e 100644 --- a/objective-c/test/Ice/servantLocator/ServantLocatorI.m +++ b/objective-c/test/Ice/servantLocator/ServantLocatorI.m @@ -36,6 +36,11 @@ return 0; } + if([current.id_.name isEqual:@"invalidReturnValue"] || [current.id_.name isEqual:@"invalidReturnType"]) + { + return 0; + } + test([current.id_.name isEqual:@"locate"] || [current.id_.name isEqual:@"finished"]); if([current.id_.name isEqual:@"locate"]) { -- cgit v1.2.3