summaryrefslogtreecommitdiff
path: root/cppe
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2007-06-04 05:19:50 +0000
committerMichi Henning <michi@zeroc.com>2007-06-04 05:19:50 +0000
commit074df543ab36fc47f91a0160bb232903043ebd02 (patch)
tree0e58e5ba20af80fd1a4fc33b24a8445f5288ff08 /cppe
parentBug 1597. (diff)
downloadice-074df543ab36fc47f91a0160bb232903043ebd02.tar.bz2
ice-074df543ab36fc47f91a0160bb232903043ebd02.tar.xz
ice-074df543ab36fc47f91a0160bb232903043ebd02.zip
bug 1597.
Diffstat (limited to 'cppe')
-rw-r--r--cppe/test/IceE/proxy/AllTests.cpp7
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");