Class CompositeAchievementPlatformGatewayTests
Behavioral tests for CompositeAchievementPlatformGateway: the union query, the
any-child availability rule, and the contract that one broken storefront SDK never takes the
unlock path or the other platforms down with it.
Inheritance
CompositeAchievementPlatformGatewayTests
Assembly: Tests.dll
public class CompositeAchievementPlatformGatewayTests
Constructors
Declaration
public CompositeAchievementPlatformGatewayTests()
Methods
Declaration
public Task CallsAfterDispose_ReturnTheUnavailableResultWithoutReachingAnyChild()
Returns
Declaration
public void Ctor_NullChildren_Throws()
Declaration
public void Dispose_AChildThatThrows_IsLoggedAndItsSiblingsAreStillDisposed()
Declaration
public void Dispose_DisposesEveryDisposableChildExactlyOnce()
Declaration
public void Dispose_NullAndNonDisposableChildEntries_AreSkippedWithoutFailing()
Declaration
public void Dispose_TwiceInARow_DisposesEachChildOnlyOnce()
Declaration
public void IsAvailable_IsTrueWhenAnyChildIs()
Declaration
public Task NullChildEntries_AreSkipped()
Returns
Declaration
public Task NullGateway_AcceptsNothingAndReportsUnavailable()
Returns
Declaration
public void PlatformName_ListsEveryChild()
Declaration
public void PlatformName_NoChildren_ReadsAsNone()
Declaration
public Task QueryUnlockedAsync_AThrowingChild_IsLoggedAndTheWholeQueryIsUnreachable()
Returns
Declaration
public Task QueryUnlockedAsync_EveryChildAnswers_ReturnsTheUnionAsSucceeded()
Returns
Declaration
public Task QueryUnlockedAsync_NoChildren_ReturnsAnsweredEmpty()
Returns
Declaration
public Task QueryUnlockedAsync_OneChildUnreachableWithoutThrowing_WholeQueryIsUnreachable()
Returns
Declaration
public Task UnlockAsync_AThrowingChild_IsLoggedAndTheOthersStillRun()
Returns
Declaration
public Task UnlockAsync_SucceedsWhenAnyChildAccepts()
Returns