summaryrefslogtreecommitdiffstats
path: root/test/bus
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-08-31 09:19:17 -0700
committerPatrick Venture <venture@google.com>2018-08-31 12:44:45 -0700
commit95269dbc8c38fb41ac50639eafa8d8c3e57ec748 (patch)
tree96717cba084c97a81d8ce19d49b5bce21ce53daa /test/bus
parent0b5d1e013f79546a12abf5648906ad08ca4df0f4 (diff)
downloadsdbusplus-95269dbc8c38fb41ac50639eafa8d8c3e57ec748.tar.gz
sdbusplus-95269dbc8c38fb41ac50639eafa8d8c3e57ec748.zip
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 <venture@google.com>
Diffstat (limited to 'test/bus')
-rw-r--r--test/bus/list_names.cpp3
-rw-r--r--test/bus/match.cpp3
2 files changed, 4 insertions, 2 deletions
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 <gtest/gtest.h>
#include <sdbusplus/bus.hpp>
+#include <gtest/gtest.h>
+
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 <gtest/gtest.h>
#include <sdbusplus/bus.hpp>
#include <sdbusplus/bus/match.hpp>
+#include <gtest/gtest.h>
+
class Match : public ::testing::Test
{
protected:
OpenPOWER on IntegriCloud