logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementServiceConcurrencyTests

    Tests that the service's mutation gate actually serializes overlapping calls. Every one of these fails without it, because each mutation is a check-then-act sequence that spans an await: the second caller reads the state the first one has not written back yet.

    Inheritance
    object
    AchievementServiceConcurrencyTests
    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 AchievementServiceConcurrencyTests

    Constructors

    AchievementServiceConcurrencyTests()

    Declaration
    public AchievementServiceConcurrencyTests()

    Methods

    ConcurrentIncrementsThatCompleteTheTarget_UnlockOnce()

    Declaration
    public Task ConcurrentIncrementsThatCompleteTheTarget_UnlockOnce()
    Returns
    Type Description
    Task

    ManyConcurrentUnlocksOfTheSameAchievement_ProduceExactlyOneSignal()

    Declaration
    public Task ManyConcurrentUnlocksOfTheSameAchievement_ProduceExactlyOneSignal()
    Returns
    Type Description
    Task

    ManyInterleavedIncrements_AllLand()

    Declaration
    public Task ManyInterleavedIncrements_AllLand()
    Returns
    Type Description
    Task

    ResetRacingAnUnlock_LeavesAConsistentState()

    Declaration
    public Task ResetRacingAnUnlock_LeavesAConsistentState()
    Returns
    Type Description
    Task

    TwoConcurrentUnlocksOfTheSameAchievement_ProduceExactlyOneSignal()

    Declaration
    public Task TwoConcurrentUnlocksOfTheSameAchievement_ProduceExactlyOneSignal()
    Returns
    Type Description
    Task

    TwoInterleavedIncrements_BothLand()

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