logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncKeyCollisionApplyTests

    EditMode tests for two achievements that would file their text under the same localization key: neither is created or moved into the string table, a preview says what the apply does, and a creation never points at text it did not write.

    Inheritance
    object
    AchievementSyncAssetTestBase
    AchievementSyncKeyCollisionApplyTests
    Inherited Members
    AchievementSyncAssetTestBase.SetUp()
    AchievementSyncAssetTestBase.TearDown()
    AchievementSyncAssetTestBase.OneTimeTearDown()
    AchievementSyncAssetTestBase.AuthorAchievement(string, string)
    AchievementSyncAssetTestBase.SaveDefinition(UnityAchievementDefinition)
    AchievementSyncAssetTestBase.CreateFolderRecursively(string)
    AchievementSyncAssetTestBase.CreateFolderThenRemoveItFromDisk(string)
    AchievementSyncAssetTestBase.RepairTheAssetDatabaseCacheBeforeTeardown()
    AchievementSyncAssetTestBase.Track(string)
    AchievementSyncAssetTestBase.CountAddressableEntries()
    AchievementSyncAssetTestBase.TempFolder
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAchievements.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class AchievementSyncKeyCollisionApplyTests : AchievementSyncAssetTestBase

    Constructors

    AchievementSyncKeyCollisionApplyTests()

    Declaration
    public AchievementSyncKeyCollisionApplyTests()

    Methods

    Apply_NewRowWhoseAuthoringKeyHoldsDifferentTextAndTheAuthorReplacesIt_IsCreatedWithItsOwnText()

    Declaration
    public void Apply_NewRowWhoseAuthoringKeyHoldsDifferentTextAndTheAuthorReplacesIt_IsCreatedWithItsOwnText()

    Apply_NewRowWhoseAuthoringKeyHoldsDifferentText_IsNotCreatedAndFilesNothing()

    Declaration
    public void Apply_NewRowWhoseAuthoringKeyHoldsDifferentText_IsNotCreatedAndFilesNothing()

    Apply_NewRowWhoseIdSharesAKeyWithAnExistingDefinition_IsNotCreated()

    Declaration
    public void Apply_NewRowWhoseIdSharesAKeyWithAnExistingDefinition_IsNotCreated()

    Apply_NewRowWhoseKeyIsTheOneAnExistingTranslatingDefinitionReallyUses_IsNotCreated()

    Declaration
    public void Apply_NewRowWhoseKeyIsTheOneAnExistingTranslatingDefinitionReallyUses_IsNotCreated()

    Apply_TwoLiteralAchievementsWhoseKeysCoincide_AdoptNeitherAndKeepTheirText()

    Declaration
    public void Apply_TwoLiteralAchievementsWhoseKeysCoincide_AdoptNeitherAndKeepTheirText()

    Apply_TwoNewRowsWhoseIdsDifferInTheirKeys_AreBothCreated()

    Declaration
    public void Apply_TwoNewRowsWhoseIdsDifferInTheirKeys_AreBothCreated()

    Apply_TwoNewRowsWhoseIdsShareAKeyWithTheReplaceChoiceTicked_StillDestroyNothing()

    Declaration
    public void Apply_TwoNewRowsWhoseIdsShareAKeyWithTheReplaceChoiceTicked_StillDestroyNothing()

    Apply_TwoNewRowsWhoseIdsShareAKey_CreateNeitherAndNameBothIdsAndTheKey()

    Declaration
    public void Apply_TwoNewRowsWhoseIdsShareAKey_CreateNeitherAndNameBothIdsAndTheKey()

    Apply_TwoNewRowsWhoseIdsShareAKey_PreviewAndApplyReportTheSame()

    Declaration
    public void Apply_TwoNewRowsWhoseIdsShareAKey_PreviewAndApplyReportTheSame()

    ExistingAchievementsOf_ATranslatingDefinition_CarriesTheKeysItReallyUsesAndALiteralOneNone()

    Declaration
    public void ExistingAchievementsOf_ATranslatingDefinition_CarriesTheKeysItReallyUsesAndALiteralOneNone()

    Write_TheSameEntryTwiceInOnePreview_ReportsWhatTheApplyWillReport()

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