diff options
| author | Gordon Sim <gsim@apache.org> | 2008-11-27 12:21:04 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-11-27 12:21:04 +0000 |
| commit | e780d14f5b0fb319e048a69914b0524ab761ee0b (patch) | |
| tree | 3fdafcbe4545ecda29dd75a68d2b91f1cfc054d2 /qpid/cpp/src/tests | |
| parent | b47670cd9da64cb0b6c51539a6d7d9c2e0a04d0a (diff) | |
| download | qpid-python-e780d14f5b0fb319e048a69914b0524ab761ee0b.tar.gz | |
* QPID-1488: test that policy pointer is set
* don't flow to disk for null store implementation
* add checks for undeflow in queue policy
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@721166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rw-r--r-- | qpid/cpp/src/tests/MessageBuilderTest.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/MessageBuilderTest.cpp b/qpid/cpp/src/tests/MessageBuilderTest.cpp index 63c3a800de..313a91c053 100644 --- a/qpid/cpp/src/tests/MessageBuilderTest.cpp +++ b/qpid/cpp/src/tests/MessageBuilderTest.cpp @@ -82,6 +82,13 @@ class MockMessageStore : public NullMessageStore { return ops.empty(); } + + //don't treat this store as a null impl + bool isNull() const + { + return false; + } + }; QPID_AUTO_TEST_SUITE(MessageBuilderTestSuite) |
