Namespace Serenity.Steam.Tests.Infrastructure
Classes
SteamAnswerTextTests
Tests for SteamAnswerText: an answer with no body is named as empty, never left as a trailing colon.
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().
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.
SteamJsonFieldReaderWholeNumberTests
Tests for TryGetWholeNumber(JsonValue, IReadOnlyList<string>, out long): numbers and quoted digits are whole numbers, anything else is not.
SteamPartnerLocaleMapTests
Tests for SteamPartnerLocaleMap: round trips, aliases, case-insensitivity, and the no-collision guarantee between canonical locale codes and Steam languages.
SteamSaveResponseReaderTests
Tests for SteamSaveResponseReader: bodies captured from the live
newachievement and saveachievement endpoints, and the defensive classification of
everything else.
SteamSignInRedirectRuleTests
Tests for SteamSignInRedirectRule: a redirect only means "your session is dead" when it points at the partner site's sign-in bounce.