class PowerLibTest_ApplyPowerConfiguration_Test

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc

This tests the fdf_power::ApplyPowerConfiguration function. The validates

that the function calls appropriate token providers and makes a dependency

between the retrieved tokens and the element it adds.

The test creates fake token providers and a fake Topology service.

Then the test creates a power element configuration with dependencies on

two parent elements. The test gives the configuration and the fakes to the

function under test. The test then validates that the topology server was

passed an element configuration with the rght number of dependencies and

tokens for these dependencies match the ones given to the fake token

servers.

Public Methods

void PowerLibTest_ApplyPowerConfiguration_Test ()

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc

void PowerLibTest_ApplyPowerConfiguration_Test (const PowerLibTest_ApplyPowerConfiguration_Test & )

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc

void PowerLibTest_ApplyPowerConfiguration_Test (PowerLibTest_ApplyPowerConfiguration_Test && )

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc

PowerLibTest_ApplyPowerConfiguration_Test & operator= (const PowerLibTest_ApplyPowerConfiguration_Test & )

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc

PowerLibTest_ApplyPowerConfiguration_Test & operator= (PowerLibTest_ApplyPowerConfiguration_Test && )

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc

void ~PowerLibTest_ApplyPowerConfiguration_Test ()

Defined at line 975 of file ../../sdk/lib/driver/power/cpp/power-support-tests.cc