clang-format: Update to match docs repo
Update the .clang-format file and run clang-format-6.0.
This .clang-format matches the example one in
https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting
Change-Id: Ic2c462525eb27b8295c2b298871e04268d93faf2
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/test/mocked_property_change_listener.hpp b/test/mocked_property_change_listener.hpp
index d581dd3..5d7a3b5 100644
--- a/test/mocked_property_change_listener.hpp
+++ b/test/mocked_property_change_listener.hpp
@@ -1,17 +1,19 @@
#pragma once
-#include <gmock/gmock.h>
#include "property_change_listener.hpp"
-namespace phosphor {
-namespace time {
+#include <gmock/gmock.h>
-class MockPropertyChangeListner : public PropertyChangeListner {
- public:
- MOCK_METHOD1(onModeChanged,
- void(Mode mode));
- MOCK_METHOD1(onOwnerChanged,
- void(Owner owner));
+namespace phosphor
+{
+namespace time
+{
+
+class MockPropertyChangeListner : public PropertyChangeListner
+{
+ public:
+ MOCK_METHOD1(onModeChanged, void(Mode mode));
+ MOCK_METHOD1(onOwnerChanged, void(Owner owner));
};
-} // namespace time
-} // namespace phosphor
+} // namespace time
+} // namespace phosphor