chromium/chrome/browser/media/router/providers/cast/app_activity_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/media/router/providers/cast/app_activity.h"

#include <memory>
#include <optional>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/mock_callback.h"
#include "base/test/values_test_util.h"
#include "base/values.h"
#include "chrome/browser/media/router/providers/cast/cast_activity_manager.h"
#include "chrome/browser/media/router/providers/cast/cast_activity_test_base.h"
#include "chrome/browser/media/router/providers/cast/cast_session_client.h"
#include "chrome/browser/media/router/providers/cast/test_util.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "components/media_router/common/providers/cast/channel/cast_message_util.h"
#include "components/media_router/common/providers/cast/channel/cast_test_util.h"
#include "components/media_router/common/test/test_helper.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

IsJson;
ParseJsonDict;
PresentationConnectionCloseReason;
PresentationConnectionMessage;
PresentationConnectionMessagePtr;
_;
Pair;
Pointee;
Return;
UnorderedElementsAre;
WithArg;
WithArgs;

namespace media_router {

class AppActivityTest : public CastActivityTestBase {};

TEST_F(AppActivityTest, SendAppMessageToReceiver) {}

TEST_F(AppActivityTest, SendMediaRequestToReceiver) {}

TEST_F(AppActivityTest, SendSetVolumeRequestToReceiver) {}

TEST_F(AppActivityTest, StopSessionOnReceiver) {}

TEST_F(AppActivityTest, SendStopSessionMessageToClients) {}

TEST_F(AppActivityTest, HandleLeaveSession) {}

TEST_F(AppActivityTest, SendMessageToClientInvalid) {}

TEST_F(AppActivityTest, SendMessageToClient) {}

TEST_F(AppActivityTest, AddRemoveClient) {}

TEST_F(AppActivityTest, SetOrUpdateSession) {}

TEST_F(AppActivityTest, ClosePresentationConnections) {}

TEST_F(AppActivityTest, TerminatePresentationConnections) {}

TEST_F(AppActivityTest, OnAppMessage) {}

TEST_F(AppActivityTest, OnAppMessageAllClients) {}

TEST_F(AppActivityTest, CloseConnectionOnReceiver) {}

TEST_F(AppActivityTest, RemoveConnectionOnReceiver) {}

TEST_F(AppActivityTest, ForwardInternalMediaMessage) {}

TEST_F(AppActivityTest, IgnoreInternalMediaStatusMessage) {}

}  // namespace media_router