#include "content/browser/media/session/media_players_callback_aggregator.h"
#include "base/not_fatal_until.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
class FakeMediaSession { … };
class MediaPlayersCallbackAggregatorTest : public testing::Test { … };
}
TEST_F(MediaPlayersCallbackAggregatorTest, DoesNotCrashWithEmptyPlayers) { … }
TEST_F(MediaPlayersCallbackAggregatorTest, MultiplePlayersAllMeetVisibility) { … }
TEST_F(MediaPlayersCallbackAggregatorTest,
MultiplePlayersAllDoNotMeetVisibility) { … }
TEST_F(MediaPlayersCallbackAggregatorTest, MultiplePlayersSomeMeetVisibility) { … }
TEST_F(MediaPlayersCallbackAggregatorTest,
MultiplePlayersStopsAtFirstMeetVisibility) { … }
}