From ba6324930118a62e05d3869f99543c4a7507f105 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Feb 2015 15:36:06 +0100 Subject: o Splitting out public header files into it's own directory. --- test/ByteBufferTest.cpp | 9 +-------- test/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/ByteBufferTest.cpp b/test/ByteBufferTest.cpp index bf18387..fb31da3 100644 --- a/test/ByteBufferTest.cpp +++ b/test/ByteBufferTest.cpp @@ -1,10 +1,9 @@ -#include "ByteBuffer.h" +#include "ble/ByteBuffer.h" #include "log.h" #define BOOST_TEST_MODULE "ByteBuffer" #include -#include "Bluetooth.h" #define checkBuffer(buffer, capacity, size, cursor) \ if(false) {D << "capacity=" << buffer.getCapacity() << ", size=" << buffer.getSize() << ", cursor=" << buffer.getCursor();} \ @@ -14,12 +13,6 @@ using namespace std; -template -struct do_nothing { - void operator()(T *) { - } -}; - class Bytes { public: Bytes(size_t size) : capacity(size) { diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a417d2b..e9f217f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -12,6 +12,7 @@ foreach(testSrc ${TEST_SRCS}) add_executable(${testName} ${testSrc}) include_directories("${PROJECT_SOURCE_DIR}/ble") + include_directories("${PROJECT_SOURCE_DIR}/include") add_dependencies(${testName} ble) target_link_libraries(${testName} ble) target_link_libraries(${testName} pthread) -- cgit v1.2.3