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.).
Inherited Members
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()