diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-22 15:36:06 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-22 15:36:06 +0100 |
commit | ba6324930118a62e05d3869f99543c4a7507f105 (patch) | |
tree | 8f23c2104c7d4338ef60f1097184b48a4d2849ed /test | |
parent | e5b99b359cebd2145a891932686bb9cdab751809 (diff) | |
download | ble-toys-ba6324930118a62e05d3869f99543c4a7507f105.tar.gz ble-toys-ba6324930118a62e05d3869f99543c4a7507f105.tar.bz2 ble-toys-ba6324930118a62e05d3869f99543c4a7507f105.tar.xz ble-toys-ba6324930118a62e05d3869f99543c4a7507f105.zip |
o Splitting out public header files into it's own directory.
Diffstat (limited to 'test')
-rw-r--r-- | test/ByteBufferTest.cpp | 9 | ||||
-rw-r--r-- | test/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 8 deletions
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 <boost/test/unit_test.hpp> -#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<typename T> -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) |