Searched refs:subNodeStr (Results 1 – 2 of 2) sorted by relevance
52 std::string subNodeStr; in TEST() local54 subNodeStr = chassisSubNodeToString(ChassisSubNode::powerNode); in TEST()55 EXPECT_EQ(subNodeStr, "Power"); in TEST()57 subNodeStr = chassisSubNodeToString(ChassisSubNode::sensorsNode); in TEST()58 EXPECT_EQ(subNodeStr, "Sensors"); in TEST()60 subNodeStr = chassisSubNodeToString(ChassisSubNode::thermalNode); in TEST()61 EXPECT_EQ(subNodeStr, "Thermal"); in TEST()63 subNodeStr = chassisSubNodeToString(ChassisSubNode::thermalMetricsNode); in TEST()64 EXPECT_EQ(subNodeStr, "ThermalMetrics"); in TEST()66 subNodeStr = chassisSubNodeToString(ChassisSubNode::unknownNode); in TEST()[all …]
57 inline ChassisSubNode chassisSubNodeFromString(const std::string& subNodeStr) in chassisSubNodeFromString() argument62 if (subNodeStr == "Power") in chassisSubNodeFromString()66 else if (subNodeStr == "Sensors") in chassisSubNodeFromString()70 else if (subNodeStr == "Thermal") in chassisSubNodeFromString()74 else if (subNodeStr == "ThermalMetrics") in chassisSubNodeFromString()