diff options
author | Alan Conway <aconway@apache.org> | 2007-10-31 16:56:57 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-10-31 16:56:57 +0000 |
commit | ff6f9f47dbbaaf84dde2a86dd8f854fcf3060378 (patch) | |
tree | e5474e9e0d23cec834b06c99cdaf9d4a98b1a0b5 /cpp/src/tests/SessionState.cpp | |
parent | 3d05570dc824c704285bfef1ff810fbb1589f596 (diff) | |
download | qpid-python-ff6f9f47dbbaaf84dde2a86dd8f854fcf3060378.tar.gz |
Simplify SessionState, preparing for session thread safety fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@590751 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/SessionState.cpp')
-rw-r--r-- | cpp/src/tests/SessionState.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/tests/SessionState.cpp b/cpp/src/tests/SessionState.cpp index c8d912801e..19a146c759 100644 --- a/cpp/src/tests/SessionState.cpp +++ b/cpp/src/tests/SessionState.cpp @@ -97,21 +97,16 @@ BOOST_AUTO_TEST_CASE(testReplay) { // Replay of all frames. SessionState session(100); sent(session, "abc"); - session.suspend(); session.resuming(); session.receivedAck(-1); BOOST_CHECK_EQUAL(replayChars(session.replay()), "abc"); // Replay with acks session.receivedAck(0); // ack a. - session.suspend(); - session.resuming(); session.receivedAck(1); // ack b. BOOST_CHECK_EQUAL(replayChars(session.replay()), "c"); // Replay after further frames. sent(session, "def"); - session.suspend(); - session.resuming(); session.receivedAck(3); BOOST_CHECK_EQUAL(replayChars(session.replay()), "ef"); |