src: Refactoring common.hpp and minimizing exposed includes
Face class has relatively large rewrite to hide internals using
Implementor pattern. As of this commit, <boost/asio.hpp> is not
automatically included whenever ndn-cxx/face.hpp is included. If it is
needed to directly work with io_service, asio.hpp should be specifically
included.
Change-Id: Ie742b851025b4e3da634eb981319df0f42937855
diff --git a/tests/management/test-nfd-controller.cpp b/tests/management/test-nfd-controller.cpp
index 609c65f..c672fcb 100644
--- a/tests/management/test-nfd-controller.cpp
+++ b/tests/management/test-nfd-controller.cpp
@@ -15,6 +15,8 @@
#include "../transport/dummy-face.hpp"
+#include <boost/tuple/tuple.hpp>
+
#include "boost-test.hpp"
namespace ndn {
diff --git a/tests/security/test-sec-tpm-file.cpp b/tests/security/test-sec-tpm-file.cpp
index 05f1afc..191764e 100644
--- a/tests/security/test-sec-tpm-file.cpp
+++ b/tests/security/test-sec-tpm-file.cpp
@@ -16,6 +16,8 @@
#include "util/time.hpp"
+#include <boost/lexical_cast.hpp>
+
#include "boost-test.hpp"
using namespace std;
diff --git a/tests/security/test-sec-tpm-osx.cpp b/tests/security/test-sec-tpm-osx.cpp
index f8df5e8..887b19c 100644
--- a/tests/security/test-sec-tpm-osx.cpp
+++ b/tests/security/test-sec-tpm-osx.cpp
@@ -15,6 +15,8 @@
#include "util/time.hpp"
+#include <boost/lexical_cast.hpp>
+
#include "boost-test.hpp"
using namespace std;
diff --git a/tests/test-block.cpp b/tests/test-block.cpp
index bed9958..a4183f9 100644
--- a/tests/test-block.cpp
+++ b/tests/test-block.cpp
@@ -11,6 +11,7 @@
*/
#include "encoding/encoding-buffer.hpp"
+#include "encoding/buffer-stream.hpp"
#include "boost-test.hpp"
diff --git a/tests/test-data.cpp b/tests/test-data.cpp
index 2e022a1..bfb2cd4 100644
--- a/tests/test-data.cpp
+++ b/tests/test-data.cpp
@@ -13,6 +13,7 @@
#include "data.hpp"
#include "security/key-chain.hpp"
#include "security/cryptopp.hpp"
+#include "encoding/buffer-stream.hpp"
#include "boost-test.hpp"
diff --git a/tests/test-interest.cpp b/tests/test-interest.cpp
index 10f88d6..54efad4 100644
--- a/tests/test-interest.cpp
+++ b/tests/test-interest.cpp
@@ -14,6 +14,7 @@
#include "data.hpp"
#include "security/signature-sha256-with-rsa.hpp"
#include "security/signature-sha256.hpp"
+#include "encoding/buffer-stream.hpp"
#include "boost-test.hpp"
diff --git a/tests/transport/dummy-face.hpp b/tests/transport/dummy-face.hpp
index 58b4e81..735702e 100644
--- a/tests/transport/dummy-face.hpp
+++ b/tests/transport/dummy-face.hpp
@@ -14,6 +14,7 @@
#define NDN_TESTS_TRANSPORT_DUMMY_FACE_HPP
#include "face.hpp"
+#include "transport/transport.hpp"
namespace ndn {