Class AchievementPlatformDefinitionTests
PlayMode tests for the four shipped storefront definition assets and the gateways they build.
Inheritance
AchievementPlatformDefinitionTests
Assembly: Tests.dll
public class AchievementPlatformDefinitionTests
Constructors
Declaration
public AchievementPlatformDefinitionTests()
Methods
The composite's whole job under failure: one broken storefront must not take the others
with it. A registered gateway that throws on every call is the worst realistic case,
because it is the seam a licensee owns and Serenity cannot test.
Declaration
public Task ARegisteredGatewayThatThrows_DoesNotSilenceTheConfiguredStorefronts()
Returns
Declaration
public Task AnInertGateway_ExplainsItselfOnceHoweverOftenItIsRetried()
Returns
Declaration
public Task AnInertGateway_NamesTheDoctorSoTheReaderKnowsWhereToLook()
Returns
Pinned on its own because clearing is the one call whose false answer is load-bearing:
AchievementPlatformSyncPass.ClearAsync reports it to the caller, and an inert
gateway that answered true would tell a project its storefront account was wiped.
Declaration
public Task AnInertGateway_RefusesToClaimItClearedTheAccount()
Returns
Declaration
public void Create_ARegisteredFactoryBesideAShippedDefinition_KeepsBoth()
Declaration
public void Create_EveryShippedDefinition_ProducesOneCompositeCarryingAllFour()
Declaration
public void Create_EveryShippedDefinition_ReportsTheCompositeUnavailableWhileNoSdkIsInstalled()
Declaration
public void EpicDefinition_DeclaresItsPlatformKind()
Declaration
public void EveryShippedDefinition_BuildsAGatewayThatNamesItsPlatform()
EveryShippedDefinition_BuildsAGatewayWithoutAContext()
Declaration
public void EveryShippedDefinition_BuildsAGatewayWithoutAContext()
Declaration
public void EveryShippedDefinition_CarriesAGeneratedGuid()
Declaration
public Task EveryShippedGateway_RefusesEveryCallWithoutThrowing()
Returns
Declaration
public void EveryShippedGateway_ReportsItselfUnavailableWithNoSdkInstalled()
Declaration
public void PlayStationDefinition_DeclaresItsPlatformKind()
Registry_ContextOverload_ReceivesTheAchievementsTheProjectDeclares()
Declaration
public void Registry_ContextOverload_ReceivesTheAchievementsTheProjectDeclares()
Declaration
public void SteamDefinition_DeclaresItsPlatformKind()
Declaration
public void SteamDefinition_DoesNotRelaunchThroughSteamUnlessAskedTo()
Declaration
Warning once is a per-gateway promise, not a per-process one: a project shipping on two
storefronts has to hear about both, and a latch shared across instances would silence
whichever one happened to be initialized second.
Declaration
public Task TwoInertGateways_EachExplainThemselvesOnce()
Returns
Declaration
public void XboxDefinition_DeclaresItsPlatformKind()