tests: filename and test suite name corrections in pib and ping
This commit splits IdentityManagementFixture from IdentityManagementTimeFixture,
and copies its API from NFD repository.
refs #3018
Change-Id: I14dc66dd6eacc83ef2761c0c484173168d98dcef
diff --git a/tests/ping/server/ping-server.t.cpp b/tests/ping/server/ping-server.t.cpp
index 7d2a8da..0192008 100644
--- a/tests/ping/server/ping-server.t.cpp
+++ b/tests/ping/server/ping-server.t.cpp
@@ -21,7 +21,7 @@
#include <ndn-cxx/util/dummy-client-face.hpp>
#include "tests/test-common.hpp"
-#include "../../identity-management-time-fixture.hpp"
+#include "../../identity-management-fixture.hpp"
namespace ndn {
namespace ping {
@@ -30,7 +30,8 @@
using namespace ndn::tests;
-BOOST_AUTO_TEST_SUITE(PingServerPingServer)
+BOOST_AUTO_TEST_SUITE(Ping)
+BOOST_AUTO_TEST_SUITE(TestPingServer)
class CreatePingServerFixture : public IdentityManagementTimeFixture
{
@@ -89,7 +90,8 @@
BOOST_REQUIRE_EQUAL(2, pingServer.getNPings());
}
-BOOST_AUTO_TEST_SUITE_END()
+BOOST_AUTO_TEST_SUITE_END() // TestPingServer
+BOOST_AUTO_TEST_SUITE_END() // Ping
} // namespace tests
} // namespace server