diff options
author | Michi Henning <michi@zeroc.com> | 2007-06-04 05:19:50 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-06-04 05:19:50 +0000 |
commit | 074df543ab36fc47f91a0160bb232903043ebd02 (patch) | |
tree | 0e58e5ba20af80fd1a4fc33b24a8445f5288ff08 /cppe/test | |
parent | Bug 1597. (diff) | |
download | ice-074df543ab36fc47f91a0160bb232903043ebd02.tar.bz2 ice-074df543ab36fc47f91a0160bb232903043ebd02.tar.xz ice-074df543ab36fc47f91a0160bb232903043ebd02.zip |
bug 1597.
Diffstat (limited to 'cppe/test')
-rw-r--r-- | cppe/test/IceE/proxy/AllTests.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cppe/test/IceE/proxy/AllTests.cpp b/cppe/test/IceE/proxy/AllTests.cpp index 905494026d0..58a0a87bc26 100644 --- a/cppe/test/IceE/proxy/AllTests.cpp +++ b/cppe/test/IceE/proxy/AllTests.cpp @@ -234,8 +234,14 @@ allTests(const Ice::CommunicatorPtr& communicator) test(b1->ice_getIdentity().name == "test" && b1->ice_getIdentity().category.empty() && b1->ice_getFacet().empty()); + string property; + // These two properties don't do anything to direct proxies so // first we test that. + /* + * Commented out because setting a locator or locator cache + * timeout on a direct proxy causes warning. + * #ifdef ICEE_HAS_LOCATOR string property = propertyPrefix + ".Locator"; test(!b1->ice_getLocator()); @@ -245,7 +251,6 @@ allTests(const Ice::CommunicatorPtr& communicator) prop->setProperty(property, ""); #endif -/* property = propertyPrefix + ".LocatorCacheTimeout"; test(b1->ice_getLocatorCacheTimeout() == 0); prop->setProperty(property, "1"); |