Class SerenityRecipeAchievementImportTests
Covers the achievements section end to end: UnityAchievementDefinition creation with
its authored fields, the polymorphic Condition tree applied through
RecipeSerializedPropertyCodec, idempotent re-import, the generateTrigger companion
UnityEventDispatcherSignalDefinition wired to UnlockAchievementSignal, and
Addressables registration under the achievements module label. Follows
SerenityRecipeFeedbackImportTests, the other typed section with a no-code trigger.
Inherited Members
Namespace: Serenity.ProjectRecipe.Tests.Editor
Assembly: Serenity.ProjectRecipe.Tests.Editor.dll
Syntax
public class SerenityRecipeAchievementImportTests
Constructors
SerenityRecipeAchievementImportTests()
Declaration
public SerenityRecipeAchievementImportTests()
Methods
AchievementImport_AppliesANestedCompositeConditionTree()
Declaration
public void AchievementImport_AppliesANestedCompositeConditionTree()
AchievementImport_AppliesTheAuthoredConditionLeaf()
Declaration
public void AchievementImport_AppliesTheAuthoredConditionLeaf()
AchievementImport_ConditionWithAnEmptyManagedText_ClearsTheTree()
Declaration
public void AchievementImport_ConditionWithAnEmptyManagedText_ClearsTheTree()
AchievementImport_CreatesDefinition_WithEveryAuthoredField()
Declaration
public void AchievementImport_CreatesDefinition_WithEveryAuthoredField()
AchievementImport_FirstImportWithATrigger_UpdatesNothing()
Declaration
public void AchievementImport_FirstImportWithATrigger_UpdatesNothing()
AchievementImport_ReImport_UpdatesInPlace_KeepingTheGuid()
Declaration
public void AchievementImport_ReImport_UpdatesInPlace_KeepingTheGuid()
AchievementImport_RenamingTheId_RestampsTheTrigger()
Declaration
public void AchievementImport_RenamingTheId_RestampsTheTrigger()
AchievementImport_ReplacingACompositeTree_ReshapesTheExistingTree()
Declaration
public void AchievementImport_ReplacingACompositeTree_ReshapesTheExistingTree()
AchievementImport_WithAFolderAndNoOutput_LandsAtFolderSlashId()
Declaration
public void AchievementImport_WithAFolderAndNoOutput_LandsAtFolderSlashId()
AchievementImport_WithAnIconPath_AssignsTheSprite()
Declaration
public void AchievementImport_WithAnIconPath_AssignsTheSprite()
AchievementImport_WithGenerateTrigger_ReImport_KeepsExactlyOneTrigger()
Declaration
public void AchievementImport_WithGenerateTrigger_ReImport_KeepsExactlyOneTrigger()
AchievementImport_WithGenerateTrigger_WiresTheUnlockSignalForThisId()
Declaration
public void AchievementImport_WithGenerateTrigger_WiresTheUnlockSignalForThisId()
AchievementImport_WithRegistrationOn_RegistersBothAssetsUnderTheAchievementsLabel()
Declaration
public void AchievementImport_WithRegistrationOn_RegistersBothAssetsUnderTheAchievementsLabel()
AchievementImport_WithoutACondition_LeavesTheExistingTreeAlone()
Declaration
public void AchievementImport_WithoutACondition_LeavesTheExistingTreeAlone()
AchievementImport_WrongTypeAtTheOutputPath_CreatesNoTrigger()
Declaration
public void AchievementImport_WrongTypeAtTheOutputPath_CreatesNoTrigger()
OneTimeSetUp()
Declaration
public void OneTimeSetUp()
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()