Class AchievementSyncLocaleCreatorTests
EditMode tests for Serenity.Achievements.Infrastructure.Editor.Sync.AchievementSyncLocaleCreator: adding a language the storefront has to the project — the locale first, then the collection's table for it — and what it reports when a step cannot be done. The real Localization round trip is tested in the Localization test assembly.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AchievementSyncLocaleCreatorTests
Constructors
AchievementSyncLocaleCreatorTests()
Declaration
public AchievementSyncLocaleCreatorTests()
Methods
Apply_ALanguageAddedWithoutATable_IsAWarningInTheReportNotOnlyInTheLog()
Declaration
public void Apply_ALanguageAddedWithoutATable_IsAWarningInTheReportNotOnlyInTheLog()
Create_AMissingLocale_CreatesTheLocaleInTheProjectFolderThenTheTable()
Declaration
public void Create_AMissingLocale_CreatesTheLocaleInTheProjectFolderThenTheTable()
Create_ASuccessfulAddition_ListsTheAssetsItCreatedForTheCallerToSave()
Declaration
public void Create_ASuccessfulAddition_ListsTheAssetsItCreatedForTheCallerToSave()
Create_NeitherTheLocaleNorAnAliasExists_CreatesTheStorefrontsLocale()
Declaration
public void Create_NeitherTheLocaleNorAnAliasExists_CreatesTheStorefrontsLocale()
Create_TheCollectionCannotTakeATable_CreatesNoLocaleAtAll()
Declaration
public void Create_TheCollectionCannotTakeATable_CreatesNoLocaleAtAll()
Create_TheLocaleCannotBeCreated_StopsBeforeTouchingTheCollection()
Declaration
public void Create_TheLocaleCannotBeCreated_StopsBeforeTouchingTheCollection()
Create_TheProjectAlreadyHasTheLocale_OnlyAddsTheTableAndSaysSo()
Declaration
public void Create_TheProjectAlreadyHasTheLocale_OnlyAddsTheTableAndSaysSo()
Create_TheProjectHasTheLocaleUnderAnAliasAndTheCollectionRefuses_TouchesNothing()
Declaration
public void Create_TheProjectHasTheLocaleUnderAnAliasAndTheCollectionRefuses_TouchesNothing()
Create_TheProjectHasTheLocaleUnderAnAlias_AddsOnlyATableUnderThatLocaleAndMakesNoSecondLocale()
Declaration
public void Create_TheProjectHasTheLocaleUnderAnAlias_AddsOnlyATableUnderThatLocaleAndMakesNoSecondLocale()
Create_TheTableCannotBeAdded_ReportsThatTheLocaleWasCreatedAnyway()
Declaration
public void Create_TheTableCannotBeAdded_ReportsThatTheLocaleWasCreatedAnyway()
Flow_AddingALanguageInsideARun_KeepsWhatTheAuthorAlreadyAccepted()
Declaration
public void Flow_AddingALanguageInsideARun_KeepsWhatTheAuthorAlreadyAccepted()
Flow_TheCollectionRefusesBeforeAnythingIsCreated_RemembersNothing()
Declaration
public void Flow_TheCollectionRefusesBeforeAnythingIsCreated_RemembersNothing()
Flow_TheProjectHasTheLocaleUnderAnAlias_TicksThatLocaleAndRecordsATableOnlyDescription()
Declaration
public void Flow_TheProjectHasTheLocaleUnderAnAlias_TicksThatLocaleAndRecordsATableOnlyDescription()
Flow_TheTableStepFailsAfterTheLocaleWasCreated_RemembersItForTheApplyReport()
Declaration
public void Flow_TheTableStepFailsAfterTheLocaleWasCreated_RemembersItForTheApplyReport()
ForgetEarlierCalls()
Declaration
public void ForgetEarlierCalls()
Wording_AnAliasLocaleExists_TheButtonTheBoxAndTheNoticeSayOnlyATableIsAdded()
Declaration
public void Wording_AnAliasLocaleExists_TheButtonTheBoxAndTheNoticeSayOnlyATableIsAdded()
Wording_NoLocaleExists_TheButtonStillOffersToAddTheLanguage()
Declaration
public void Wording_NoLocaleExists_TheButtonStillOffersToAddTheLanguage()