summaryrefslogtreecommitdiff
path: root/cpp/src/tests/TxMocks.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-05-30 08:13:21 +0000
committerGordon Sim <gsim@apache.org>2008-05-30 08:13:21 +0000
commit5d2f67ee3918516feebc4994d5b21a893ef97a5b (patch)
tree4c13e462ca37f7ce5e8a9564cec5f1e92410e5ab /cpp/src/tests/TxMocks.h
parent162cb3879f3e25cbd13a777b40e374196ab531c9 (diff)
downloadqpid-python-5d2f67ee3918516feebc4994d5b21a893ef97a5b.tar.gz
Convert remaining cppunit tests to boost test framework to reduce dependencies.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TxMocks.h')
-rw-r--r--cpp/src/tests/TxMocks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/TxMocks.h b/cpp/src/tests/TxMocks.h
index 127a27c005..86864b987e 100644
--- a/cpp/src/tests/TxMocks.h
+++ b/cpp/src/tests/TxMocks.h
@@ -35,7 +35,7 @@ using std::string;
template <class T> void assertEqualVector(std::vector<T>& expected, std::vector<T>& actual){
unsigned int i = 0;
while(i < expected.size() && i < actual.size()){
- CPPUNIT_ASSERT_EQUAL(expected[i], actual[i]);
+ BOOST_CHECK_EQUAL(expected[i], actual[i]);
i++;
}
if (i < expected.size()) {
@@ -43,7 +43,7 @@ template <class T> void assertEqualVector(std::vector<T>& expected, std::vector<
} else if (i < actual.size()) {
throw qpid::Exception(QPID_MSG("Extra " << actual[i]));
}
- CPPUNIT_ASSERT_EQUAL(expected.size(), actual.size());
+ BOOST_CHECK_EQUAL(expected.size(), actual.size());
}
class TxOpConstants{