summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-30 19:30:02 -0700
committerPatrick Venture <venture@google.com>2018-10-30 19:31:48 -0700
commite6a7a2eb20b20ce7fee947eb56451f9723e3d057 (patch)
tree0b33b1df40e76a4876f93d1ab8ca482178dab978 /test
parentc399f6fbdbd17c35a8920ee9cfff08b3d67bc836 (diff)
downloadphosphor-pid-control-e6a7a2eb20b20ce7fee947eb56451f9723e3d057.tar.gz
phosphor-pid-control-e6a7a2eb20b20ce7fee947eb56451f9723e3d057.zip
style: s/getMinThermalRpmSetPt/getMinThermalRPMSetpoint/g
Rename method per openbmc style guide. Change-Id: Ia861028452020ccefd463415093b5fb11f929ea4 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/pid_zone_unittest.cpp6
1 files changed, 3 insertions, 3 deletions
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, GetAndSetManualModeTest_BehavesAsExpected)
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 @@ TEST_F(PidZoneTest, RpmSetPoints_AddMaxClear_BehaveAsExpected)
// 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 @@ TEST_F(PidZoneTest, RpmSetPoints_AddBelowMinimum_BehavesAsExpected)
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)
OpenPOWER on IntegriCloud