#include #include #include #include "pathwatchimpl.hpp" #include "event.hpp" using namespace std::string_literals; using namespace phosphor::dbus::monitoring; #include "interfaceaddtest.hpp" const std::array expectedPaths = { "/xyz/openbmc_project/testing/inst1"s, }; const std::array expectedWatches = { "/xyz/openbmc_project/testing/inst1"s, }; TEST(InterfaceAddTest, PathsSameSize) { ASSERT_EQ(sizeof(expectedPaths), sizeof(paths)); } TEST(InterfaceAddTest, WatchSameSize) { ASSERT_EQ(expectedWatches.size(), pathwatches.size()); }