summaryrefslogtreecommitdiff
path: root/cppe
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-01-25 14:03:47 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-01-25 14:03:47 +0000
commit5a6d85bc7972805fd4e036239ab03ba8f45c111c (patch)
tree56ffafede207b6e157bb5fc21dcee96185346d98 /cppe
parentFix (diff)
downloadice-5a6d85bc7972805fd4e036239ab03ba8f45c111c.tar.bz2
ice-5a6d85bc7972805fd4e036239ab03ba8f45c111c.tar.xz
ice-5a6d85bc7972805fd4e036239ab03ba8f45c111c.zip
Fixed bug 815
Diffstat (limited to 'cppe')
-rw-r--r--cppe/test/IceE/operations/Twoways.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/cppe/test/IceE/operations/Twoways.cpp b/cppe/test/IceE/operations/Twoways.cpp
index efd5d5bd22b..d5d780131d2 100644
--- a/cppe/test/IceE/operations/Twoways.cpp
+++ b/cppe/test/IceE/operations/Twoways.cpp
@@ -682,19 +682,7 @@ twoways(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& p)
Test::MyClassPrx c5 = Test::MyClassPrx::uncheckedCast(c->ice_defaultContext());
test(c5->opContext()["a"] == "d");
- //
- // TODO: The succeeds with the line below commented out, even though it should
- // fail. What is going on is that the last setDefaultContext call leaves a
- // context with an entry <"a", "d">. In Alltests.cpp, we call twoways() (this
- // function) a second time, on a derived proxy. Above, the structure test (line 164)
- // calls an operation that returns a proxy. Because the default context
- // is still <"a", "d">, that returned proxy should get that default context.
- // However, it doesn't.
- //
- // If you comment out the setDefaultContext call below in Java or C# and run
- // the tests, you see the failure that should be caused here, but isn't.
-
- //communicator->setDefaultContext(Ice::Context());
+ communicator->setDefaultContext(Ice::Context());
}
}
}