logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.UnitySystemConfiguration.Tests.Editor

    Classes

    UnityEditorOsMonitorCacheTests

    EditMode tests for UnityEditorOsMonitorCache. A fake provider factory is injected so the cache returns deterministic data instead of querying the real OS; the static cache is reset (factory cleared + invalidated) in TearDown so cases do not leak into each other.

    UnitySystemConfigurationSettingsEditorCultureDrawTests

    The culture popup of the system configuration inspector, drawn over every culture list source with the language override on. The popup used to store the first Localization locale on its own whenever the stored culture was empty or missing from that list, and opening the inspector switched the source to all cultures on its own when the stored culture was a .NET culture no locale provides. Opening and drawing must now leave the asset exactly as it is, for the Localization source and the all-cultures source alike, until the author picks a culture or presses the switch.

    UnitySystemConfigurationSettingsEditorTests

    EditMode tests for the pure static helpers on UnitySystemConfigurationSettingsEditor (culture resolution, code lookup, sync-map mutation). The IMGUI render methods are skipped; only the culture-agnostic logic behind them is exercised here.

    UnitySystemConfigurationSyncMapHelperTests

    EditMode tests for the nested UnitySystemConfigurationSyncMapHelper array-mutation logic (add/remove rows with bounds-safety and null-guarding). Settings are created as in-memory ScriptableObjects and destroyed in TearDown.

    In this article
    © 2026 Serenity. All Rights Reserved