logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ModalScrollPolicyTests

    Tests for the pure modal scrolling decision rule, mirroring the menu scroll-policy truth table.

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

    Constructors

    ModalScrollPolicyTests()

    Declaration
    public ModalScrollPolicyTests()

    Methods

    ShouldScroll_FewerOrEqualOptionsThanVisible_IsFalse()

    Declaration
    public void ShouldScroll_FewerOrEqualOptionsThanVisible_IsFalse()

    ShouldScroll_MoreOptionsThanVisibleAndEnabled_IsTrue()

    Declaration
    public void ShouldScroll_MoreOptionsThanVisibleAndEnabled_IsTrue()

    ShouldScroll_NotScrollable_IsFalse()

    Declaration
    public void ShouldScroll_NotScrollable_IsFalse()

    ShouldScroll_VisibleCountZeroOrLess_IsFalse()

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