Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
s/StartVerifableLog/StartVerifiableLog/g because it'll be a pain to p…
Browse files Browse the repository at this point in the history
…atch this in future if we don't do it now
  • Loading branch information
analogrelay committed May 30, 2018
1 parent 2cb1ea8 commit 76b8fcb
Show file tree
Hide file tree
Showing 11 changed files with 126 additions and 126 deletions.

Large diffs are not rendered by default.

Expand Up @@ -35,7 +35,7 @@ public WebSocketsTests(ITestOutputHelper output)
[InlineData(nameof(WebSocketMessageType.Binary))]
public async Task ReceivedFramesAreWrittenToChannel(string webSocketMessageType)
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -83,7 +83,7 @@ public async Task ReceivedFramesAreWrittenToChannel(string webSocketMessageType)
[InlineData(TransferFormat.Binary, nameof(WebSocketMessageType.Binary))]
public async Task WebSocketTransportSetsMessageTypeBasedOnTransferFormatFeature(TransferFormat transferFormat, string expectedMessageType)
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -120,7 +120,7 @@ public async Task WebSocketTransportSetsMessageTypeBasedOnTransferFormatFeature(
[Fact]
public async Task TransportCommunicatesErrorToApplicationWhenClientDisconnectsAbnormally()
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -173,7 +173,7 @@ async Task CompleteApplicationAfterTransportCompletes()
[Fact]
public async Task ClientReceivesInternalServerErrorWhenTheApplicationFails()
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -205,7 +205,7 @@ public async Task ClientReceivesInternalServerErrorWhenTheApplicationFails()
[Fact]
public async Task TransportClosesOnCloseTimeoutIfClientDoesNotSendCloseFrame()
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -240,7 +240,7 @@ public async Task TransportClosesOnCloseTimeoutIfClientDoesNotSendCloseFrame()
[Fact]
public async Task TransportFailsOnTimeoutWithErrorWhenApplicationFailsAndClientDoesNotSendCloseFrame()
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -275,7 +275,7 @@ public async Task TransportFailsOnTimeoutWithErrorWhenApplicationFailsAndClientD
[Fact]
public async Task ServerGracefullyClosesWhenApplicationEndsThenClientSendsCloseFrame()
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -315,7 +315,7 @@ public async Task ServerGracefullyClosesWhenApplicationEndsThenClientSendsCloseF
[Fact]
public async Task ServerGracefullyClosesWhenClientSendsCloseFrameThenApplicationEnds()
{
using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down Expand Up @@ -358,7 +358,7 @@ public async Task SubProtocolSelectorIsUsedToSelectSubProtocol()
const string ExpectedSubProtocol = "expected";
var providedSubProtocols = new[] {"provided1", "provided2"};

using (StartVerifableLog(out var loggerFactory, LogLevel.Debug))
using (StartVerifiableLog(out var loggerFactory, LogLevel.Debug))
{
var pair = DuplexPipe.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);
var connection = new HttpConnectionContext("foo", pair.Transport, pair.Application);
Expand Down

0 comments on commit 76b8fcb

Please sign in to comment.