diff options
author | Patrick Venture <venture@google.com> | 2018-10-30 19:30:02 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-30 19:31:48 -0700 |
commit | e6a7a2eb20b20ce7fee947eb56451f9723e3d057 (patch) | |
tree | 0b33b1df40e76a4876f93d1ab8ca482178dab978 /test | |
parent | c399f6fbdbd17c35a8920ee9cfff08b3d67bc836 (diff) | |
download | phosphor-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.cpp | 6 |
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) |