blob: 82cf51162c92cda3ec7d7a35861371d599149059 [file] [log] [blame]
Patrick Venture31552c02018-12-03 19:09:55 -08001#include <phosphor-logging/test/sdjournal_mock.hpp>
2
3namespace phosphor
4{
5namespace logging
6{
7
8TEST(LoggingSwapTest, BasicTestToEnsureItCompiles)
9{
10 SdJournalMock mockInstance;
11 auto* old = SwapJouralHandler(&mockInstance);
12 SwapJouralHandler(old);
13}
14
15} // namespace logging
16} // namespace phosphor