- testAddAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that addAll throws with null input
- testAddAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an addAll works with an empty input
- testAddAllWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that addAll with an index works properly
- testAddAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an addAll works with an empty input (non empty initial collection)
- testAddAllWithNonEmptyCollectionAndNonEmptyInputDups() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an addAll works with an non empty input with duplication
- testAddAllWithNonEmptyCollectionAndNonEmptyInputNoDups() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an addAll works with an non empty input
- testAddOneThousandEntries() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tries to test the resizing of the collection
by adding 1000 items
- testAddOneThousandEntries() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tries to test the resizing of the collection
by adding 1000 items
- testAddReturnsProperValueForDuplicateAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that add returns the proper value
- testAddReturnsProperValueForNonDuplicateAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that add returns the proper value
- testAddToBeginningOfNonEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
- testAddWithBadHighIndexThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that add with an bad index (too high) fails
- testAddWithBadLowIndexThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that add with an bad index (-1) fails
- testAddWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that add with an index works
- testAllElementsOfCollectionInConstructedList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that the elements of the original collection are
in the new List in the proper order
- testCanAddToAList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that a single element can be added to the list
- testCanAddToCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that a single element can be added to the list
- testCanAddToMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that a single element can be added to the list
- testCanCollectionHaveNullAndNonNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that lists can have null elements interspersed
with non-null elements
- testCanCollectionHaveNullAndNonNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that lists can have null elements interspersed
with non-null elements
- testCanCollectionHaveNullAndNonNullEntries() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that maps can have null keys and values
interspersed with non-null entries
- testCanCollectionHaveNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that the collection functions properly with
a null element added
- testCanCollectionHaveNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that the list functions properly with
a null element added
- testCanMapHaveNullKeys() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that the map functions properly with
a null key added
- testCanMapHaveNullValues() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that the map functions properly with
a null value added
- testClearOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that clear works on
an empty map
- testClearOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that putAll works with
an non-empty map and an non-empty adding map
- testClearWorksOnEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Makes sure clear works on an already empty collection
- testClearWorksOnNonEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Makes sure clear works on an already empty collection
- TestCollectionElement - Interface in org.glassfish.hk2.testing.collections
-
This is an interface for TestCollectionElements.
- testCollectionFromCollectionConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that a list constructed from the empty collection
constructor has size zero
- testCollectionFromNullConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that a list constructed from the null constructor has
size zero
- testCollectionToArrayWithArgumentWithCollectionOfMultipleItems() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an multi-valued
collection.
- testCollectionToArrayWithArgumentWithCollectionOfOneItem() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an empty collection
- testCollectionToArrayWithArgumentWithEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an empty collection
- testCollectionToArrayWithArgumentWithNullThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an multi-valued
collection.
- testCollectionToArrayWithCollectionOfMultipleItems() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an multi-valued
collection.
- testCollectionToArrayWithCollectionOfMultipleItems() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
In a List the order in the array is guaranteed, so test
that here
- testCollectionToArrayWithCollectionOfOneItem() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an empty collection
- testCollectionToArrayWithEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that toArray works on an empty collection
- testCollectionValue() - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
-
- testCollectionValue() - Method in interface org.glassfish.hk2.testing.collections.TestCollectionElement
-
TestCollectionElements will be created with a single string,
and must return that string with this method
when called.
- testContainsAfterAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that contains works properly
- testContainsAfterPut() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that contains works properly
- testContainsAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an containsAll works with an non empty input for
which the list does not contain at least one of the things
- testContainsAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an empty containsAll works on an empty list
- testContainsAllWithNonEmptyCollectionAndCorrectInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an containsAll works with an non empty input
- testContainsAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an containsAll works with an empty input
- testContainsAllWithNonEmptyCollectionAndIncorrectInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an containsAll works with an non empty input for
which the list does not contain at least one of the things
- testDoubleIteratorRemoveThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that removing an element from an
iterator with a single element works
- testEntrySetOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that entrySet works with
an empty map
- testEntrySetOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that entrySet works with
an non-empty map
- testFallingOffEndOfEmptyIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that calling next off an empty
iterator throws the proper exception
- testFallingOffEndOfNonEmptyIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that the iterator from a non-empty list works
- testIndexOf() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests indexOf functionality
- testIteratorRemoveOnEmptyIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an iterator from a Collection with
more than one element can remove the proper
values.
- testIteratorReturnedFromEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that the iterator from an empty list works
- testKeySetOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that keySet works with
an empty map
- testKeySetOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that keySet works with
an non-empty map
- testLastIndexOf() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests lastIndexOf functionality
- testListColnstructedWithNullCollectionThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that a list constructed from the empty collection
constructor has size zero
- testListIteratorAddAfterNext() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go forward with the ListIterator,
using the index version of listIterator, from
the middle of the list
- testListIteratorAddAfterPrevious() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go forward with the ListIterator,
using the index version of listIterator, from
the middle of the list
- testListIteratorBackwardAndForward() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go backward and forward with the ListIterator,
using the index version of listIterator
- testListIteratorBackwardFromMiddle() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go backward with the ListIterator,
using the index version of listIterator, from
the middle of the list
- testListIteratorForwardAndBack() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go backward and forward with the ListIterator
- testListIteratorForwardFromMiddle() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go forward with the ListIterator,
using the index version of listIterator, from
the middle of the list
- testListIteratorOnEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests a ListIterator on an empty list
- testListIteratorRemoveAfterNext() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests the ListIterators remove operation
- testListIteratorRemoveAfterPrevious() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests the ListIterators remove operation
- testListIteratorSetAfterNext() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go forward with the ListIterator,
using the index version of listIterator, from
the middle of the list
- testListIteratorSetAfterPrevious() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests we can go forward with the ListIterator,
using the index version of listIterator, from
the middle of the list
- testListIteratorSetThrowsIfAfterAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests the ListIterators remove operation
- testListIteratorSetThrowsIfAfterRemove() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests the ListIterators remove operation
- testListIteratorSetThrowsIfNeverMoved() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests the ListIterators remove operation
- testListIteratorThrowsIfNeverMoved() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests the ListIterators remove operation
- testListIteratorWithBadIndexHighThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
- testListIteratorWithBadIndexLowThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
- testMapConstructedWithNullMapThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that a list constructed from the empty collection
constructor has size zero
- testMapFromMapConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that a list constructed from the empty collection
constructor has size zero
- testMapFromNullConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that a list constructed from the null constructor has
size zero
- testModifyingOriginalCollectionDoesNotAffectNewCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that modifying the elements in the original collection
do not affect the elements in the newly created collection
- testModifyingOriginalCollectionDoesNotAffectNewCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
Tests that modifying the elements in the original collection
do not affect the elements in the newly created collection
- testMultipleItemIterator() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an iterator from a Collection with
more than one element returns the proper values.
- testMultipleItemIterator() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that an iterator from a list with
more than one element returns the proper values
in the proper order
- testMultipleItemIteratorRemoval() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an iterator from a Collection with
more than one element can remove the proper
values.
- testPreviousGoneTooFar() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
- testPreviousOnEmptyListThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
- testPutAllEmptyOriginalEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that putAll works with
an empty map and an empty adding map
- testPutAllEmptyOriginalNonEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that putAll works with
an empty map and an non-empty adding map
- testPutAllNonEmptyOriginalEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that putAll works with
an non-empty map and an empty adding map
- testPutAllNonEmptyOriginalNonEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that putAll works with
an non-empty map and an non-empty adding map
- testRemoveAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that removeAll throws an NPE when given null
- testRemoveAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an removaAll works with an empty input
- testRemoveAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an removeAll works with an empty input (non-empty collection)
- testRemoveAllWithNonEmptyCollectionAndNonEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an removeAll works with an non empty input and non
empty set of things to remove
- testRemoveAllWithNonEmptyCollectionAndNonEmptyInputWithExtras() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an removeAll works with an non empty input and non
empty set of things to remove and the set has some extra elements
not in the original set
- testRemoveFirstThingFromMultiElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that remove can remove the
first item added to the collection
- testRemoveFirstThingFromMultiElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that remove can remove the
first item added to the collection
- testRemoveFromEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that remove works properly in an empty list
- testRemoveFromEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that remove works properly in an empty map
- testRemoveFromOneElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that remove returns the proper value
- testRemoveFromOneElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that remove returns the proper value
- testRemoveLastThingFromMultiElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that remove can remove the
last item added to the collection
- testRemoveLastThingFromMultiElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that remove can remove the
first item added to the map
- testRemoveMiddleThingFromMultiElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
This test ensures that remove can remove a
first item added to the collection
- testRemoveMiddleThingFromMultiElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that remove can remove the
first item added to the map
- testRemoveWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that remove with an index works
- testRemoveWithIndexThrowsOnBadIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that add with an index works
- testRetainAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that retainAll throws an NPE when given null
- testRetainAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an retainAll works with an empty input
- testRetainAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an retainAll works with an empty input (non-empty collection)
- testRetainAllWithNonEmptyCollectionAndNonEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an retainAll works with an non empty input and non
empty set of things to retain
- testRetainAllWithNonEmptyCollectionAndNonEmptyInputWithExtras() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an retainAll works with an non empty input and non
empty set of things to remove and the set has some extra elements
not in the original set
- testSecondElementIsPutAtEndOfList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
- testSetWithBadHighIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that set with a bad (high) index works
- testSetWithBadLowIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that set with a bad (-1) index works
- testSetWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests that set with an index works
- testSingleItemIterator() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that an iterator from a list with
one element returns the proper values
- testSingleItemIteratorRemoval() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that removing an element from an
iterator with a single element works
- testSubList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests basic functionality of subList
- testSubListAffectsUnderlyingList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
-
Tests basic functionality of subList
- testUnsupporedRemoveIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that removing an element from an
iterator with a single element works
- testUnsupportedClearThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that if you do NOT support empty that
you throw
- testUnsupportedRetainAllThrowsProperException() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
Tests that retainAll throws an NPE when given null
- testValuesOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that values works with
an empty map
- testValuesOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
This test ensures that values works with
an non-empty map
- THREE - Static variable in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
- THREE_KEY - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
- THREE_VALUE - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
- toString() - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
-
- TWO - Static variable in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
-
- TWO_KEY - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
-
- TWO_VALUE - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
-