logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementsThemeRetrofitterTests

    EditMode tests for RetrofitTheme(UnityUiThemeDefinition, bool, bool) against a minimal fixture theme under a temp folder, plus the validator rule the generated prefab has to satisfy. Deliberately never calls RetrofitAllThemesMissingAchievements(bool, bool): that entry point scans every UnityUiThemeDefinition in the whole project, so exercising it here would retrofit the real shipped themes as a side effect of running the test suite.

    Inheritance
    object
    AchievementsThemeRetrofitterTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UiThemeValidation.Tests.Editor
    Assembly: Serenity.UiThemeValidation.Tests.Editor.dll
    Syntax
    public class AchievementsThemeRetrofitterTests

    Constructors

    AchievementsThemeRetrofitterTests()

    Declaration
    public AchievementsThemeRetrofitterTests()

    Methods

    RetrofitTheme_GeneratedPrefabCarriesEverySlotTheViewFills()

    Declaration
    public void RetrofitTheme_GeneratedPrefabCarriesEverySlotTheViewFills()

    RetrofitTheme_GeneratedPrefabPassesTheThemeValidatorsPanelRule()

    Declaration
    public void RetrofitTheme_GeneratedPrefabPassesTheThemeValidatorsPanelRule()

    RetrofitTheme_NullTheme_Throws()

    Declaration
    public void RetrofitTheme_NullTheme_Throws()

    RetrofitTheme_PopulatesAchievementsTemplateAndSavesPrefabToDisk()

    Declaration
    public void RetrofitTheme_PopulatesAchievementsTemplateAndSavesPrefabToDisk()

    RetrofitTheme_PreviewRowsAreTallEnoughForTheirTextColumn()

    Declaration
    public void RetrofitTheme_PreviewRowsAreTallEnoughForTheirTextColumn()

    RetrofitTheme_RegenerateExistingFalse_LeavesStaleTemplateUntouched()

    Declaration
    public void RetrofitTheme_RegenerateExistingFalse_LeavesStaleTemplateUntouched()

    RetrofitTheme_RegenerateExistingTrue_RebuildsAtSamePathWithFreshPreviewRows()

    Declaration
    public void RetrofitTheme_RegenerateExistingTrue_RebuildsAtSamePathWithFreshPreviewRows()

    RetrofitTheme_RowTemplateIsInactiveSoItIsNeverDrawnAsARow()

    Declaration
    public void RetrofitTheme_RowTemplateIsInactiveSoItIsNeverDrawnAsARow()

    RetrofitTheme_SecondRunIsIdempotent()

    Declaration
    public void RetrofitTheme_SecondRunIsIdempotent()

    RetrofitTheme_ThemeMissingItsLabelPrefab_FailsLoudly()

    Declaration
    public void RetrofitTheme_ThemeMissingItsLabelPrefab_FailsLoudly()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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