diff options
author | Alan Conway <aconway@apache.org> | 2011-08-18 14:58:53 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2011-08-18 14:58:53 +0000 |
commit | d930f07d077945ebc1db161e6b6691b987938484 (patch) | |
tree | 22ccc0f46fc14353ef949d3c8907c39f107302dc /cpp/src/tests/QueueEvents.cpp | |
parent | b8cbcc61467d1d5cc25e1effee670abb98276336 (diff) | |
download | qpid-python-d930f07d077945ebc1db161e6b6691b987938484.tar.gz |
NO-JIRA: eliminate SocketProxy from tests.
Was causing problems with changes to introduce IPv6.
In most cases this was being used unnecessarilly due to cut-and-paste of tests.
In the 2 cases it was useful, replaced by simply shutting down the broker
to simulate network failure.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1159268 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueEvents.cpp')
-rw-r--r-- | cpp/src/tests/QueueEvents.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/QueueEvents.cpp b/cpp/src/tests/QueueEvents.cpp index bd18fa45fb..cea8bbf0db 100644 --- a/cpp/src/tests/QueueEvents.cpp +++ b/cpp/src/tests/QueueEvents.cpp @@ -147,7 +147,7 @@ struct EventRecorder QPID_AUTO_TEST_CASE(testSystemLevelEventProcessing) { - ProxySessionFixture fixture; + SessionFixture fixture; //register dummy event listener to broker EventRecorder listener; fixture.broker->getQueueEvents().registerListener("recorder", boost::bind(&EventRecorder::handle, &listener, _1)); @@ -194,7 +194,7 @@ QPID_AUTO_TEST_CASE(testSystemLevelEventProcessing) QPID_AUTO_TEST_CASE(testSystemLevelEventProcessing_enqueuesOnly) { - ProxySessionFixture fixture; + SessionFixture fixture; //register dummy event listener to broker EventRecorder listener; fixture.broker->getQueueEvents().registerListener("recorder", boost::bind(&EventRecorder::handle, &listener, _1)); |