Class FontAssetCreatorTests
EditMode tests for FontAssetCreator. Every test that writes an asset targets a private
temp folder, so these tests stay hermetic regardless of what the project already has under
DefaultOutputFolder. Mirrors GameSaveCreatorTests and
UiSettingsCreatorTests.
Inherited Members
Namespace: Serenity.Ui.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class FontAssetCreatorTests
Constructors
FontAssetCreatorTests()
Declaration
public FontAssetCreatorTests()
Methods
Create_HappyPath_WritesAFontAssetWithAtlasAndMaterialSubAssets()
Declaration
public void Create_HappyPath_WritesAFontAssetWithAtlasAndMaterialSubAssets()
Create_NullInput_ReturnsError()
Declaration
public void Create_NullInput_ReturnsError()
Create_RegisterAsAddressablesTrue_RegistersWithTheUiModuleLabel()
Declaration
public void Create_RegisterAsAddressablesTrue_RegistersWithTheUiModuleLabel()
Create_SameNameTwice_WarnsAndUniquifiesTheSecondAsset()
Declaration
public void Create_SameNameTwice_WarnsAndUniquifiesTheSecondAsset()
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
ValidateIdentity_NullSourceFont_ReturnsError()
Declaration
public void ValidateIdentity_NullSourceFont_ReturnsError()
Validate_MalformedOutputFolder_ReturnsError()
Declaration
public void Validate_MalformedOutputFolder_ReturnsError()