public class ImmutableAppendedListTest extends Object
| Constructor and Description |
|---|
ImmutableAppendedListTest() |
public ImmutableAppendedListTest()
public void beforeEach()
public void shouldNotAllowCreatingWithNullParentList()
public void shouldAllowCreatingWithEmptyParentList()
public void shouldAllowCreatingAppendedListWithNullForFinalElement()
public void shouldHaveSizeOfParentPlusOne()
public void shouldConvertToArrayContainingAllValues()
public void shouldConvertToSuppliedArrayContainingAllValues()
public void shouldConvertToTooSmallSuppliedArrayContainingAllValues()
public void shouldIterateOverAllValues()
public void shouldIterateOverAllValuesUsingListIterator()
public void shouldIterateBackwardsOverAllValuesUsingListIterator()
public void shouldNotAllowAddingAnElement()
public void shouldNotAllowAddingAnElementByIndex()
public void shouldNotAllowAddingACollection()
public void shouldNotAllowAddingACollectionWithIndex()
public void shouldNotAllowRemovingAnElement()
public void shouldNotAllowRemovingAnElementByIndex()
public void shouldNotAllowRemovingAllElementsInACollection()
public void shouldNotAllowRetainingAllElementsInACollection()
public void shouldNotAllowSettingElementByIndex()
public void shouldNotAllowClearingList()
public void shouldReturnSameHashCodeMultipleTimes()
public void shouldReturnSameHashCodeAsEquivalentArrayList()
public void shouldBeEqualToEquivalentArrayList()
public void shouldHaveToStringThatIsTheSameAsEquivalentArrayList()
public void shouldFindLastIndexOfEachValue()
public void shouldNotFindLastIndexOfValuesThatAreNotInList()
public void shouldFindIndexOfEachValue()
public void shouldNotFindIndexOfValuesThatAreNotInList()
public void shouldGetValuesByIndex()
public void shouldContainEachValue()
public void shouldNotContainValuesThatAreNotInList()
public void shouldContainAllValuesInDuplicateCollection()
public void shouldNeverBeEmpty()
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.