diff options
author | Gordon Sim <gsim@apache.org> | 2009-02-13 09:30:33 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-02-13 09:30:33 +0000 |
commit | b43667df964b67534bb161cfff363315afef972a (patch) | |
tree | 03a148d46b97c703ddc762174200ef6e266d5354 /cpp/src/tests/ClientSessionTest.cpp | |
parent | dff7cf7b700f0ad65c40f85f0efc09f1c5fe6285 (diff) | |
download | qpid-python-b43667df964b67534bb161cfff363315afef972a.tar.gz |
Test case for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@744052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ClientSessionTest.cpp')
-rw-r--r-- | cpp/src/tests/ClientSessionTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/tests/ClientSessionTest.cpp b/cpp/src/tests/ClientSessionTest.cpp index 6ec73fd47c..e4c311d8a0 100644 --- a/cpp/src/tests/ClientSessionTest.cpp +++ b/cpp/src/tests/ClientSessionTest.cpp @@ -521,6 +521,10 @@ QPID_AUTO_TEST_CASE(testReliableDispatch) { c2.close(); } +QPID_AUTO_TEST_CASE(testSessionCloseOnInvalidSession) { + Session session; + session.close(); +} QPID_AUTO_TEST_SUITE_END() |