logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AddScoreActionTests

    Behavioral tests for AddScoreAction: adding a delta to a registered metric, the unresolved-service warning path, the unregistered-key warn-once-per-key latch, and the blank-key warn-once latch. UnityEngine-free so it compiles under the net8 standalone runner.

    Inheritance
    object
    AddScoreActionTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Score.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class AddScoreActionTests

    Constructors

    AddScoreActionTests()

    Declaration
    public AddScoreActionTests()

    Methods

    Execute_BlankOrNullKey_WarnsOnceAndNeverTouchesService()

    Declaration
    public void Execute_BlankOrNullKey_WarnsOnceAndNeverTouchesService()

    Execute_RegisteredKey_AddsDeltaToMetric()

    Declaration
    public void Execute_RegisteredKey_AddsDeltaToMetric()

    Execute_UnregisteredKey_LeavesMetricUntouched()

    Declaration
    public void Execute_UnregisteredKey_LeavesMetricUntouched()

    Execute_UnregisteredKey_WarnsOncePerKey_DifferentKeyWarnsAgain()

    Declaration
    public void Execute_UnregisteredKey_WarnsOncePerKey_DifferentKeyWarnsAgain()

    Execute_UnresolvedService_DoesNotThrow()

    Declaration
    public void Execute_UnresolvedService_DoesNotThrow()

    Execute_UnresolvedService_WarnsOnce()

    Declaration
    public void Execute_UnresolvedService_WarnsOnce()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved