unit-test: Test removeAssociations interface
Testing: Verified code coverage shows 100% of new interface
Change-Id: I517acc02b06bbff971921e66a697fb297fde45c6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/src/associations.hpp b/src/associations.hpp
index 41df157..8ebef43 100644
--- a/src/associations.hpp
+++ b/src/associations.hpp
@@ -5,6 +5,7 @@
#include <memory>
#include <sdbusplus/asio/object_server.hpp>
#include <string>
+#include <tuple>
#include <vector>
// Associations and some metadata are stored in associationInterfaces.
@@ -15,6 +16,7 @@
static constexpr auto endpointsPos = 1;
using Endpoints = std::vector<std::string>;
+// map[interface path: tuple[dbus_interface,vector[endpoint paths]]]
using AssociationInterfaces = boost::container::flat_map<
std::string,
std::tuple<std::shared_ptr<sdbusplus::asio::dbus_interface>, Endpoints>>;