#include "remoting/host/host_extension_session_manager.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "remoting/host/client_session_details.h"
#include "remoting/host/fake_host_extension.h"
#include "remoting/host/host_mock_objects.h"
#include "remoting/proto/control.pb.h"
#include "remoting/protocol/protocol_mock_objects.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
class HostExtensionSessionManagerTest : public testing::Test { … };
TEST_F(HostExtensionSessionManagerTest, ExtensionMessages_MessageHandled) { … }
TEST_F(HostExtensionSessionManagerTest, ExtensionMessages_MessageNotHandled) { … }
TEST_F(HostExtensionSessionManagerTest, ExtensionCapabilities_AreReported) { … }
TEST_F(HostExtensionSessionManagerTest, ExtensionCapabilities_AreChecked) { … }
TEST_F(HostExtensionSessionManagerTest,
FindExtensionSession_ReturnsSessionIfFound) { … }
TEST_F(HostExtensionSessionManagerTest,
FindExtensionSession_ReturnsNullptrIfNegotiationHasNotCompleted) { … }
TEST_F(HostExtensionSessionManagerTest,
FindExtensionSession_ReturnsNullptrIfCapabilityIsNotSupported) { … }
}