tests: Do not use ``using namespace ndn'' and defining all tests in ndn namespace

Change-Id: I3299e6255e4067b142ad0c8f87bebe1892505d0d
diff --git a/tests/test-time.cpp b/tests/test-time.cpp
index d59400e..be4cc77 100644
--- a/tests/test-time.cpp
+++ b/tests/test-time.cpp
@@ -7,17 +7,21 @@
 
 #include "util/time.hpp"
 
+namespace ndn {
+
 BOOST_AUTO_TEST_SUITE(TestTime)
 
 BOOST_AUTO_TEST_CASE (Simple)
 {
-  ndn::MillisecondsSince1970 value = ndn::getNowMilliseconds();
+  MillisecondsSince1970 value = getNowMilliseconds();
   BOOST_CHECK_GT(value, 1390966967032);
 
-  BOOST_CHECK_EQUAL(ndn::toIsoString(1390966967032), "20140129T034247.032000");
-  BOOST_CHECK_EQUAL(ndn::fromIsoString("20140129T034247.032000"), 1390966967032);
+  BOOST_CHECK_EQUAL(toIsoString(1390966967032), "20140129T034247.032000");
+  BOOST_CHECK_EQUAL(fromIsoString("20140129T034247.032000"), 1390966967032);
 
-  BOOST_CHECK_EQUAL(ndn::fromIsoString("20140129T034247.032000Z"), 1390966967032);
+  BOOST_CHECK_EQUAL(fromIsoString("20140129T034247.032000Z"), 1390966967032);
 }
 
 BOOST_AUTO_TEST_SUITE_END()
+
+} // namespace ndn