logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class InitializationPipelineStepBehaviorTests

    Additional behavioral coverage for InitializationPipelineStep: equality contract (reflexive/symmetric), hash-code edge cases (null id), and property storage for non-default criticality/weight combinations.

    Inheritance
    object
    InitializationPipelineStepBehaviorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.InitializationPipeline.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class InitializationPipelineStepBehaviorTests

    Constructors

    InitializationPipelineStepBehaviorTests()

    Declaration
    public InitializationPipelineStepBehaviorTests()

    Methods

    Constructor_DegradableCriticality_IsStored()

    Declaration
    public void Constructor_DegradableCriticality_IsStored()

    Constructor_EmptyId_StoresEmptyString()

    Declaration
    public void Constructor_EmptyId_StoresEmptyString()

    Constructor_FractionalWeight_StoredExactly()

    Declaration
    public void Constructor_FractionalWeight_StoredExactly()

    Equals_BoxedAsObject_ReturnsTrue()

    Declaration
    public void Equals_BoxedAsObject_ReturnsTrue()

    Equals_DifferentWeightOnly_ReturnsFalse()

    Declaration
    public void Equals_DifferentWeightOnly_ReturnsFalse()

    Equals_IsSymmetric()

    Declaration
    public void Equals_IsSymmetric()

    Equals_NegativeWeightSameValue_ReturnsTrue()

    Declaration
    public void Equals_NegativeWeightSameValue_ReturnsTrue()

    Equals_SameReference_ReturnsTrue()

    Declaration
    public void Equals_SameReference_ReturnsTrue()

    GetHashCode_BothNullIds_ReturnSameHash()

    Declaration
    public void GetHashCode_BothNullIds_ReturnSameHash()

    GetHashCode_CalledTwice_IsStable()

    Declaration
    public void GetHashCode_CalledTwice_IsStable()

    GetHashCode_DifferentWeightOnly_ProducesDifferentHash()

    Declaration
    public void GetHashCode_DifferentWeightOnly_ProducesDifferentHash()

    GetHashCode_NullId_DoesNotThrow()

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