Migrate to C++17 and misc code cleanups
Change-Id: I6b63385c92361a7ef5803d2bfd00f39c77e88d34
diff --git a/tests/integrated/command-fixture.hpp b/tests/integrated/command-fixture.hpp
index 601f0b9..6d4aa44 100644
--- a/tests/integrated/command-fixture.hpp
+++ b/tests/integrated/command-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2018, Regents of the University of California.
+ * Copyright (c) 2014-2022, Regents of the University of California.
*
* This file is part of NDN repo-ng (Next generation of NDN repository).
* See AUTHORS.md for complete list of repo-ng authors and contributors.
@@ -21,11 +21,11 @@
#define REPO_TESTS_INTEGRATED_COMMAND_FIXTURE_HPP
#include "../identity-management-fixture.hpp"
-#include <ndn-cxx/security/validator-null.hpp>
-#include <ndn-cxx/mgmt/dispatcher.hpp>
-namespace repo {
-namespace tests {
+#include <ndn-cxx/mgmt/dispatcher.hpp>
+#include <ndn-cxx/security/validator-config.hpp>
+
+namespace repo::tests {
class CommandFixture : public virtual IdentityManagementFixture
{
@@ -35,13 +35,12 @@
protected:
Face repoFace;
Scheduler scheduler;
- KeyChain& keyChain;
+ ndn::KeyChain& keyChain;
ndn::mgmt::Dispatcher dispatcher;
/// \todo #4091 switch to ValidatorPolicyConf and load insert-delete-validator-config.conf
- ValidatorConfig validator;
+ ndn::security::ValidatorConfig validator;
};
-} // namespace tests
-} // namespace repo
+} // namespace repo::tests
#endif // REPO_TESTS_INTEGRATED_COMMAND_FIXTURE_HPP