Patrick Venture | 31552c0 | 2018-12-03 19:09:55 -0800 | [diff] [blame] | 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 |