xref: /openbmc/phosphor-dbus-monitor/src/test/callbacktest.cpp (revision 1ada93be00378c94ff14bec8c2c7f5bbd85f72b0)
1 #include <gtest/gtest.h>
2 
3 #include "generated.hpp"
4 
5 using namespace phosphor::dbus::monitoring;
6 
7 TEST(JournalTest, Test)
8 {
9     // No assertions here, but the least we can do
10     // make sure the program runs without crashing...
11     for (auto& c : ConfigPropertyCallbacks::get())
12     {
13         (*c)();
14     }
15 }
16