Home
last modified time | relevance | path

Searched hist:b654c619 (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-power/phosphor-power-supply/test/
H A Dpower_supply_tests.cppb654c619 Fri Nov 05 18:24:51 CDT 2021 Brandon Wyman <bjwyman@gmail.com> psu-ng: Refactor PMBus expectations helper

The long list of parameters with a default of 0 is getting a bit
unwieldy to deal with. Refactor this code to use a struct that
initializes the values to 0.

Use scoping to allow for defaults of 0, when that is the desired value.

Change-Id: I9548823fb286fc886cc2c073206ce78f264092b6
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>