style: s/getMinThermalRpmSetPt/getMinThermalRPMSetpoint/g
Rename method per openbmc style guide.
Change-Id: Ia861028452020ccefd463415093b5fb11f929ea4
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/pid_zone_unittest.cpp b/test/pid_zone_unittest.cpp
index 82997b9..0b9aa9f 100644
--- a/test/pid_zone_unittest.cpp
+++ b/test/pid_zone_unittest.cpp
@@ -121,7 +121,7 @@
TEST_F(PidZoneTest, RpmSetPoints_AddMaxClear_BehaveAsExpected)
{
// Tests addRPMSetPoint, clearRPMSetPoints, determineMaxRPMRequest
- // and getMinThermalRpmSetPt.
+ // and getMinThermalRPMSetpoint.
// At least one value must be above the minimum thermal setpoint used in
// the constructor otherwise it'll choose that value
@@ -140,7 +140,7 @@
// This will go through the RPM set point values and grab the maximum.
zone->determineMaxRPMRequest();
- EXPECT_EQ(zone->getMinThermalRpmSetPt(), zone->getMaxRPMRequest());
+ EXPECT_EQ(zone->getMinThermalRPMSetpoint(), zone->getMaxRPMRequest());
}
TEST_F(PidZoneTest, RpmSetPoints_AddBelowMinimum_BehavesAsExpected)
@@ -158,7 +158,7 @@
zone->determineMaxRPMRequest();
// Verifies the value returned in the minimal thermal rpm set point.
- EXPECT_EQ(zone->getMinThermalRpmSetPt(), zone->getMaxRPMRequest());
+ EXPECT_EQ(zone->getMinThermalRPMSetpoint(), zone->getMaxRPMRequest());
}
TEST_F(PidZoneTest, GetFailSafePercent_ReturnsExpected)