Lines Matching refs:id
41 std::string id{"vio_reg"}; in TEST() local
43 id, true, in TEST()
48 EXPECT_THROW(idMap.getDevice(id), std::invalid_argument); in TEST()
56 Device& deviceFound = idMap.getDevice(id); in TEST()
57 EXPECT_EQ(deviceFound.getID(), id); in TEST()
92 std::string id{"vio0"}; in TEST() local
93 Rail rail{id}; in TEST()
96 EXPECT_THROW(idMap.getRail(id), std::invalid_argument); in TEST()
104 Rail& railFound = idMap.getRail(id); in TEST()
105 EXPECT_EQ(railFound.getID(), id); in TEST()
134 std::string id{"set_voltage_rule"}; in TEST() local
135 Rule rule{id, std::vector<std::unique_ptr<Action>>{}}; in TEST()
138 EXPECT_THROW(idMap.getRule(id), std::invalid_argument); in TEST()
146 Rule& ruleFound = idMap.getRule(id); in TEST()
147 EXPECT_EQ(ruleFound.getID(), id); in TEST()
180 std::string id{"vio_reg"}; in TEST() local
182 id, true, in TEST()
192 Device& deviceFound = idMap.getDevice(id); in TEST()
193 EXPECT_EQ(deviceFound.getID(), id); in TEST()
223 std::string id{"vio0"}; in TEST() local
224 Rail rail{id}; in TEST()
230 Rail& railFound = idMap.getRail(id); in TEST()
231 EXPECT_EQ(railFound.getID(), id); in TEST()
260 std::string id{"set_voltage_rule"}; in TEST() local
261 Rule rule{id, std::vector<std::unique_ptr<Action>>{}}; in TEST()
267 Rule& ruleFound = idMap.getRule(id); in TEST()
268 EXPECT_EQ(ruleFound.getID(), id); in TEST()