add .clang-format
Change-Id: I94ce26d595367e08d6fb3734535bcd855f1b1473
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/hwmonio_mock.hpp b/test/hwmonio_mock.hpp
index 4ad944c..6caa67e 100644
--- a/test/hwmonio_mock.hpp
+++ b/test/hwmonio_mock.hpp
@@ -1,30 +1,26 @@
#pragma once
-#include <gmock/gmock.h>
-
#include "hwmonio.hpp"
-namespace hwmonio {
+#include <gmock/gmock.h>
+
+namespace hwmonio
+{
class HwmonIOMock : public HwmonIOInterface
{
- public:
- virtual ~HwmonIOMock(){};
+ public:
+ virtual ~HwmonIOMock(){};
- MOCK_CONST_METHOD5(read, int64_t(const std::string&,
- const std::string&,
- const std::string&,
- size_t,
- std::chrono::milliseconds));
+ MOCK_CONST_METHOD5(read, int64_t(const std::string&, const std::string&,
+ const std::string&, size_t,
+ std::chrono::milliseconds));
- MOCK_CONST_METHOD6(write, void(uint32_t,
- const std::string&,
- const std::string&,
- const std::string&,
- size_t,
- std::chrono::milliseconds));
+ MOCK_CONST_METHOD6(write, void(uint32_t, const std::string&,
+ const std::string&, const std::string&,
+ size_t, std::chrono::milliseconds));
- MOCK_CONST_METHOD0(path, std::string());
+ MOCK_CONST_METHOD0(path, std::string());
};
} // namespace hwmonio