diff options
Diffstat (limited to 'test/serialization_tests.hpp')
-rw-r--r-- | test/serialization_tests.hpp | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/test/serialization_tests.hpp b/test/serialization_tests.hpp index a8054d3..6e41379 100644 --- a/test/serialization_tests.hpp +++ b/test/serialization_tests.hpp @@ -1,9 +1,13 @@ -#include <gtest/gtest.h> -#include <experimental/filesystem> +#include "config.h" + +#include "log_manager.hpp" + #include <stdlib.h> + +#include <experimental/filesystem> #include <sdbusplus/bus.hpp> -#include "log_manager.hpp" -#include "config.h" + +#include <gtest/gtest.h> namespace phosphor { @@ -20,22 +24,19 @@ phosphor::logging::internal::Manager manager(bus, OBJ_INTERNAL); class TestSerialization : public testing::Test { - public: - TestSerialization() : - dir(fs::path(mkdtemp(tmplt))) - { - } - - ~TestSerialization() - { - fs::remove_all(dir); - } - - fs::path dir; + public: + TestSerialization() : dir(fs::path(mkdtemp(tmplt))) + { + } + + ~TestSerialization() + { + fs::remove_all(dir); + } + + fs::path dir; }; } // namespace test } // namespace logging } // namespace phosphor - - |