|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Bag
methods and contracts.AbstractTestBidiMap.TestInverseBidiMap
methods and contracts.Collection
methods and contracts.IterableMap
methods and contracts.List
methods and contracts.Map
methods and contracts.Object
methods and contracts.OrderedBidiMap
methods and contracts.OrderedMap
methods and contracts.Set
methods and contracts.SortedBag
methods and contracts.SortedBidiMap
methods and contracts.SortedMap
methods and contracts.SortedSet
methods and contracts.AbstractTestMap.getSampleKeys()
and AbstractTestMap.getSampleValues()
.
TestCase
that can define both simple and bulk test methods.BulkTest
instance that will run the
specified simple test.
Map.entrySet()
.
Map.keySet()
.
Map.values()
.
SortedSet.headSet(Object)
.
SortedSet.subSet(Object, Object)
.
SortedSet.tailSet(Object)
.
BulkTest
for testing List#subList(int,int)
.
BulkTest
.
ConcurrentModificationException
.
ConcurrentModificationException
.
AbstractTestCollection.confirmed
field cast to a AbstractTestList.BulkTestSubList
.
AbstractTestCollection.confirmed
fixture, but cast as a Set.
AbstractTestCollection#confirmed
fixture, but cast as a
SortedSet.
AbstractTestCollection.makeFullCollection()
.
AbstractTestCollection.getFullElements()
.
AbstractTestCollection.getFullElements()
.
AbstractTestCollection.collection
field cast to a AbstractTestList.BulkTestSubList
.
AbstractTestMap.getSampleValues()
.
AbstractTestCollection.getOtherElements()
.
AbstractTestCollection.getOtherElements()
.
AbstractTestMap.getOtherKeys()
or AbstractTestMap.getOtherValues()
.
AbstractTestCollection.collection
fixture, but cast as a Set.
AbstractTestCollection.makeCollection()
and AbstractTestCollection.makeFullCollection()
support the add
and addAll
operations.
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
supports duplicate values.
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
supports null keys.
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
supports null values.
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
can cause structural modification on a get().
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
support the put
and putAll
operations
adding new mappings.
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
support the put
and putAll
operations
changing existing mappings.
AbstractTestCollection.makeCollection()
and AbstractTestCollection.makeFullCollection()
support the remove
, removeAll
,
retainAll
, clear
and
iterator().remove()
methods.
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
support the remove
and clear
operations.
AbstractTestList.makeCollection()
and AbstractTestList.makeFullCollection()
support the set operation.
- isSetValueSupported() -
Method in class org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestInverseBidiMap
-
- isSetValueSupported() -
Method in class org.apache.commons.collections.map.AbstractTestMap
- Returns true if the maps produced by
AbstractTestMap.makeEmptyMap()
and AbstractTestMap.makeFullMap()
support the setValue
operation on entrySet entries.
- isSubMapViewsSerializable() -
Method in class org.apache.commons.collections.map.AbstractTestMap
- Returns whether the sub map views of SortedMap are serializable.
- isTestSerialization() -
Method in class org.apache.commons.collections.AbstractTestObject
- Is serialization testing supported.
- isTestSerialization() -
Method in class org.apache.commons.collections.list.AbstractTestList.BulkTestSubList
-
- isTestSerialization() -
Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapEntrySet
-
- isTestSerialization() -
Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapKeySet
-
- isTestSerialization() -
Method in class org.apache.commons.collections.map.AbstractTestMap.TestMapValues
-
- isTestSerialization() -
Method in class org.apache.commons.collections.map.AbstractTestSortedMap.TestViewMap
-
- isTestSerialization() -
Method in class org.apache.commons.collections.set.AbstractTestSortedSet.TestSortedSetSubSet
-
Collection
to be used for testing.
AbstractTestList.makeEmptyList()
.
AbstractTestSet.makeEmptySet()
.
ArrayList
.
TreeSet
for use in modification testing.
ArrayList
.
BidiMap
.
AbstractTestList.BulkTestSubList
to be used for testing.
Map
to be used for testing.
BidiMap
other than the default.
AbstractTestList.makeFullList()
.
AbstractTestSet.makeFullSet()
.
AbstractTestList.BulkTestSubList
to be used for testing.
AbstractTestCollection.getFullElements()
.
TestSuite
for testing all of the simple tests
and all the bulk tests defined by the given class.
AbstractTestCollection.collection
and AbstractTestCollection.confirmed
fields to empty
collections.
AbstractTestMap.map
, AbstractTestMap.entrySet
, AbstractTestMap.keySet
,
AbstractTestMap.values
and AbstractTestMap.confirmed
fields to empty.
AbstractTestCollection.collection
and AbstractTestCollection.confirmed
fields to full
collections.
AbstractTestMap.map
, AbstractTestMap.entrySet
, AbstractTestMap.keySet
,
AbstractTestMap.values
and AbstractTestMap.confirmed
fields to full.
Collection.add(Object)
.
Collection.addAll(Collection)
.
Collection.clear()
.
Collection.contains(Object)
.
Collection.containsAll(Collection)
.
Collection.isEmpty()
.
Collection.iterator()
.
Collection.iterator()
.
Collection.remove(Object)
.
Collection.removeAll(Collection)
.
Collection.retainAll(Collection)
.
Collection.size()
.
Collection.toArray()
.
Collection.toArray(Object[])
.
toString
on a collection.
Map.entrySet()
collection is backed by
the underlying map for clear().
Map.keySet()
collection is backed by
the underlying map for clear().
Map.keySet()
set is backed by
the underlying map by removing from the keySet set
and testing if the key was removed from the map.
List#add(int,Object)
.
List#add(int, Object)
on an
empty list.
List#add(int, Object)
on a
full list.
Object.equals(Object)
.
List#get(int)
.
List#get(int)
on an
empty list.
List#get(int)
on a
full list.
Object.hashCode()
.
List#indexOf
.
ListIterator.add(Object)
method of the list
iterator.
ListIterator.set(Object)
method of the list
iterator.
List#lastIndexOf
.
List#listIterator()
.
List#listIterator(int)
.
List#remove(int)
.
List#remove(int)
on an
empty list.
List#remove(int)
on a
full list.
List#set(int,Object)
.
List#set(int,Object)
on an
empty list.
List#set(int,Object)
on a
full list.
ConcurrentModificationException
if elements are added to the original list.
ConcurrentModificationException
if elements are removed from the original list.
Map.clear()
.
Set.equals(Object)
.
Set.hashCode()
.
AbstractTestCollection.isAddSupported()
returns false, tests that add operations
raise UnsupportedOperationException.
- testUnsupportedRemove() -
Method in class org.apache.commons.collections.collection.AbstractTestCollection
- If isRemoveSupported() returns false, tests to see that remove
operations raise an UnsupportedOperationException.
- testUnsupportedSet() -
Method in class org.apache.commons.collections.list.AbstractTestList
- If
AbstractTestList.isSetSupported()
returns false, tests that set operation
raises UnsupportedOperationException.
- testValuesClearChangesMap() -
Method in class org.apache.commons.collections.map.AbstractTestMap
- Tests that the
Map.values()
collection is backed by
the underlying map for clear().
- testValuesRemoveChangesMap() -
Method in class org.apache.commons.collections.map.AbstractTestMap
- Tests that the
Map.values()
collection is backed by
the underlying map by removing from the values collection
and testing if the value was removed from the map.
- testWalkForwardAndBack() -
Method in class org.apache.commons.collections.iterators.AbstractTestListIterator
- Test navigation through the iterator.
- toString() -
Method in class org.apache.commons.collections.BulkTest
- Returns the display name of this
BulkTest
.
AbstractTestMap.map
is still equal to AbstractTestMap.confirmed
.
AbstractTestCollection.collection
and AbstractTestCollection.confirmed
have
identical state.
AbstractTestMap.map
is still equal to AbstractTestMap.confirmed
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |