summaryrefslogtreecommitdiffstats
path: root/test/mocked_property_change_listener.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-09-14 14:42:39 -0500
committerLei YU <mine260309@gmail.com>2018-10-08 06:07:30 +0000
commitab4cc6a5585436a29b120429abaa48b416f8edb7 (patch)
treee1e153150cb1aff1656359f4d03c4536d47e1fe0 /test/mocked_property_change_listener.hpp
parent19b37ee2205ff4e772d344fe8a5fcfee2aa0d8ec (diff)
downloadphosphor-time-manager-ab4cc6a5585436a29b120429abaa48b416f8edb7.tar.gz
phosphor-time-manager-ab4cc6a5585436a29b120429abaa48b416f8edb7.zip
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>
Diffstat (limited to 'test/mocked_property_change_listener.hpp')
-rw-r--r--test/mocked_property_change_listener.hpp24
1 files changed, 13 insertions, 11 deletions
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>
+
+namespace phosphor
+{
+namespace time
+{
-class MockPropertyChangeListner : public PropertyChangeListner {
- public:
- MOCK_METHOD1(onModeChanged,
- void(Mode mode));
- MOCK_METHOD1(onOwnerChanged,
- void(Owner owner));
+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
OpenPOWER on IntegriCloud