From ff6f9f47dbbaaf84dde2a86dd8f854fcf3060378 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 31 Oct 2007 16:56:57 +0000 Subject: 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 --- cpp/src/tests/SessionState.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpp/src/tests/SessionState.cpp') 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"); -- cgit v1.2.1