logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityUserSystemUtilsTests

    Tests for UnityUserSystemUtils platform predicates. Asserts the predicates are internally consistent with the actual runtime platform rather than hardcoding a single OS, so the tests pass on any test runner (Windows editor, CI, etc.).

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

    Constructors

    UnityUserSystemUtilsTests()

    Declaration
    public UnityUserSystemUtilsTests()

    Methods

    ConsolePlatform_MatchesUnionOfAllConsoles()

    Declaration
    public void ConsolePlatform_MatchesUnionOfAllConsoles()

    DesktopAndMobile_AreMutuallyExclusive()

    Declaration
    public void DesktopAndMobile_AreMutuallyExclusive()

    MobilePlatform_MatchesUnionOfIosAndAndroid()

    Declaration
    public void MobilePlatform_MatchesUnionOfIosAndAndroid()

    PlayStationPlatform_MatchesUnionOfPs4AndPs5()

    Declaration
    public void PlayStationPlatform_MatchesUnionOfPs4AndPs5()

    StandalonePlatform_MatchesUnionOfDesktopPredicates()

    Declaration
    public void StandalonePlatform_MatchesUnionOfDesktopPredicates()

    WebGlPlatform_AgreesWithApplicationPlatform()

    Declaration
    public void WebGlPlatform_AgreesWithApplicationPlatform()

    WindowsPlatform_AgreesWithApplicationPlatform()

    Declaration
    public void WindowsPlatform_AgreesWithApplicationPlatform()

    XboxPlatform_MatchesUnionOfXboxOneAndSeries()

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