Brad Bishop | 18b228e | 2017-05-31 21:34:39 -0400 | [diff] [blame] | 1 | #include "generated.hpp" |
| 2 | |
Patrick Venture | 3d6d318 | 2018-08-31 09:33:09 -0700 | [diff] [blame] | 3 | #include <gtest/gtest.h> |
| 4 | |
Brad Bishop | 18b228e | 2017-05-31 21:34:39 -0400 | [diff] [blame] | 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 | { |
Ratan Gupta | a45e086 | 2018-02-21 19:03:13 +0530 | [diff] [blame] | 13 | (*c)(Context::START); |
Brad Bishop | 18b228e | 2017-05-31 21:34:39 -0400 | [diff] [blame] | 14 | } |
| 15 | } |