Class SerenityAssetLoadingModeTests
Tests for Serenity.Global.Domain.Enums.SerenityAssetLoadingMode. The underlying integer values are a stability contract: already-serialized assets rely on them, so they must never be renumbered. The default (0) must remain Serenity.Global.Domain.Enums.SerenityAssetLoadingMode.AddressablesWithResourcesFallback so pre-existing serialized installers deserialize to the safe legacy behaviour.
Inherited Members
Namespace: Serenity.Global.Tests.Domain
Assembly: Tests.dll
Syntax
public class SerenityAssetLoadingModeTests
Constructors
SerenityAssetLoadingModeTests()
Declaration
public SerenityAssetLoadingModeTests()
Methods
AddressablesOnly_IsPinnedToOne()
Declaration
public void AddressablesOnly_IsPinnedToOne()
AddressablesWithResourcesFallback_IsPinnedToZero()
Declaration
public void AddressablesWithResourcesFallback_IsPinnedToZero()
DefaultValue_IsAddressablesWithResourcesFallback()
Declaration
public void DefaultValue_IsAddressablesWithResourcesFallback()
Enum_DeclaresExactlyThreeModes()
Declaration
public void Enum_DeclaresExactlyThreeModes()
ResourcesOnly_IsPinnedToTwo()
Declaration
public void ResourcesOnly_IsPinnedToTwo()