src: Changing namespace ndn to namespace nfd
Also, this commit imports used classes from ::ndn namespace (from
NDN-CPP library) directly to ::nfd namespace.
refs: #1163
Change-Id: I9cc9d72e00af495b4ed0c84e6d418a7c9ba986cb
diff --git a/tests/table/cs.cpp b/tests/table/cs.cpp
index 3462476..b7bdbb8 100644
--- a/tests/table/cs.cpp
+++ b/tests/table/cs.cpp
@@ -8,7 +8,7 @@
#include <boost/test/unit_test.hpp>
-namespace ndn {
+namespace nfd {
BOOST_AUTO_TEST_SUITE(TableCs)
@@ -25,4 +25,4 @@
BOOST_AUTO_TEST_SUITE_END()
-} // namespace ndn
+} // namespace nfd
diff --git a/tests/table/fib.cpp b/tests/table/fib.cpp
index 1a4e2fc..ceba1da 100644
--- a/tests/table/fib.cpp
+++ b/tests/table/fib.cpp
@@ -9,7 +9,7 @@
#include <boost/test/unit_test.hpp>
-namespace ndn {
+namespace nfd {
BOOST_AUTO_TEST_SUITE(TableFib)
@@ -203,4 +203,4 @@
BOOST_AUTO_TEST_SUITE_END()
-} // namespace ndn
+} // namespace nfd
diff --git a/tests/table/pit.cpp b/tests/table/pit.cpp
index c9b4112..2564799 100644
--- a/tests/table/pit.cpp
+++ b/tests/table/pit.cpp
@@ -9,7 +9,7 @@
#include <boost/test/unit_test.hpp>
-namespace ndn {
+namespace nfd {
BOOST_AUTO_TEST_SUITE(TablePit)
@@ -19,13 +19,13 @@
shared_ptr<Face> face2 = make_shared<DummyFace>(2);
Name name("ndn:/KuYfjtRq");
Interest interest(name);
- Interest interest1(name, static_cast<Milliseconds>(2528));
+ Interest interest1(name, static_cast<ndn::Milliseconds>(2528));
interest1.setNonce(25559);
- Interest interest2(name, static_cast<Milliseconds>(6464));
+ Interest interest2(name, static_cast<ndn::Milliseconds>(6464));
interest2.setNonce(19004);
- Interest interest3(name, static_cast<Milliseconds>(3585));
+ Interest interest3(name, static_cast<ndn::Milliseconds>(3585));
interest3.setNonce(24216);
- Interest interest4(name, static_cast<Milliseconds>(8795));
+ Interest interest4(name, static_cast<ndn::Milliseconds>(8795));
interest4.setNonce(17365);
pit::Entry entry(interest);
@@ -274,4 +274,4 @@
BOOST_AUTO_TEST_SUITE_END()
-} // namespace ndn
+} // namespace nfd