logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SteamCookieHeaderParserTests

    Tests for SteamCookieHeaderParser and the SteamPartnerCookies value it produces: the three accepted input shapes, incomplete cookies, the constructor's decoded-pipe re-encoding, and the redacted ToString().

    Inheritance
    object
    SteamCookieHeaderParserTests
    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 SteamCookieHeaderParserTests

    Constructors

    SteamCookieHeaderParserTests()

    Declaration
    public SteamCookieHeaderParserTests()

    Methods

    Constructor_AlreadyEncodedValue_IsLeftExactlyAsPasted()

    Declaration
    public void Constructor_AlreadyEncodedValue_IsLeftExactlyAsPasted()

    Constructor_DecodedPipeSeparator_ReEncodesToTheWireForm()

    Declaration
    public void Constructor_DecodedPipeSeparator_ReEncodesToTheWireForm()

    ToString_NeverExposesTheRawSecretValue()

    Declaration
    public void ToString_NeverExposesTheRawSecretValue()

    TryParse_BareNameValueString_ExtractsBothCookies()

    Declaration
    public void TryParse_BareNameValueString_ExtractsBothCookies()

    TryParse_CleanCookies_ReportNoRejection()

    Declaration
    public void TryParse_CleanCookies_ReportNoRejection()

    TryParse_CookieHeaderLineEndingInACarriageReturn_StillParses()

    Declaration
    public void TryParse_CookieHeaderLineEndingInACarriageReturn_StillParses()

    TryParse_CookieValueHoldingALineBreak_IsRefusedWithTheReason()

    Declaration
    public void TryParse_CookieValueHoldingALineBreak_IsRefusedWithTheReason()

    TryParse_CurlCopyWithCookieFlag_ExtractsBothCookies()

    Declaration
    public void TryParse_CurlCopyWithCookieFlag_ExtractsBothCookies()

    TryParse_CurlCopyWithDashHFlag_ExtractsBothCookies()

    Declaration
    public void TryParse_CurlCopyWithDashHFlag_ExtractsBothCookies()

    TryParse_NullOrWhitespace_ReturnsFalse(string)

    Declaration
    public void TryParse_NullOrWhitespace_ReturnsFalse(string pastedText)
    Parameters
    Type Name Description
    string pastedText

    TryParse_OnlySessionId_ReturnsIncompleteCookies()

    Declaration
    public void TryParse_OnlySessionId_ReturnsIncompleteCookies()

    TryParse_RawCookieHeaderLine_ExtractsBothCookies()

    Declaration
    public void TryParse_RawCookieHeaderLine_ExtractsBothCookies()

    TryParse_TextWithNoNameValuePairs_ReturnsFalseAndNullCookies()

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