aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-03-01 21:15:01 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-03-01 21:15:01 +0100
commite64d925b45ff4802fe924ea2e8108bb1932b4d01 (patch)
tree3f9b524c9526834b5830030562e9cb581235f2d6 /test
parent1b09c7d0547fb430e957b863bdbb3bf54c85f52a (diff)
downloadble-toys-e64d925b45ff4802fe924ea2e8108bb1932b4d01.tar.gz
ble-toys-e64d925b45ff4802fe924ea2e8108bb1932b4d01.tar.bz2
ble-toys-e64d925b45ff4802fe924ea2e8108bb1932b4d01.tar.xz
ble-toys-e64d925b45ff4802fe924ea2e8108bb1932b4d01.zip
o Replacing boost::logging with log4cplus.
Diffstat (limited to 'test')
-rw-r--r--test/ByteBufferTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ByteBufferTest.cpp b/test/ByteBufferTest.cpp
index fb31da3..5aad376 100644
--- a/test/ByteBufferTest.cpp
+++ b/test/ByteBufferTest.cpp
@@ -1,12 +1,11 @@
#include "ble/ByteBuffer.h"
-#include "log.h"
#define BOOST_TEST_MODULE "ByteBuffer"
#include <boost/test/unit_test.hpp>
#define checkBuffer(buffer, capacity, size, cursor) \
- if(false) {D << "capacity=" << buffer.getCapacity() << ", size=" << buffer.getSize() << ", cursor=" << buffer.getCursor();} \
+ if(false) {cout << "capacity=" << buffer.getCapacity() << ", size=" << buffer.getSize() << ", cursor=" << buffer.getCursor();} \
BOOST_CHECK_EQUAL(buffer.getSize(), size); \
BOOST_CHECK_EQUAL(buffer.getCapacity(), capacity); \
BOOST_CHECK_EQUAL(buffer.getCursor(), cursor)