// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/functional/bind.h" #include "base/synchronization/waitable_event.h" #include "base/test/task_environment.h" #include "base/threading/thread.h" #include "media/audio/power_observer_helper.h" #include "testing/gtest/include/gtest/gtest.h" namespace media { class PowerObserverHelperTest : public testing::Test { … }; // Suspend and resume notifications. TEST_F(PowerObserverHelperTest, SuspendAndResumeNotificationsTwice) { … } // Two suspend and two resume notifications. TEST_F(PowerObserverHelperTest, TwoSuspendAndTwoResumeNotifications) { … } } // namespace media