logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    SteamHttpTransportTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Steam.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class SteamHttpTransportTests

    Constructors

    SteamHttpTransportTests()

    Declaration
    public SteamHttpTransportTests()

    Methods

    Constructor_WithoutAHeadersFirstSend_Throws()

    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()

    HeadersFirstSend_WhileTracingIsOff_RecordsNothing()

    Declaration
    public Task HeadersFirstSend_WhileTracingIsOff_RecordsNothing()
    Returns
    Type Description
    Task

    HeadersFirstSend_WhileTracingIsOn_SendsThroughTheHeadersFirstDelegateAndRecordsIt()

    Declaration
    public Task HeadersFirstSend_WhileTracingIsOn_SendsThroughTheHeadersFirstDelegateAndRecordsIt()
    Returns
    Type Description
    Task

    Send_ASinkThatThrows_ReportsTheTraceFailureAndStillAnswers()

    Declaration
    public Task Send_ASinkThatThrows_ReportsTheTraceFailureAndStillAnswers()
    Returns
    Type Description
    Task

    Send_ATraceFailureWithNoReporter_StillReturnsTheResponse()

    Declaration
    public Task Send_ATraceFailureWithNoReporter_StillReturnsTheResponse()
    Returns
    Type Description
    Task

    Send_SwitchedOnAfterTheTransportWasBuilt_StartsRecording()

    Declaration
    public Task Send_SwitchedOnAfterTheTransportWasBuilt_StartsRecording()
    Returns
    Type Description
    Task

    Send_WhileTracingIsOff_PassesTheRequestThroughAndRecordsNothing()

    Declaration
    public Task Send_WhileTracingIsOff_PassesTheRequestThroughAndRecordsNothing()
    Returns
    Type Description
    Task

    Send_WhileTracingIsOn_RecordsOneLinePerRequest()

    Declaration
    public Task Send_WhileTracingIsOn_RecordsOneLinePerRequest()
    Returns
    Type Description
    Task

    SetUp()

    Declaration
    public void SetUp()
    In this article
    © 2026 Serenity. All Rights Reserved