Home
last modified time | relevance | path

Searched refs:expectedValue (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-modbus/tests/
H A Dtest_device_events.cpp148 auto verifyValue(bool currentValue, bool expectedValue, in verifyValue() argument
151 EXPECT_EQ(currentValue, expectedValue) << failureStr; in verifyValue()
154 auto verifyValue(double currentValue, double expectedValue, in verifyValue() argument
157 EXPECT_EQ(currentValue, expectedValue) << failureStr; in verifyValue()
165 double expectedValue, SensorValueIntf::Unit expectedUnit) -> void in verifyResult() argument
167 if (std::isnan(expectedValue)) in verifyResult()
180 verifyValue(properties.value, expectedValue, in verifyResult()
197 double expectedValue) in testSensorCreation() argument
256 thresholdProperties, expectedValue, in testSensorCreation()
H A Dtest_sensors.cpp89 double expectedValue) in testSensorCreation() argument
119 EXPECT_EQ(properties.value, expectedValue) << "Sensor value mismatch"; in testSensorCreation()
/openbmc/phosphor-modbus/rtu/modbus/
H A Dmodbus_message.cpp83 uint32_t expectedValue) -> void in verifyValue() argument
85 if (currentValue != expectedValue) in verifyValue()
87 throw ModbusBadResponseException(name, expectedValue, currentValue); in verifyValue()
H A Dmodbus_exception.hpp98 uint32_t expectedValue, in ModbusBadResponseException() argument
102 ", expected value: " + std::to_string(expectedValue) + in ModbusBadResponseException()
H A Dmodbus_message.hpp40 uint32_t expectedValue) -> void;