Class SteamHttpTransportTests
Tests for SteamHttpTransport: both of its sends are traced through the one switch, the switch is asked
on every request, and a failing trace never costs the caller its response.
Inheritance
SteamHttpTransportTests
Assembly: Tests.dll
Syntax
public class SteamHttpTransportTests
Constructors
SteamHttpTransportTests()
Declaration
public SteamHttpTransportTests()
Methods
Declaration
public void Constructor_WithoutAHeadersFirstSend_Throws()
Constructor_WithoutASend_Throws()
Declaration
public void Constructor_WithoutASend_Throws()
Constructor_WithoutASink_Throws()
Declaration
public void Constructor_WithoutASink_Throws()
Constructor_WithoutATracingSwitch_Throws()
Declaration
public void Constructor_WithoutATracingSwitch_Throws()
Declaration
public Task HeadersFirstSend_WhileTracingIsOff_RecordsNothing()
Returns
HeadersFirstSend_WhileTracingIsOn_SendsThroughTheHeadersFirstDelegateAndRecordsIt()
Declaration
public Task HeadersFirstSend_WhileTracingIsOn_SendsThroughTheHeadersFirstDelegateAndRecordsIt()
Returns
Send_ASinkThatThrows_ReportsTheTraceFailureAndStillAnswers()
Declaration
public Task Send_ASinkThatThrows_ReportsTheTraceFailureAndStillAnswers()
Returns
Send_ATraceFailureWithNoReporter_StillReturnsTheResponse()
Declaration
public Task Send_ATraceFailureWithNoReporter_StillReturnsTheResponse()
Returns
Send_SwitchedOnAfterTheTransportWasBuilt_StartsRecording()
Declaration
public Task Send_SwitchedOnAfterTheTransportWasBuilt_StartsRecording()
Returns
Send_WhileTracingIsOff_PassesTheRequestThroughAndRecordsNothing()
Declaration
public Task Send_WhileTracingIsOff_PassesTheRequestThroughAndRecordsNothing()
Returns
Send_WhileTracingIsOn_RecordsOneLinePerRequest()
Declaration
public Task Send_WhileTracingIsOn_RecordsOneLinePerRequest()
Returns
SetUp()
Declaration