Lines Matching full:std

53 static const std::string chassisInvPath{
60 std::optional<double> volts{1.3}; in TEST()
62 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
63 actions.push_back(std::make_unique<MockAction>()); in TEST()
64 actions.push_back(std::make_unique<MockAction>()); in TEST()
66 Configuration configuration(volts, std::move(actions)); in TEST()
74 std::optional<double> volts{}; in TEST()
76 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
77 actions.push_back(std::make_unique<MockAction>()); in TEST()
79 Configuration configuration(volts, std::move(actions)); in TEST()
94 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
97 std::unique_ptr<I2CWriteByteAction> action = in TEST()
98 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
101 std::unique_ptr<i2c::MockedI2CInterface> i2cInterface = in TEST()
102 std::make_unique<i2c::MockedI2CInterface>(); in TEST()
109 std::optional<double> volts{}; in TEST()
110 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
111 actions.emplace_back(std::move(action)); in TEST()
112 std::unique_ptr<Configuration> configuration = in TEST()
113 std::make_unique<Configuration>(volts, std::move(actions)); in TEST()
117 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST()
118 std::unique_ptr<Device> device = std::make_unique<Device>( in TEST()
121 std::move(i2cInterface), std::move(presenceDetection), in TEST()
122 std::move(configuration)); in TEST()
126 std::vector<std::unique_ptr<Device>> devices{}; in TEST()
127 devices.emplace_back(std::move(device)); in TEST()
128 std::unique_ptr<Chassis> chassis = in TEST()
129 std::make_unique<Chassis>(1, chassisInvPath, std::move(devices)); in TEST()
133 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
134 std::vector<std::unique_ptr<Chassis>> chassisVec{}; in TEST()
135 chassisVec.emplace_back(std::move(chassis)); in TEST()
136 System system{std::move(rules), std::move(chassisVec)}; in TEST()
149 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
155 std::optional<double> volts{}; in TEST()
156 std::unique_ptr<PMBusWriteVoutCommandAction> action = in TEST()
157 std::make_unique<PMBusWriteVoutCommandAction>( in TEST()
162 std::unique_ptr<i2c::MockedI2CInterface> i2cInterface = in TEST()
163 std::make_unique<i2c::MockedI2CInterface>(); in TEST()
170 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
171 actions.emplace_back(std::move(action)); in TEST()
172 std::unique_ptr<Configuration> configuration = in TEST()
173 std::make_unique<Configuration>(1.3, std::move(actions)); in TEST()
177 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST()
178 std::unique_ptr<Device> device = std::make_unique<Device>( in TEST()
181 std::move(i2cInterface), std::move(presenceDetection), in TEST()
182 std::move(configuration)); in TEST()
186 std::vector<std::unique_ptr<Device>> devices{}; in TEST()
187 devices.emplace_back(std::move(device)); in TEST()
188 std::unique_ptr<Chassis> chassis = in TEST()
189 std::make_unique<Chassis>(1, chassisInvPath, std::move(devices)); in TEST()
193 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
194 std::vector<std::unique_ptr<Chassis>> chassisVec{}; in TEST()
195 chassisVec.emplace_back(std::move(chassis)); in TEST()
196 System system{std::move(rules), std::move(chassisVec)}; in TEST()
209 std::vector<std::string> expectedErrMessagesException{ in TEST()
222 std::unique_ptr<I2CWriteByteAction> action = in TEST()
223 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
226 std::unique_ptr<i2c::MockedI2CInterface> i2cInterface = in TEST()
227 std::make_unique<i2c::MockedI2CInterface>(); in TEST()
236 std::optional<double> volts{}; in TEST()
237 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
238 actions.emplace_back(std::move(action)); in TEST()
239 std::unique_ptr<Configuration> configuration = in TEST()
240 std::make_unique<Configuration>(volts, std::move(actions)); in TEST()
244 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST()
245 std::unique_ptr<Device> device = std::make_unique<Device>( in TEST()
248 std::move(i2cInterface), std::move(presenceDetection), in TEST()
249 std::move(configuration)); in TEST()
253 std::vector<std::unique_ptr<Device>> devices{}; in TEST()
254 devices.emplace_back(std::move(device)); in TEST()
255 std::unique_ptr<Chassis> chassis = in TEST()
256 std::make_unique<Chassis>(1, chassisInvPath, std::move(devices)); in TEST()
260 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
261 std::vector<std::unique_ptr<Chassis>> chassisVec{}; in TEST()
262 chassisVec.emplace_back(std::move(chassis)); in TEST()
263 System system{std::move(rules), std::move(chassisVec)}; in TEST()
279 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
282 std::unique_ptr<I2CWriteByteAction> action = in TEST()
283 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
286 std::unique_ptr<i2c::MockedI2CInterface> i2cInterface = in TEST()
287 std::make_unique<i2c::MockedI2CInterface>(); in TEST()
294 std::optional<double> volts{}; in TEST()
295 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
296 actions.emplace_back(std::move(action)); in TEST()
297 std::unique_ptr<Configuration> configuration = in TEST()
298 std::make_unique<Configuration>(volts, std::move(actions)); in TEST()
302 std::unique_ptr<Rail> rail = in TEST()
303 std::make_unique<Rail>("vio2", std::move(configuration)); in TEST()
307 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST()
308 std::unique_ptr<Configuration> deviceConfiguration{}; in TEST()
309 std::unique_ptr<PhaseFaultDetection> phaseFaultDetection{}; in TEST()
310 std::vector<std::unique_ptr<Rail>> rails{}; in TEST()
311 rails.emplace_back(std::move(rail)); in TEST()
312 std::unique_ptr<Device> device = std::make_unique<Device>( in TEST()
315 std::move(i2cInterface), std::move(presenceDetection), in TEST()
316 std::move(deviceConfiguration), std::move(phaseFaultDetection), in TEST()
317 std::move(rails)); in TEST()
321 std::vector<std::unique_ptr<Device>> devices{}; in TEST()
322 devices.emplace_back(std::move(device)); in TEST()
323 std::unique_ptr<Chassis> chassis = in TEST()
324 std::make_unique<Chassis>(1, chassisInvPath, std::move(devices)); in TEST()
328 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
329 std::vector<std::unique_ptr<Chassis>> chassisVec{}; in TEST()
330 chassisVec.emplace_back(std::move(chassis)); in TEST()
331 System system{std::move(rules), std::move(chassisVec)}; in TEST()
345 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
351 std::optional<double> volts{}; in TEST()
352 std::unique_ptr<PMBusWriteVoutCommandAction> action = in TEST()
353 std::make_unique<PMBusWriteVoutCommandAction>( in TEST()
358 std::unique_ptr<i2c::MockedI2CInterface> i2cInterface = in TEST()
359 std::make_unique<i2c::MockedI2CInterface>(); in TEST()
366 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
367 actions.emplace_back(std::move(action)); in TEST()
368 std::unique_ptr<Configuration> configuration = in TEST()
369 std::make_unique<Configuration>(1.3, std::move(actions)); in TEST()
373 std::unique_ptr<Rail> rail = in TEST()
374 std::make_unique<Rail>("vio2", std::move(configuration)); in TEST()
378 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST()
379 std::unique_ptr<Configuration> deviceConfiguration{}; in TEST()
380 std::unique_ptr<PhaseFaultDetection> phaseFaultDetection{}; in TEST()
381 std::vector<std::unique_ptr<Rail>> rails{}; in TEST()
382 rails.emplace_back(std::move(rail)); in TEST()
383 std::unique_ptr<Device> device = std::make_unique<Device>( in TEST()
386 std::move(i2cInterface), std::move(presenceDetection), in TEST()
387 std::move(deviceConfiguration), std::move(phaseFaultDetection), in TEST()
388 std::move(rails)); in TEST()
392 std::vector<std::unique_ptr<Device>> devices{}; in TEST()
393 devices.emplace_back(std::move(device)); in TEST()
394 std::unique_ptr<Chassis> chassis = in TEST()
395 std::make_unique<Chassis>(1, chassisInvPath, std::move(devices)); in TEST()
399 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
400 std::vector<std::unique_ptr<Chassis>> chassisVec{}; in TEST()
401 chassisVec.emplace_back(std::move(chassis)); in TEST()
402 System system{std::move(rules), std::move(chassisVec)}; in TEST()
416 std::vector<std::string> expectedErrMessagesException{ in TEST()
429 std::unique_ptr<I2CWriteByteAction> action = in TEST()
430 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
433 std::unique_ptr<i2c::MockedI2CInterface> i2cInterface = in TEST()
434 std::make_unique<i2c::MockedI2CInterface>(); in TEST()
443 std::optional<double> volts{}; in TEST()
444 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
445 actions.emplace_back(std::move(action)); in TEST()
446 std::unique_ptr<Configuration> configuration = in TEST()
447 std::make_unique<Configuration>(volts, std::move(actions)); in TEST()
451 std::unique_ptr<Rail> rail = in TEST()
452 std::make_unique<Rail>("vio2", std::move(configuration)); in TEST()
456 std::unique_ptr<PresenceDetection> presenceDetection{}; in TEST()
457 std::unique_ptr<Configuration> deviceConfiguration{}; in TEST()
458 std::unique_ptr<PhaseFaultDetection> phaseFaultDetection{}; in TEST()
459 std::vector<std::unique_ptr<Rail>> rails{}; in TEST()
460 rails.emplace_back(std::move(rail)); in TEST()
461 std::unique_ptr<Device> device = std::make_unique<Device>( in TEST()
464 std::move(i2cInterface), std::move(presenceDetection), in TEST()
465 std::move(deviceConfiguration), std::move(phaseFaultDetection), in TEST()
466 std::move(rails)); in TEST()
470 std::vector<std::unique_ptr<Device>> devices{}; in TEST()
471 devices.emplace_back(std::move(device)); in TEST()
472 std::unique_ptr<Chassis> chassis = in TEST()
473 std::make_unique<Chassis>(1, chassisInvPath, std::move(devices)); in TEST()
477 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
478 std::vector<std::unique_ptr<Chassis>> chassisVec{}; in TEST()
479 chassisVec.emplace_back(std::move(chassis)); in TEST()
480 System system{std::move(rules), std::move(chassisVec)}; in TEST()
490 std::optional<double> volts{1.3}; in TEST()
492 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
495 actions.push_back(std::unique_ptr<MockAction>{action1}); in TEST()
498 actions.push_back(std::unique_ptr<MockAction>{action2}); in TEST()
500 Configuration configuration(volts, std::move(actions)); in TEST()
510 std::optional<double> volts{3.2}; in TEST()
512 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
513 actions.push_back(std::make_unique<MockAction>()); in TEST()
515 Configuration configuration(volts, std::move(actions)); in TEST()
522 std::optional<double> volts{}; in TEST()
524 std::vector<std::unique_ptr<Action>> actions{}; in TEST()
525 actions.push_back(std::make_unique<MockAction>()); in TEST()
527 Configuration configuration(volts, std::move(actions)); in TEST()