#include "components/power_metrics/system_power_monitor.h"
#include "base/memory/raw_ptr.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace power_metrics {
class FakeProvider : public EnergyMetricsProvider { … };
class FakeDelegate : public SystemPowerMonitorDelegate { … };
class SystemPowerMonitorHelperTest : public testing::Test { … };
class SystemPowerMonitorTest : public testing::Test { … };
TEST_F(SystemPowerMonitorHelperTest, MonitorHelperStartStop) { … }
TEST_F(SystemPowerMonitorHelperTest, TimerStartFailed_InvalidSample) { … }
TEST_F(SystemPowerMonitorHelperTest, TimerStartFailed_MetricsAllZero) { … }
TEST_F(SystemPowerMonitorHelperTest, TraceCategoryEnableDisable) { … }
TEST_F(SystemPowerMonitorHelperTest, TestSample) { … }
TEST_F(SystemPowerMonitorTest, TraceLogEnableDisable) { … }
}