diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ByteBufferTest.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/test/ByteBufferTest.cpp b/test/ByteBufferTest.cpp index ed842f2..2a9bb8c 100644 --- a/test/ByteBufferTest.cpp +++ b/test/ByteBufferTest.cpp @@ -1,8 +1,5 @@ #include "ByteBuffer.h" -#define BOOST_TEST_DYN_LINK - -//Define our Module name (prints at testing) #define BOOST_TEST_MODULE "ByteBuffer" #include <boost/test/unit_test.hpp> @@ -35,12 +32,11 @@ public: size_t capacity; }; -/* BOOST_AUTO_TEST_CASE(empty_buffer) { - Bytes b(1000); - ByteBuffer buffer(b.bytes, b.capacity, 0, 0); + Bytes b(0); + ByteBuffer buffer(b.bytes, b.capacity); - checkBuffer(buffer, 0, 1000, 0); + checkBuffer(buffer, 0, 0, 0); try { buffer.get8(); @@ -48,7 +44,6 @@ BOOST_AUTO_TEST_CASE(empty_buffer) { } catch (ByteBufferException e) { } } -*/ BOOST_AUTO_TEST_CASE(basic) { Bytes b(1000); |