Class AchievementSyncPlannerTests
Tests for AchievementSyncPlanner: field-by-field diffing, one-sided records, identity conflicts, unsupported fields and locales, icon comparison, deterministic ordering, and the plan's summary counts.
Inherited Members
Namespace: Serenity.Achievements.Tests.Sync
Assembly: Tests.dll
Syntax
public class AchievementSyncPlannerTests
Constructors
AchievementSyncPlannerTests()
Declaration
public AchievementSyncPlannerTests()
Methods
Plan_ApiNameDuplicatedLocallyButSinglePlatformRecord_ProducesOnlyTheConflictItem()
Declaration
public void Plan_ApiNameDuplicatedLocallyButSinglePlatformRecord_ProducesOnlyTheConflictItem()
Plan_ApiNameDuplicatedOnPlatformButSingleAuthoredRecord_ProducesOnlyTheConflictItem()
Declaration
public void Plan_ApiNameDuplicatedOnPlatformButSingleAuthoredRecord_ProducesOnlyTheConflictItem()
Plan_BlankApiNameAuthoredRecord_ProducesConflictItem()
Declaration
public void Plan_BlankApiNameAuthoredRecord_ProducesConflictItem()
Plan_DuplicateApiNameAmongAuthoredRecords_ProducesConflictNamingBothLocalIds()
Declaration
public void Plan_DuplicateApiNameAmongAuthoredRecords_ProducesConflictNamingBothLocalIds()
Plan_DuplicateApiNameOnPlatform_ProducesConflictNamingTheRowCount()
Declaration
public void Plan_DuplicateApiNameOnPlatform_ProducesConflictNamingTheRowCount()
Plan_DuplicateLocalIdsShuffled_ProducesTheSameConflictReasonRegardlessOfInputOrder()
Declaration
public void Plan_DuplicateLocalIdsShuffled_ProducesTheSameConflictReasonRegardlessOfInputOrder()
Plan_FieldChangesWithinAnItem_AreOrderedByKindThenLocale()
Declaration
public void Plan_FieldChangesWithinAnItem_AreOrderedByKindThenLocale()
Plan_FullMatchNoDifferences_EveryFieldIsUnchanged()
Declaration
public void Plan_FullMatchNoDifferences_EveryFieldIsUnchanged()
Plan_IconFieldNotSupportedForPush_ProducesNoIconFieldChange()
Declaration
public void Plan_IconFieldNotSupportedForPush_ProducesNoIconFieldChange()
Plan_IconHashesDiffer_MarksUpdate()
Declaration
public void Plan_IconHashesDiffer_MarksUpdate()
Plan_IconHashesEqual_MarksUnchanged()
Declaration
public void Plan_IconHashesEqual_MarksUnchanged()
Plan_LocalHasIconPlatformHasNone_MarksAdd()
Declaration
public void Plan_LocalHasIconPlatformHasNone_MarksAdd()
Plan_LocalHasLocaleMissingOnPlatform_AddsThatLocale()
Declaration
public void Plan_LocalHasLocaleMissingOnPlatform_AddsThatLocale()
Plan_LocalIconHashEmpty_SkipsAsUnchanged()
Declaration
public void Plan_LocalIconHashEmpty_SkipsAsUnchanged()
Plan_LocalOnlyPull_IsInformationalWithNoFieldChangesAndAnExplainedReason()
Declaration
public void Plan_LocalOnlyPull_IsInformationalWithNoFieldChangesAndAnExplainedReason()
Plan_LocalOnlyPushWithCreateSupport_EveryPopulatedFieldIsAdd()
Declaration
public void Plan_LocalOnlyPushWithCreateSupport_EveryPopulatedFieldIsAdd()
Plan_LocalOnlyPushWithoutCreateSupport_IsInformationalWithNoFieldChangesAndAnExplainedReason()
Declaration
public void Plan_LocalOnlyPushWithoutCreateSupport_IsInformationalWithNoFieldChangesAndAnExplainedReason()
Plan_LocaleNotInSupportedList_MarksThatLocaleUnsupported()
Declaration
public void Plan_LocaleNotInSupportedList_MarksThatLocaleUnsupported()
Plan_MatchedRecordsTwoLocalesOneDiffers_ProducesOneUpdateAndOneUnchanged()
Declaration
public void Plan_MatchedRecordsTwoLocalesOneDiffers_ProducesOneUpdateAndOneUnchanged()
Plan_MixOfChangeKinds_CountsMatchAndBlockingConflictsIsTrue()
Declaration
public void Plan_MixOfChangeKinds_CountsMatchAndBlockingConflictsIsTrue()
Plan_NoConflictedItems_HasBlockingConflictsIsFalse()
Declaration
public void Plan_NoConflictedItems_HasBlockingConflictsIsFalse()
Plan_NullAuthoredAndNullPlatform_ProducesAnEmptyPlan()
Declaration
public void Plan_NullAuthoredAndNullPlatform_ProducesAnEmptyPlan()
Plan_NullCapabilities_ThrowsArgumentNullException()
Declaration
public void Plan_NullCapabilities_ThrowsArgumentNullException()
Plan_PlatformOnlyPull_EveryPopulatedFieldIsAdd()
Declaration
public void Plan_PlatformOnlyPull_EveryPopulatedFieldIsAdd()
Plan_PlatformOnlyPush_IsInformationalWithNoFieldChangesAndAnExplainedReason()
Declaration
public void Plan_PlatformOnlyPush_IsInformationalWithNoFieldChangesAndAnExplainedReason()
Plan_PullDirection_NeverProducesIconFieldChanges()
Declaration
public void Plan_PullDirection_NeverProducesIconFieldChanges()
Plan_ShuffledInputsAndLocaleCodes_ProducesDeterministicOrder()
Declaration
public void Plan_ShuffledInputsAndLocaleCodes_ProducesDeterministicOrder()
Plan_UnsupportedFieldWithDifferingValues_MarkedUnsupportedNotDropped()
Declaration
public void Plan_UnsupportedFieldWithDifferingValues_MarkedUnsupportedNotDropped()
Plan_UnsupportedFieldWithEqualValues_MarkedUnchanged()
Declaration
public void Plan_UnsupportedFieldWithEqualValues_MarkedUnchanged()