#include "event.hpp" #include "pathwatchimpl.hpp" #include #include #include 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()); }