logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    CompositeAchievementPlatformGatewayTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Achievements.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class CompositeAchievementPlatformGatewayTests

    Constructors

    CompositeAchievementPlatformGatewayTests()

    Declaration
    public CompositeAchievementPlatformGatewayTests()

    Methods

    CallsAfterDispose_ReturnTheUnavailableResultWithoutReachingAnyChild()

    Declaration
    public Task CallsAfterDispose_ReturnTheUnavailableResultWithoutReachingAnyChild()
    Returns
    Type Description
    Task

    Ctor_NullChildren_Throws()

    Declaration
    public void Ctor_NullChildren_Throws()

    Dispose_AChildThatThrows_IsLoggedAndItsSiblingsAreStillDisposed()

    Declaration
    public void Dispose_AChildThatThrows_IsLoggedAndItsSiblingsAreStillDisposed()

    Dispose_DisposesEveryDisposableChildExactlyOnce()

    Declaration
    public void Dispose_DisposesEveryDisposableChildExactlyOnce()

    Dispose_NullAndNonDisposableChildEntries_AreSkippedWithoutFailing()

    Declaration
    public void Dispose_NullAndNonDisposableChildEntries_AreSkippedWithoutFailing()

    Dispose_TwiceInARow_DisposesEachChildOnlyOnce()

    Declaration
    public void Dispose_TwiceInARow_DisposesEachChildOnlyOnce()

    IsAvailable_IsTrueWhenAnyChildIs()

    Declaration
    public void IsAvailable_IsTrueWhenAnyChildIs()

    NullChildEntries_AreSkipped()

    Declaration
    public Task NullChildEntries_AreSkipped()
    Returns
    Type Description
    Task

    NullGateway_AcceptsNothingAndReportsUnavailable()

    Declaration
    public Task NullGateway_AcceptsNothingAndReportsUnavailable()
    Returns
    Type Description
    Task

    PlatformName_ListsEveryChild()

    Declaration
    public void PlatformName_ListsEveryChild()

    PlatformName_NoChildren_ReadsAsNone()

    Declaration
    public void PlatformName_NoChildren_ReadsAsNone()

    QueryUnlockedAsync_AThrowingChild_IsLoggedAndTheWholeQueryIsUnreachable()

    Declaration
    public Task QueryUnlockedAsync_AThrowingChild_IsLoggedAndTheWholeQueryIsUnreachable()
    Returns
    Type Description
    Task

    QueryUnlockedAsync_EveryChildAnswers_ReturnsTheUnionAsSucceeded()

    Declaration
    public Task QueryUnlockedAsync_EveryChildAnswers_ReturnsTheUnionAsSucceeded()
    Returns
    Type Description
    Task

    QueryUnlockedAsync_NoChildren_ReturnsAnsweredEmpty()

    Declaration
    public Task QueryUnlockedAsync_NoChildren_ReturnsAnsweredEmpty()
    Returns
    Type Description
    Task

    QueryUnlockedAsync_OneChildUnreachableWithoutThrowing_WholeQueryIsUnreachable()

    Declaration
    public Task QueryUnlockedAsync_OneChildUnreachableWithoutThrowing_WholeQueryIsUnreachable()
    Returns
    Type Description
    Task

    UnlockAsync_AThrowingChild_IsLoggedAndTheOthersStillRun()

    Declaration
    public Task UnlockAsync_AThrowingChild_IsLoggedAndTheOthersStillRun()
    Returns
    Type Description
    Task

    UnlockAsync_SucceedsWhenAnyChildAccepts()

    Declaration
    public Task UnlockAsync_SucceedsWhenAnyChildAccepts()
    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved