tests: replace Boost.MPL with Mp11
Change-Id: I4906a1edb1fad95508db1caaff3fdeefc880e726
diff --git a/tests/dataset-fixtures.hpp b/tests/dataset-fixtures.hpp
index 77866a0..b3ba1c6 100644
--- a/tests/dataset-fixtures.hpp
+++ b/tests/dataset-fixtures.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California.
+ * Copyright (c) 2014-2023, 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.
@@ -22,8 +22,11 @@
#include "identity-management-fixture.hpp"
+#include <list>
+#include <map>
#include <vector>
-#include <boost/mpl/vector.hpp>
+
+#include <boost/mp11/list.hpp>
namespace repo::tests {
@@ -173,10 +176,11 @@
}
};
-using CommonDatasets = boost::mpl::vector<BasicDataset,
- FetchByPrefixDataset,
- SamePrefixDataset<10>,
- SamePrefixDataset<100>>;
+using CommonDatasets = boost::mp11::mp_list<BasicDataset,
+ FetchByPrefixDataset,
+ SamePrefixDataset<10>,
+ SamePrefixDataset<100>>;
+
} // namespace repo::tests
#endif // REPO_TESTS_DATASET_FIXTURES_HPP
diff --git a/tests/integrated/test-basic-command-insert-delete.cpp b/tests/integrated/test-basic-command-insert-delete.cpp
index 55d6e65..0f868eb 100644
--- a/tests/integrated/test-basic-command-insert-delete.cpp
+++ b/tests/integrated/test-basic-command-insert-delete.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California.
+ * Copyright (c) 2014-2023, 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.
@@ -32,7 +32,6 @@
#include <ndn-cxx/util/random.hpp>
#include <ndn-cxx/util/time.hpp>
-#include <boost/mpl/vector.hpp>
#include <boost/test/unit_test.hpp>
namespace repo::tests {
@@ -272,9 +271,7 @@
}
}
-using Datasets = boost::mpl::vector<BasicDataset,
- FetchByPrefixDataset,
- SamePrefixDataset<10>>;
+using Datasets = boost::mp11::mp_list<BasicDataset, FetchByPrefixDataset, SamePrefixDataset<10>>;
BOOST_FIXTURE_TEST_CASE_TEMPLATE(InsertDelete, T, Datasets, Fixture<T>)
{
diff --git a/tests/integrated/test-basic-interest-read.cpp b/tests/integrated/test-basic-interest-read.cpp
index 56d1393..81ceb98 100644
--- a/tests/integrated/test-basic-interest-read.cpp
+++ b/tests/integrated/test-basic-interest-read.cpp
@@ -110,9 +110,7 @@
ndn::Face readFace;
};
-using Datasets = boost::mpl::vector<BasicDataset,
- FetchByPrefixDataset,
- SamePrefixDataset<10>>;
+using Datasets = boost::mp11::mp_list<BasicDataset, FetchByPrefixDataset, SamePrefixDataset<10>>;
BOOST_FIXTURE_TEST_CASE_TEMPLATE(Read, T, Datasets, BasicInterestReadFixture<T>)
{