Package util
Class HistoryListTest
- java.lang.Object
-
- util.HistoryListTest
-
public class HistoryListTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HistoryListTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtest_AddHistory_AddNull_AddHistory_DoesntAddSameItemTwice_NullAllowed()voidtest_AddHistory_AddNull_AddHistory_DoesntAddSameItemTwice_NullNotAllowed()voidtestAddingDuringCallbackDoesNothing()voidtestAddingNewItem_AtBeginningOfStack()voidtestAddingNewItem_AtMiddleOfStack()voidtestBasicNavigation()voidtestGetPreviousAndNextHistoryItems()voidtestNavigationMixedWithHistoryAddition()voidtestNull_GetCurrentHistoryItem()voidtestNull_GetNextHistoryItems()voidtestNull_GetPreviousHistoryItems()voidtestNull_GoBack()voidtestNull_GoBack_GoForward()voidtestNull_NullAllowed()voidtestNull_NullNotAllowed()voidtestNull_WhenEmpty()voidtestRepeatedAdds_AllowDuplicates_ItemGetsAdded()voidtestRepeatedAdds_DoesntAddSameItemTwice()voidtestRepeatedAdds_DontAllowDuplicates_IndexGetsChanged()voidtestRepeatedAdds_WhenInMiddleOfHistory_NoChanges()
-
-
-
Method Detail
-
testBasicNavigation
public void testBasicNavigation()
-
testAddingNewItem_AtBeginningOfStack
public void testAddingNewItem_AtBeginningOfStack()
-
testAddingNewItem_AtMiddleOfStack
public void testAddingNewItem_AtMiddleOfStack()
-
testAddingDuringCallbackDoesNothing
public void testAddingDuringCallbackDoesNothing()
-
testNavigationMixedWithHistoryAddition
public void testNavigationMixedWithHistoryAddition()
-
testNull_NullNotAllowed
public void testNull_NullNotAllowed()
-
testNull_NullAllowed
public void testNull_NullAllowed()
-
testNull_WhenEmpty
public void testNull_WhenEmpty()
-
testNull_GoBack
public void testNull_GoBack()
-
testNull_GoBack_GoForward
public void testNull_GoBack_GoForward()
-
testNull_GetCurrentHistoryItem
public void testNull_GetCurrentHistoryItem()
-
testNull_GetPreviousHistoryItems
public void testNull_GetPreviousHistoryItems()
-
testNull_GetNextHistoryItems
public void testNull_GetNextHistoryItems()
-
testRepeatedAdds_DoesntAddSameItemTwice
public void testRepeatedAdds_DoesntAddSameItemTwice()
-
testRepeatedAdds_DontAllowDuplicates_IndexGetsChanged
public void testRepeatedAdds_DontAllowDuplicates_IndexGetsChanged()
-
testRepeatedAdds_AllowDuplicates_ItemGetsAdded
public void testRepeatedAdds_AllowDuplicates_ItemGetsAdded()
-
testRepeatedAdds_WhenInMiddleOfHistory_NoChanges
public void testRepeatedAdds_WhenInMiddleOfHistory_NoChanges()
-
test_AddHistory_AddNull_AddHistory_DoesntAddSameItemTwice_NullNotAllowed
public void test_AddHistory_AddNull_AddHistory_DoesntAddSameItemTwice_NullNotAllowed()
-
test_AddHistory_AddNull_AddHistory_DoesntAddSameItemTwice_NullAllowed
public void test_AddHistory_AddNull_AddHistory_DoesntAddSameItemTwice_NullAllowed()
-
testGetPreviousAndNextHistoryItems
public void testGetPreviousAndNextHistoryItems()
-
-