tests: namespace cleanup
Change-Id: I6b9ee82a4cb3b97c82ea111495ec07efddc8d825
diff --git a/tests/publisher/publisher-fixture.hpp b/tests/publisher/publisher-fixture.hpp
index 43c61b7..e04869e 100644
--- a/tests/publisher/publisher-fixture.hpp
+++ b/tests/publisher/publisher-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2023, The University of Memphis,
+ * Copyright (c) 2014-2024, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
@@ -28,8 +28,7 @@
#include "tests/io-key-chain-fixture.hpp"
#include "tests/test-common.hpp"
-namespace nlsr {
-namespace test {
+namespace nlsr::tests {
class PublisherFixture : public IoKeyChainFixture
{
@@ -62,7 +61,7 @@
CoordinateLsa
createCoordinateLsa(const std::string& origin, double radius, std::vector<double> angle)
{
- return {origin, 1, ndn::time::system_clock::now(), radius, angle};
+ return {origin, 1, time::system_clock::now(), radius, angle};
}
void
@@ -91,7 +90,6 @@
RoutingTable& rt1;
};
-} // namespace test
-} // namespace nlsr
+} // namespace nlsr::tests
#endif // NLSR_TESTS_PUBLISHER_FIXTURE_HPP