From 95269dbc8c38fb41ac50639eafa8d8c3e57ec748 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Fri, 31 Aug 2018 09:19:17 -0700 Subject: update .clang-format header inclusion order Added the header inclusion order to the .clang-format file generated these changes. Change-Id: Ia31b21d7ea451cac0309828006bc17c27cbd5bd5 Signed-off-by: Patrick Venture --- test/bus/list_names.cpp | 3 ++- test/bus/match.cpp | 3 ++- test/exception/sdbus_error.cpp | 6 ++++-- test/message/append.cpp | 8 +++++--- test/message/native_types.cpp | 7 ++++--- test/message/read.cpp | 8 +++++--- test/message/types.cpp | 3 ++- test/utility/tuple_to_array.cpp | 1 + test/utility/type_traits.cpp | 3 ++- test/vtable/vtable.cpp | 1 + 10 files changed, 28 insertions(+), 15 deletions(-) (limited to 'test') diff --git a/test/bus/list_names.cpp b/test/bus/list_names.cpp index a1967d9..834b8f2 100644 --- a/test/bus/list_names.cpp +++ b/test/bus/list_names.cpp @@ -1,6 +1,7 @@ -#include #include +#include + constexpr auto this_name = "xyz.openbmc_project.sdbusplus.test.ListNames"; class ListNames : public ::testing::Test diff --git a/test/bus/match.cpp b/test/bus/match.cpp index 80bc259..3a5cc49 100644 --- a/test/bus/match.cpp +++ b/test/bus/match.cpp @@ -1,7 +1,8 @@ -#include #include #include +#include + class Match : public ::testing::Test { protected: diff --git a/test/exception/sdbus_error.cpp b/test/exception/sdbus_error.cpp index c1d8baa..40d88ee 100644 --- a/test/exception/sdbus_error.cpp +++ b/test/exception/sdbus_error.cpp @@ -1,12 +1,14 @@ +#include + #include -#include #include #include #include #include -#include #include +#include + // Needed for constructor error testing extern sdbusplus::SdBusImpl sdbus_impl; diff --git a/test/message/append.cpp b/test/message/append.cpp index 58775b8..6485d99 100644 --- a/test/message/append.cpp +++ b/test/message/append.cpp @@ -1,16 +1,18 @@ +#include + #include -#include -#include #include #include #include #include #include -#include #include #include #include +#include +#include + namespace { diff --git a/test/message/native_types.cpp b/test/message/native_types.cpp index eed7669..29dad22 100644 --- a/test/message/native_types.cpp +++ b/test/message/native_types.cpp @@ -1,8 +1,9 @@ -#include -#include -#include #include +#include #include +#include + +#include /* Suite tests that object_path and signature can be cleanly converted to * and from strings and used as container parameters. diff --git a/test/message/read.cpp b/test/message/read.cpp index 168865a..07bc984 100644 --- a/test/message/read.cpp +++ b/test/message/read.cpp @@ -1,17 +1,19 @@ +#include + #include -#include -#include #include #include #include #include #include #include -#include #include #include #include +#include +#include + namespace { diff --git a/test/message/types.cpp b/test/message/types.cpp index e779c79..a6df2f4 100644 --- a/test/message/types.cpp +++ b/test/message/types.cpp @@ -1,7 +1,8 @@ -#include #include #include +#include + template auto dbus_string(Args&&... args) { return std::string(sdbusplus::utility::tuple_to_array( diff --git a/test/utility/tuple_to_array.cpp b/test/utility/tuple_to_array.cpp index bf73783..0b79170 100644 --- a/test/utility/tuple_to_array.cpp +++ b/test/utility/tuple_to_array.cpp @@ -1,4 +1,5 @@ #include + #include TEST(TupleToArray, Test3Chars) diff --git a/test/utility/type_traits.cpp b/test/utility/type_traits.cpp index 1a411f7..6e15201 100644 --- a/test/utility/type_traits.cpp +++ b/test/utility/type_traits.cpp @@ -1,7 +1,8 @@ -#include #include #include +#include + namespace { diff --git a/test/vtable/vtable.cpp b/test/vtable/vtable.cpp index bc67382..399630c 100644 --- a/test/vtable/vtable.cpp +++ b/test/vtable/vtable.cpp @@ -1,4 +1,5 @@ #include + #include static const sdbusplus::vtable::vtable_t example[] = { -- cgit v1.2.1