summaryrefslogtreecommitdiffstats
path: root/src/test/callbacktest.cpp
blob: 78736f8c54dbfa6ae9a3dae20147d394c96c2985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <gtest/gtest.h>

#include "generated.hpp"

using namespace phosphor::dbus::monitoring;

TEST(JournalTest, Test)
{
    // No assertions here, but the least we can do
    // make sure the program runs without crashing...
    for (auto& c : ConfigPropertyCallbacks::get())
    {
        (*c)(Context::START);
    }
}
OpenPOWER on IntegriCloud