diff options
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/Ice/servantLocator/ServantLocatorI.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/Ice/servantLocator/ServantLocatorI.cpp b/cpp/test/Ice/servantLocator/ServantLocatorI.cpp index 2282aaca474..752b55ad044 100644 --- a/cpp/test/Ice/servantLocator/ServantLocatorI.cpp +++ b/cpp/test/Ice/servantLocator/ServantLocatorI.cpp @@ -43,6 +43,11 @@ ServantLocatorI::locate(const Ice::Current& current, Ice::LocalObjectPtr& cookie return 0; } + if(current.id.name == "invalidReturnValue" || current.id.name == "invalidReturnType") + { + return 0; + } + test(current.id.name == "locate" || current.id.name == "finished"); if(current.id.name == "locate") { |