Class AchievementRowContentMapperTests
Unit tests for AchievementRowContentMapper: what a player is shown for a locked, an unlocked and a still-concealed achievement, and how progress, points and unlock dates are rendered.
Inherited Members
Namespace: Serenity.Achievements.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class AchievementRowContentMapperTests
Constructors
AchievementRowContentMapperTests()
Declaration
public AchievementRowContentMapperTests()
Methods
Map_CustomFormats_AreApplied()
Declaration
public void Map_CustomFormats_AreApplied()
Map_CustomHiddenPointsPlaceholder_IsApplied()
Declaration
public void Map_CustomHiddenPointsPlaceholder_IsApplied()
Map_HiddenAchievementUnlocked_RevealsItsPointsAgain()
Declaration
public void Map_HiddenAchievementUnlocked_RevealsItsPointsAgain()
Map_HiddenAndLocked_ReplacesEveryDescribingFieldWithThePlaceholder()
Declaration
public void Map_HiddenAndLocked_ReplacesEveryDescribingFieldWithThePlaceholder()
Map_HiddenAndUnlocked_RevealsTheAchievement()
Declaration
public void Map_HiddenAndUnlocked_RevealsTheAchievement()
Map_LockedBooleanAchievement_ShowsNameAndDescriptionWithNoProgressOrDate()
Declaration
public void Map_LockedBooleanAchievement_ShowsNameAndDescriptionWithNoProgressOrDate()
Map_NullDefinition_ReturnsNull()
Declaration
public void Map_NullDefinition_ReturnsNull()
Map_NullDescription_RendersAsEmptyRatherThanNull()
Declaration
public void Map_NullDescription_RendersAsEmptyRatherThanNull()
Map_NullOptions_UsesTheShippedDefaults()
Declaration
public void Map_NullOptions_UsesTheShippedDefaults()
Map_ProgressOvershootsTheTarget_ClampsToTheTarget()
Declaration
public void Map_ProgressOvershootsTheTarget_ClampsToTheTarget()
Map_ProgressiveAndLocked_RendersCurrentOverTarget()
Declaration
public void Map_ProgressiveAndLocked_RendersCurrentOverTarget()
Map_ProgressiveAndUnlocked_ReadsAsCompleteEvenWhenTheProgressRowLagsBehind()
Declaration
public void Map_ProgressiveAndUnlocked_ReadsAsCompleteEvenWhenTheProgressRowLagsBehind()
Map_ProgressiveWithNoProgressRow_RendersZeroOverTarget()
Declaration
public void Map_ProgressiveWithNoProgressRow_RendersZeroOverTarget()
Map_TranslatingDefinition_KeepsTheKeysAndFlagsThemForTheView()
Declaration
public void Map_TranslatingDefinition_KeepsTheKeysAndFlagsThemForTheView()
Map_UnlockedRecord_RendersTheDateInTheConfiguredFormatAndCulture()
Declaration
public void Map_UnlockedRecord_RendersTheDateInTheConfiguredFormatAndCulture()
Map_UnlockedWithAScreenshot_CarriesItsKeyForTheThumbnail()
Declaration
public void Map_UnlockedWithAScreenshot_CarriesItsKeyForTheThumbnail()
Map_UnlockedWithNoTimestamp_ShowsNoDateRatherThanTheYearOne()
Declaration
public void Map_UnlockedWithNoTimestamp_ShowsNoDateRatherThanTheYearOne()