Class UnityAddressablesLabelerRetagNormalizationTests
EditMode tests for the label-normalization contract Serenity.Global.Infrastructure.Editor.Utils.UnityAddressablesLabeler.RetagAssets(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})
applies through its AddressablesManagedLabelNormalizer collaborator: module labels are
additive-only (a re-evaluation at a new path never strips one an earlier call set), the ownership
label (PROJECT_OWNED) is the sole authoritative exception — added or
removed to match the asset's current path — and a label outside the managed set is never touched
either way. Every fixture is a real asset on disk; the labeler reads real
AddressableAssetSettings, so nothing here can be faked in-memory.
Inherited Members
Namespace: Serenity.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class UnityAddressablesLabelerRetagNormalizationTests
Constructors
UnityAddressablesLabelerRetagNormalizationTests()
Declaration
public UnityAddressablesLabelerRetagNormalizationTests()
Methods
OneTimeSetUp()
Declaration
public static void OneTimeSetUp()
OneTimeTearDown()
Declaration
public static void OneTimeTearDown()
RetagAssets_ACustomNonManagedLabel_SurvivesNormalization()
Declaration
public void RetagAssets_ACustomNonManagedLabel_SurvivesNormalization()
RetagAssets_AssetInAGeneratedViewsFolder_KeepsTheCompositeViewLabel()
Declaration
public void RetagAssets_AssetInAGeneratedViewsFolder_KeepsTheCompositeViewLabel()
RetagAssets_AssetMovedIntoAPackageRoot_RemovesTheOwnershipLabel()
Declaration
public void RetagAssets_AssetMovedIntoAPackageRoot_RemovesTheOwnershipLabel()
RetagAssets_ModuleLabelFromAnEarlierCall_SurvivesAReEvaluationThatNoLongerMatchesTheRule()
Declaration
public void RetagAssets_ModuleLabelFromAnEarlierCall_SurvivesAReEvaluationThatNoLongerMatchesTheRule()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()