style: member functions should be lower camel
Rename member functions to be lower camel instead of snake case.
Change-Id: Ib227fd3dadb6d9607290277205223a4324cd4ce5
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/sensor_host_unittest.cpp b/test/sensor_host_unittest.cpp
index 1c69a20..6851732 100644
--- a/test/sensor_host_unittest.cpp
+++ b/test/sensor_host_unittest.cpp
@@ -40,7 +40,7 @@
std::vector<std::string> properties = {"Scale"};
int i;
- // The CreateTemp updates all the properties, however, only Scale is set
+ // The createTemp updates all the properties, however, only Scale is set
// to non-default.
SetupDbusObject(&sdbus_mock, defer, objPath, interface, properties, &i);
@@ -50,7 +50,7 @@
.WillOnce(Return(0));
std::unique_ptr<Sensor> s =
- HostSensor::CreateTemp(name, timeout, bus_mock, objPath, defer);
+ HostSensor::createTemp(name, timeout, bus_mock, objPath, defer);
}
TEST(HostSensorTest, VerifyWriteThenReadMatches)
@@ -80,7 +80,7 @@
.WillOnce(Return(0));
std::unique_ptr<Sensor> s =
- HostSensor::CreateTemp(name, timeout, bus_mock, objPath, defer);
+ HostSensor::createTemp(name, timeout, bus_mock, objPath, defer);
// Value is updated from dbus calls only (normally).
HostSensor* hs = static_cast<HostSensor*>(s.get());