Class AchievementRowSorterTests
Unit tests for AchievementRowSorter: every filter slice, every ordering mode, and the two rules that cut across them — concealed rows last, and stable order for rows a mode cannot tell apart.
Inherited Members
Namespace: Serenity.Achievements.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class AchievementRowSorterTests
Constructors
AchievementRowSorterTests()
Declaration
public AchievementRowSorterTests()
Methods
Apply_ConcealedRows_SortLastWhateverTheMode()
Declaration
public void Apply_ConcealedRows_SortLastWhateverTheMode()
Apply_DoesNotMutateTheSourceList()
Declaration
public void Apply_DoesNotMutateTheSourceList()
Apply_FilterAll_KeepsEveryRow()
Declaration
public void Apply_FilterAll_KeepsEveryRow()
Apply_FilterLocked_KeepsOnlyUnearnedRowsIncludingConcealedOnes()
Declaration
public void Apply_FilterLocked_KeepsOnlyUnearnedRowsIncludingConcealedOnes()
Apply_FilterUnlocked_KeepsOnlyEarnedRows()
Declaration
public void Apply_FilterUnlocked_KeepsOnlyEarnedRows()
Apply_NullEntries_AreDropped()
Declaration
public void Apply_NullEntries_AreDropped()
Apply_NullRows_ReturnsEmpty()
Declaration
public void Apply_NullRows_ReturnsEmpty()
Apply_SortByDisplayOrder_OrdersByTheAuthoredHint()
Declaration
public void Apply_SortByDisplayOrder_OrdersByTheAuthoredHint()
Apply_SortByName_IsAlphabeticalAndCaseInsensitive()
Declaration
public void Apply_SortByName_IsAlphabeticalAndCaseInsensitive()
Apply_SortByPoints_PutsTheMostValuableFirst()
Declaration
public void Apply_SortByPoints_PutsTheMostValuableFirst()
Apply_SortByUnlockDate_OrdersTheLockedTailByDisplayOrder()
Declaration
public void Apply_SortByUnlockDate_OrdersTheLockedTailByDisplayOrder()
Apply_SortByUnlockDate_PutsTheMostRecentUnlockFirstAndLockedRowsAfterThem()
Declaration
public void Apply_SortByUnlockDate_PutsTheMostRecentUnlockFirstAndLockedRowsAfterThem()
Apply_SortByUnlockDate_SameInstantAndSameDisplayOrder_KeepsTheGivenOrder()
Declaration
public void Apply_SortByUnlockDate_SameInstantAndSameDisplayOrder_KeepsTheGivenOrder()
Apply_SortByUnlockDate_TwoUnlocksAtTheSameInstant_AreOrderedByDisplayOrder()
Declaration
public void Apply_SortByUnlockDate_TwoUnlocksAtTheSameInstant_AreOrderedByDisplayOrder()
Apply_TiedRows_KeepTheOrderTheyWereHandedOverIn()
Declaration
public void Apply_TiedRows_KeepTheOrderTheyWereHandedOverIn()