// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Net.Test.Common;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace System.Net.WebSockets.Client.Tests
{
///
/// ClientWebSocket tests that do require a remote server.
///
public class ClientWebSocketTestBase
{
public readonly static object[][] EchoServers = Configuration.WebSockets.EchoServers;
public readonly static object[][] EchoHeadersServers = Configuration.WebSockets.EchoHeadersServers;
public const int TimeOutMilliseconds = 10000;
public const int CloseDescriptionMaxLength = 123;
public readonly ITestOutputHelper _output;
public ClientWebSocketTestBase(ITestOutputHelper output)
{
_output = output;
}
public static IEnumerable