tests: Small corrections in cases
Changes include:
- disable use of std::cout in DNS test case (use BOOST_TEST_MESSAGE instead)
- renaming test suites for InMemoryStorage cases. All InMemoryStorage
cases are grouped under InMemoryStorage super-suite and specific
implementations are put in Common, Fifo, Lru, Lfu, Persistent suites.
Change-Id: Id42642304b7a06bbabd980c3cb50ddfa26bd349f
diff --git a/tests/unit-tests/util/test-in-memory-storage-persistent.cpp b/tests/unit-tests/util/test-in-memory-storage-persistent.cpp
index 3bd53bb..3da691f 100644
--- a/tests/unit-tests/util/test-in-memory-storage-persistent.cpp
+++ b/tests/unit-tests/util/test-in-memory-storage-persistent.cpp
@@ -28,7 +28,8 @@
namespace ndn {
namespace util {
-BOOST_AUTO_TEST_SUITE(UtilInMemoryStoragePersistent)
+BOOST_AUTO_TEST_SUITE(UtilInMemoryStorage)
+BOOST_AUTO_TEST_SUITE(Persistent)
BOOST_AUTO_TEST_CASE(GetLimit)
{
@@ -56,7 +57,8 @@
BOOST_CHECK_EQUAL(ims.getCapacity(), 20);
}
-BOOST_AUTO_TEST_SUITE_END()
+BOOST_AUTO_TEST_SUITE_END() // Persistent
+BOOST_AUTO_TEST_SUITE_END() // UtilInMemoryStorage
} // namespace util
} // namespace ndn