summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/exception_test.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-04-20 12:10:37 +0000
committerGordon Sim <gsim@apache.org>2008-04-20 12:10:37 +0000
commit4780580874e8d6a3e3590fa5fdf8a088310b20ae (patch)
treea73e247b9821c2429a8e015ddff9cbb5d17a88e8 /qpid/cpp/src/tests/exception_test.cpp
parente29bb6406ad8d0c0d9d58b7d1d09798829687602 (diff)
downloadqpid-python-4780580874e8d6a3e3590fa5fdf8a088310b20ae.tar.gz
QPID-920: converted c++ client to use final 0-10 protocol
* connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/exception_test.cpp')
-rw-r--r--qpid/cpp/src/tests/exception_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/exception_test.cpp b/qpid/cpp/src/tests/exception_test.cpp
index f7a91f662f..7c68973d4d 100644
--- a/qpid/cpp/src/tests/exception_test.cpp
+++ b/qpid/cpp/src/tests/exception_test.cpp
@@ -96,7 +96,8 @@ QPID_AUTO_TEST_CASE(DisconnectedListen) {
QPID_AUTO_TEST_CASE(NoSuchQueueTest) {
ProxySessionFixture fix;
- BOOST_CHECK_THROW(fix.subs.subscribe(fix.lq, "no such queue").sync(), NotFoundException);
+ fix.session.setSynchronous(true);
+ BOOST_CHECK_THROW(fix.subs.subscribe(fix.lq, "no such queue"), NotFoundException);
}
QPID_AUTO_TEST_SUITE_END()