Class SteamPartnerSessionTests
EditMode tests for Serenity.Steam.Infrastructure.Editor.SteamPartnerSession: the store/get/clear round-trip through the editor session state (an in-memory fake, never the author's real one), Serenity.Steam.Infrastructure.Editor.SteamPartnerSession.ForgetOnWindowClose's default, and the SECURITY CONTRACT that nothing this feature can stringify ever leaks the raw SteamLoginSecure value.
Inherited Members
Namespace: Serenity.Steam.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class SteamPartnerSessionTests
Constructors
SteamPartnerSessionTests()
Declaration
public SteamPartnerSessionTests()
Methods
ActivityLog_LoggingAFailedCheckAndACookiesToString_NeverContainsTheRawSecret()
Declaration
public void ActivityLog_LoggingAFailedCheckAndACookiesToString_NeverContainsTheRawSecret()
ClearAll_AlsoForgetsTheSignInToken()
Declaration
public void ClearAll_AlsoForgetsTheSignInToken()
ClearAll_ForgetsEveryAppIdThisSessionEverStored()
Declaration
public void ClearAll_ForgetsEveryAppIdThisSessionEverStored()
ClearAll_LeavesNothingBehindInTheSessionState()
Declaration
public void ClearAll_LeavesNothingBehindInTheSessionState()
Clear_AppId_KeepsTheSignInToken()
Declaration
public void Clear_AppId_KeepsTheSignInToken()
Clear_RemovesBothTheInMemoryAndSessionStateCopies()
Declaration
public void Clear_RemovesBothTheInMemoryAndSessionStateCopies()
Cookies_ToString_NeverContainsTheRawSteamLoginSecureValue()
Declaration
public void Cookies_ToString_NeverContainsTheRawSteamLoginSecureValue()
CredentialScratch_Clear_ErasesEveryTypedCredentialField()
Declaration
public void CredentialScratch_Clear_ErasesEveryTypedCredentialField()
FailedConnectionCheck_StatusLineNeverContainsARawCookieValue()
Declaration
public void FailedConnectionCheck_StatusLineNeverContainsARawCookieValue()
ForgetOnWindowClose_DefaultsToFalse()
Declaration
public void ForgetOnWindowClose_DefaultsToFalse()
SetUp()
Declaration
public void SetUp()
Store_MirrorsTheCookiesUnderTheSteamModuleKeys()
Declaration
public void Store_MirrorsTheCookiesUnderTheSteamModuleKeys()
Store_ThenTryGet_RoundTripsBothCookies()
Declaration
public void Store_ThenTryGet_RoundTripsBothCookies()
TryGet_AfterInMemoryCopyIsGone_ReadsBackFromTheSessionState()
Declaration
public void TryGet_AfterInMemoryCopyIsGone_ReadsBackFromTheSessionState()
TryGet_IncompleteCookiePair_ReportsNotFound()
Declaration
public void TryGet_IncompleteCookiePair_ReportsNotFound()
TryGet_UnknownAppId_ReportsNotFound()
Declaration
public void TryGet_UnknownAppId_ReportsNotFound()