logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AddressablesPathLabelRulesTests

    A module label comes from the module's own location — its media folder, its script folder, its shipped boot task or one of the shipped layout paths — never from a word that happens to appear elsewhere in a path. Only the asset-type words stay word-anywhere, because they say what an asset is.

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

    Constructors

    AddressablesPathLabelRulesTests()

    Declaration
    public AddressablesPathLabelRulesTests()

    Methods

    DecideLabels_AssetInAModuleFolder_CarriesThatModulesLabel(string, string)

    Declaration
    public void DecideLabels_AssetInAModuleFolder_CarriesThatModulesLabel(string word, string moduleLabel)
    Parameters
    Type Name Description
    string word
    string moduleLabel

    DecideLabels_AssetInAModuleScriptFolder_CarriesThatModulesLabel()

    Declaration
    public void DecideLabels_AssetInAModuleScriptFolder_CarriesThatModulesLabel()

    DecideLabels_AssetTypeWordAnywhere_StillCarriesItsTypeLabel(string, string)

    Declaration
    public void DecideLabels_AssetTypeWordAnywhere_StillCarriesItsTypeLabel(string assetPath, string typeLabel)
    Parameters
    Type Name Description
    string assetPath
    string typeLabel

    DecideLabels_CustomerAssetNamedWithAModuleWord_CarriesNoModuleLabelFromTheWord(string, string)

    Declaration
    public void DecideLabels_CustomerAssetNamedWithAModuleWord_CarriesNoModuleLabelFromTheWord(string word, string moduleLabel)
    Parameters
    Type Name Description
    string word
    string moduleLabel

    DecideLabels_FolderMerelyContainingAGeneratedOutputName_CarriesNoGeneratedLabel()

    Declaration
    public void DecideLabels_FolderMerelyContainingAGeneratedOutputName_CarriesNoGeneratedLabel()

    DecideLabels_GeneratedOutputFolderAnywhere_CarriesItsLabel(string, string)

    Declaration
    public void DecideLabels_GeneratedOutputFolderAnywhere_CarriesItsLabel(string assetPath, string moduleLabel)
    Parameters
    Type Name Description
    string assetPath
    string moduleLabel

    DecideLabels_ModalFolderOutsideAThemesComponents_CarriesNoModalLabel()

    Declaration
    public void DecideLabels_ModalFolderOutsideAThemesComponents_CarriesNoModalLabel()

    DecideLabels_ProjectInstallTaskOutsideTheShippedTaskFolder_CarriesNoModuleLabelFromItsName()

    Declaration
    public void DecideLabels_ProjectInstallTaskOutsideTheShippedTaskFolder_CarriesNoModuleLabelFromItsName()

    DecideLabels_ProjectThemeComponent_RoutesLikeAShippedTheme()

    Declaration
    public void DecideLabels_ProjectThemeComponent_RoutesLikeAShippedTheme()

    DecideLabels_ShippedInstallGameUiTask_CarriesGameUiAndGlobalButNotUi()

    Declaration
    public void DecideLabels_ShippedInstallGameUiTask_CarriesGameUiAndGlobalButNotUi()

    DecideLabels_ShippedInstallTaskNamedAfterItsModule_CarriesThatModulesLabel(string, string)

    Declaration
    public void DecideLabels_ShippedInstallTaskNamedAfterItsModule_CarriesThatModulesLabel(string taskFileName, string moduleLabel)
    Parameters
    Type Name Description
    string taskFileName
    string moduleLabel

    DecideLabels_ShippedLayoutAsset_CarriesItsModuleLabel(string, string)

    Declaration
    public void DecideLabels_ShippedLayoutAsset_CarriesItsModuleLabel(string assetPath, string moduleLabel)
    Parameters
    Type Name Description
    string assetPath
    string moduleLabel

    DuplicatedWords_WordsDifferingOnlyByCase_AreReported()

    Declaration
    public void DuplicatedWords_WordsDifferingOnlyByCase_AreReported()

    FolderLabelRules_DeclaresThePinnedPairs()

    Declaration
    public void FolderLabelRules_DeclaresThePinnedPairs()

    FolderLabelRules_EveryFolderWord_IsUnique()

    Declaration
    public void FolderLabelRules_EveryFolderWord_IsUnique()

    FolderLabelRules_EveryLabelOtherThanGameUi_OwnsExactlyOneFolderWord()

    Declaration
    public void FolderLabelRules_EveryLabelOtherThanGameUi_OwnsExactlyOneFolderWord()

    FolderLabelRules_GameUiFirstFolder_IsStillGeneratedHuds()

    Declaration
    public void FolderLabelRules_GameUiFirstFolder_IsStillGeneratedHuds()

    ModuleFolderWords_NoWordIsTheStartOfAnother()

    Collisions with shipped task names are not caught here: the forward pin in ShippedInstallTaskModuleLabelTests does that, because it reads the real task assets.

    Declaration
    public void ModuleFolderWords_NoWordIsTheStartOfAnother()

    ModuleWordCases()

    Declaration
    public static IEnumerable<TestCaseData> ModuleWordCases()
    Returns
    Type Description
    IEnumerable<TestCaseData>

    ResolvePrimaryOwnerLabel_EveryModuleFolderWord_StillNamesItsModule()

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