logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnityTimer.Tests.Infrastructure

    Classes

    UnityTimeProviderTests

    PlayMode tests for 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 UnityTimerFactory.

    UnityTimerServiceFactoryTests

    PlayMode tests for UnityTimerServiceFactory.

    UnityTimerServiceTests

    PlayMode tests for UnityTimerService. Uses a real 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