Class LeaderboardRowContentMapperTests
EditMode tests for LeaderboardRowContentMapper. Pure mapping logic, so every case runs without an editor/player context.
Inherited Members
Namespace: Serenity.Leaderboard.Tests.Editor
Assembly: Serenity.Leaderboard.Tests.Editor.dll
Syntax
public class LeaderboardRowContentMapperTests
Constructors
LeaderboardRowContentMapperTests()
Declaration
public LeaderboardRowContentMapperTests()
Methods
MapSingle_AchievedAtColumn_FormatsUtcTicksInInvariantCulture()
Declaration
public void MapSingle_AchievedAtColumn_FormatsUtcTicksInInvariantCulture()
MapSingle_AchievedAtColumn_ZeroTicks_RendersEmpty()
Declaration
public void MapSingle_AchievedAtColumn_ZeroTicks_RendersEmpty()
MapSingle_ColumnWithBothAffixes_WrapsTheValue()
Declaration
public void MapSingle_ColumnWithBothAffixes_WrapsTheValue()
MapSingle_ColumnWithPrefix_PrependsIt()
Declaration
public void MapSingle_ColumnWithPrefix_PrependsIt()
MapSingle_ColumnWithSuffix_AppendsIt()
Declaration
public void MapSingle_ColumnWithSuffix_AppendsIt()
MapSingle_LegacyLayout_FormatsRankDisplayNameAndValue()
Declaration
public void MapSingle_LegacyLayout_FormatsRankDisplayNameAndValue()
MapSingle_MetadataColumn_NonNullMetadata_RendersItVerbatim()
Declaration
public void MapSingle_MetadataColumn_NonNullMetadata_RendersItVerbatim()
MapSingle_MetadataColumn_NullMetadata_RendersEmpty()
Declaration
public void MapSingle_MetadataColumn_NullMetadata_RendersEmpty()
MapSingle_NonTranslatingPrefix_NeverCallsTheTranslator()
Declaration
public void MapSingle_NonTranslatingPrefix_NeverCallsTheTranslator()
MapSingle_RankColumn_NoAffixes_RendersTheBareNumber()
Declaration
public void MapSingle_RankColumn_NoAffixes_RendersTheBareNumber()
MapSingle_TranslatingPrefix_NoTranslatorSupplied_ShowsTheRawKey()
Declaration
public void MapSingle_TranslatingPrefix_NoTranslatorSupplied_ShowsTheRawKey()
MapSingle_TranslatingPrefix_TranslatorHit_UsesTheTranslatedText()
Declaration
public void MapSingle_TranslatingPrefix_TranslatorHit_UsesTheTranslatedText()
MapSingle_TranslatingPrefix_TranslatorMiss_FallsBackToTheRawKey()
Declaration
public void MapSingle_TranslatingPrefix_TranslatorMiss_FallsBackToTheRawKey()
MapSingle_WithAResolvedSpec_HonoursPrecisionBeyondThePresets()
Declaration
public void MapSingle_WithAResolvedSpec_HonoursPrecisionBeyondThePresets()
MapSingle_WithColumnLayout_OneCellPerVisibleColumnInOrder()
Declaration
public void MapSingle_WithColumnLayout_OneCellPerVisibleColumnInOrder()
Map_EmptyEntries_ReturnsEmpty()
Declaration
public void Map_EmptyEntries_ReturnsEmpty()
Map_LegacyLayout_PreservesOrderAndAppliesFormatToEveryEntry()
Declaration
public void Map_LegacyLayout_PreservesOrderAndAppliesFormatToEveryEntry()
Map_NullEntries_ReturnsEmpty()
Declaration
public void Map_NullEntries_ReturnsEmpty()
Map_WithAResolvedSpec_AppliesItToEveryRow()
Declaration
public void Map_WithAResolvedSpec_AppliesItToEveryRow()