logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnityTimer.Tests.Infrastructure

    Classes

    UnityTimeProviderTests

    PlayMode tests for Serenity.Timer.Infrastructure.Components.UnityTimeProvider. Covers the public contract (Initialize, default delta exposure). The private per-frame Update() is not driven directly; the integration between provider and service is covered in UnityTimerServiceTests.

    UnityTimerFactoryTests

    PlayMode tests for Serenity.Timer.Infrastructure.Services.UnityTimerFactory.

    UnityTimerServiceFactoryTests

    PlayMode tests for Serenity.Timer.Infrastructure.Services.UnityTimerServiceFactory.

    UnityTimerServiceTests

    PlayMode tests for Serenity.Timer.Infrastructure.Components.UnityTimerService. Uses a real Serenity.Timer.Infrastructure.Services.UnityTimerFactory (the service casts created timers to Serenity.UnityTimer) and a deterministic Serenity.UnityTimer.Tests.Infrastructure.FakeTimeProvider.

    UnityTimerTests

    PlayMode tests for Serenity.UnityTimer, the Unity MonoBehaviour timer component. Drives the timer via its public API (Tick / Set* / Get*) using a component attached to a temporary GameObject.

    In this article
    © 2026 Serenity. All Rights Reserved