xref: /openbmc/phosphor-logging/test/sdtest.cpp (revision 0bb89f8a)
1 #include <phosphor-logging/test/sdjournal_mock.hpp>
2 
3 namespace phosphor
4 {
5 namespace logging
6 {
7 
8 TEST(LoggingSwapTest, BasicTestToEnsureItCompiles)
9 {
10     SdJournalMock mockInstance;
11     auto* old = SwapJouralHandler(&mockInstance);
12     SwapJouralHandler(old);
13 }
14 
15 } // namespace logging
16 } // namespace phosphor
17