logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityViewBrowserServiceTests

    PlayMode tests for UnityViewBrowserService, the MonoBehaviour navigation stack. Exercises push/current/back/clear/history behaviour over a fake IViewBase, including the throw-on-empty semantics that distinguish it from the pure-C# fake.

    Inheritance
    object
    UnityViewBrowserServiceTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityViewBrowser.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityViewBrowserServiceTests

    Constructors

    UnityViewBrowserServiceTests()

    Declaration
    public UnityViewBrowserServiceTests()

    Methods

    ClearHistory_OnEmptyHistory_DoesNotThrow()

    Declaration
    public void ClearHistory_OnEmptyHistory_DoesNotThrow()

    ClearHistory_RemovesAllViews()

    Declaration
    public void ClearHistory_RemovesAllViews()

    GetCurrentView_EmptyHistory_Throws()

    Declaration
    public void GetCurrentView_EmptyHistory_Throws()

    GetCurrentView_ReturnsTopOfStack()

    Declaration
    public void GetCurrentView_ReturnsTopOfStack()

    GetHistory_Initially_IsEmpty()

    Declaration
    public void GetHistory_Initially_IsEmpty()

    GoBack_EmptyHistory_Throws()

    Declaration
    public void GoBack_EmptyHistory_Throws()

    GoBack_LeavesPreviousViewAsCurrent()

    Declaration
    public void GoBack_LeavesPreviousViewAsCurrent()

    GoBack_ReturnsAndRemovesTopView()

    Declaration
    public void GoBack_ReturnsAndRemovesTopView()

    GuidProperty_RoundTripsThroughInterface()

    Declaration
    public void GuidProperty_RoundTripsThroughInterface()

    IdProperty_RoundTripsThroughInterface()

    Declaration
    public void IdProperty_RoundTripsThroughInterface()

    PushPopRoundTrip_RestoresEmptyState()

    Declaration
    public void PushPopRoundTrip_RestoresEmptyState()

    Push_AddsViewToHistory()

    Declaration
    public void Push_AddsViewToHistory()

    Push_MultipleViews_PreservesOrder()

    Declaration
    public void Push_MultipleViews_PreservesOrder()

    Push_ReturnsTheSameViewInstance()

    Declaration
    public void Push_ReturnsTheSameViewInstance()

    Service_IsInstanceOf_IViewBrowserService()

    Declaration
    public void Service_IsInstanceOf_IViewBrowserService()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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