tests: respect naming conventions and improve nesting of some test suites
Change-Id: I255c27b552b32570871a9d5f8bda814ba8723c80
Refs: #2497
diff --git a/tests/unit-tests/link.t.cpp b/tests/unit-tests/link.t.cpp
index 1627b3c..3858036 100644
--- a/tests/unit-tests/link.t.cpp
+++ b/tests/unit-tests/link.t.cpp
@@ -30,6 +30,8 @@
namespace ndn {
namespace tests {
+BOOST_AUTO_TEST_SUITE(TestLink)
+
const uint8_t LinkTest[] = {
0x06, 0xda, // Data
0x07, 0x14, // Name
@@ -229,8 +231,6 @@
0xfc, 0x90, 0x7a, 0xb8, 0x66, 0x9c, 0x0e, 0xf6, 0xb7, 0x64, 0xd1
};
-BOOST_AUTO_TEST_SUITE(TestLink)
-
BOOST_AUTO_TEST_CASE(PairParsingCheck)
{
Link link("test", {{10, "/test1"}, {20, "/test2"}, {100, "/test3"}});
@@ -400,7 +400,7 @@
BOOST_REQUIRE_THROW(link.wireDecode(linkBlock), Link::Error);
}
-BOOST_AUTO_TEST_SUITE_END()
+BOOST_AUTO_TEST_SUITE_END() // TestLink
} // namespace tests
} // namespace ndn