|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
BiMap
.CheckedFuture.checkedGet()
and
CheckedFuture.checkedGet(long, TimeUnit)
methods work correctly.Collection
and Map
) that contain elements.ListenableFuture
.ListIndexOfTester
and
ListLastIndexOfTester
.MultisetSetCountUnconditionallyTester
and
MultisetSetCountConditionallyTester
.equalityGroup
with objects that are supposed to be equal to
each other and not equal to any other equality groups added to this tester.
time
in timeUnit
.
nanoseconds
.
ExecutableException
and that the
cause of the ExecutableException
is expectedCause
.
BiMap.clear
.BiMap
s and derived
collections.inverse
view of a BiMap.BiMap.put
and BiMap.forcePut
.BiMap.remove
.BiMap
implementation.IllegalStateException
if FeatureSpecificTestSuiteBuilder.createTestSuite()
can't
be called yet.
add
operations on a collection.clear()
operations on a collection.containsAll()
operations on a
collection.contains()
operations on a
collection.Collection.equals(java.lang.Object)
.Collection
.isEmpty()
operations on a
collection.iterator
operations on a collection.removeAll
operations on a
collection.remove
operations on a collection.retainAll
operations on a
collection.equals()
behavior
when reserialized.size()
operations on a collection.AbstractCollectionTestSuiteBuilder
for
testing collections that do not have a more specific tester like
ListTestSuiteBuilder
or SetTestSuiteBuilder
.toArray()
operations on a
collection.toString()
operations on a
collection.ConcurrentMap
.TestCharacterListGenerator.create(Object...)
.
TestStringListGenerator.create(Object...)
.
TestUnhashableCollectionGenerator.create(Object...)
.
CollectionFeature.KNOWN_ORDER
for all list tests, since
lists have an iteration ordering corresponding to the insertion order.
IteratorTestSuiteBuilder
.Equivalence
relationships between groups of objects.Iterator
.AbstractContainerTester.expectContents(java.util.Collection)
.
expectMissingKeys
(null)
except that the call to contains(null)
is permitted to throw a
NullPointerException
.
expectMissing
(null)
except that the call to contains(null)
is permitted to throw a
NullPointerException
.
expectMissingValues
(null)
except that the call to contains(null)
is permitted to throw a
NullPointerException
.
indexOf()
or lastIndexOf()
.
System.gc()
:
invoking the finalize
methods of unreachable objects
clearing weak references to unreachable referents
enqueuing weak references to unreachable referents in their reference queue
Map.get(Object)
that forces the caller to pass in a key
of the same type as the map.
type
as the null value, or null
if empty-ness is
unknown for the type.
Method
instance for CollectionAddAllTester.testAddAll_nullUnsupported()
so that tests can suppress it with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun
bug 5045147 is fixed.
Method
instance for CollectionAddTester.testAdd_nullSupported()
so
that tests of Collections.checkedCollection(java.util.Collection, Class)
can
suppress it with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6409434 is fixed.
Method
instance for
ListAddAtIndexTester.testAddAtIndex_nullSupported()
so that tests can suppress it.
Method
instance for CollectionAddTester.testAdd_nullSupported()
so
that tests of Collections.checkedCollection(java.util.Collection, Class)
can
suppress it with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun
bug 5045147 is fixed.
Method
instance for
ListAddTester.testAdd_supportedNullPresent()
so that tests can suppress it.
Method
instance for
SetAddTester.testAdd_supportedNullPresent()
so that tests can suppress it.
Method
instance for CollectionCreationTester.testCreateWithNull_unsupported()
so that tests can suppress it
with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun
bug 5045147 is fixed.
Method
instance for
MultisetWritesTester.testEntrySet_iterator()
so that tests of
classes with unmodifiable iterators can suppress it.
Method
instance for ListHashCodeTester.testHashCode()
so that
list tests on unhashable objects can suppress it with
FeatureSpecificTestSuiteBuilder.suppressing()
.
Method
instances for the test methods in this class
which call hashCode()
on the set values so that set tests on
unhashable objects can suppress it with
FeatureSpecificTestSuiteBuilder.suppressing()
.
Method
instances for the test methods in this class that create a set with
a "hole" in it so that set tests of ContiguousSet
can suppress them with FeatureSpecificTestSuiteBuilder.suppressing()
.
Method
instances for the tests that assume that the inverse will be the same
after serialization.
Method
instances for the tests that assume multisets support duplicates so that
the test of Multisets.forSet()
can suppress them.
Method
instance for
CollectionIteratorTester.testIterator_knownOrderRemoveSupported()
so that tests of
CopyOnWriteArraySet
and CopyOnWriteArrayList
can suppress
it with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6570575 is fixed.
Method
instance for
CollectionIteratorTester.testIterator_knownOrderRemoveUnsupported()
so that tests of
ArrayStack
can suppress it with
FeatureSpecificTestSuiteBuilder.suppressing()
.
Method
instance for
CollectionIteratorTester.testIterator_unknownOrderRemoveSupported()
so that tests of
classes with unmodifiable iterators can suppress it.
MapInterfaceTest.makePopulatedMap()
.
Method
instance for
ListListIteratorTester.testListIterator_fullyModifiable()
so that tests of
CopyOnWriteArraySet
can suppress it with
FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6570575 is fixed.
Method
instance for
ListListIteratorTester.testListIterator_unmodifiable()
so that it can be suppressed in
GWT tests.
TestContainerGenerator.order(List)
.
Method
instances for the read tests that assume multisets
support duplicates so that the test of Multisets.forSet()
can
suppress them.
ConcurrentMapInterfaceTest.makePopulatedMap()
and differs from the value returned by
MapInterfaceTest.getValueNotInPopulatedMap()
.
Method
instances for the setCount()
tests that
assume multisets support duplicates so that the test of Multisets.forSet()
can suppress them.
Method
instance for
ListSetTester.testSet_null()
so that tests of Collections.checkedCollection(java.util.Collection, Class)
can
suppress it with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6409434 is fixed.
Method
instance for
ListSubListTester.testSubList_originalListSetAffectsSubListLargeList()
()} so that
tests of CopyOnWriteArrayList
can suppress them with
FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6570631 is fixed.
Method
instance for
ListSubListTester.testSubList_originalListSetAffectsSubList()
so that tests
of CopyOnWriteArrayList
can suppress them with
FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6570631 is fixed.
Method
instance for
ListSubListTester.testSubList_subListRemoveAffectsOriginalLargeList()
so that tests
of CopyOnWriteArrayList
can suppress it with
FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6570575 is fixed.
Method
instance for
CollectionToArrayTester.testToArray_isPlainObjectArray()
so that tests of
Arrays.asList(Object[])
can suppress it with FeatureSpecificTestSuiteBuilder.suppressing()
until Sun bug
6260652 is fixed.
MapInterfaceTest.makePopulatedMap()
.
NullPointerTester.ignore(Method)
instead. This method will be
removed from Guava in Guava release 13.0.
method
in the tests that follow.
Set
that is the intersection
of the given sets.
Set
that is the intersection
of all the given sets.
Iterator
or
ListIterator
interface.addAll(int, Collection)
operations
on a list.addAll(Collection)
operations on a
list.add(int, Object)
operations on a
list.add(Object)
operations on a list.List.equals(java.lang.Object)
.List
.get()
operations on a list.List.hashCode()
.indexOf()
operations on a list.IteratorTester
for testing a
ListIterator
against a known good reference implementation.lastIndexOf()
operations on a list.listIterator
operations on a list.remove(int)
operations on a list.remove(Object)
operations on a list.retainAll
operations on a list.set()
operations on a list.subList()
operations on a list.toArray()
operations on a list.clear()
operations on a map.containsKey()
operations on a map.containsValue()
operations on a map.Map.equals(java.lang.Object)
.Map
.get
operations on a map.Map.hashCode()
.Map
.supportsIteratorRemove
the same value as
supportsRemove
.
supportsIteratorRemove
parameter.
isEmpty()
operations on a
map.putAll
operations on a map.put
operations on a map.remove
operations on a map.size()
operations on a map.Iterable
which throws an exception on all
invocations of the MinimalIterable.iterator()
method after the first, and whose
iterator is always unmodifiable.Runnable
that can be used for
testing ListenableFutures.Iterator
and
ListIterator
interfaces.
iterator().remove()
implementation of Multiset
works when
there are multiple occurrences of elements.setCount()
operations on
a multiset.setCount()
operations
on a multiset.Multiset
implementation.NullPointerException
or UnsupportedOperationException
whenever null
is passed to a parameter that isn't annotated with Nullable
.CollectionSize
.CollectionSize
present in the features specified
by FeatureSpecificTestSuiteBuilder.withFeatures(Feature...)
.element()
operations on a queue.peek()
operations on a queue.poll()
operations on a queue.remove()
operations on a queue.TreeMap
that aggressively checks to see if keys are
mutually comparable.TreeSet
that aggressively checks to see if elements
are mutually comparable.type
.
Set.equals(java.lang.Object)
.Set
.Set.hashCode()
.TearDown
that may throw
an exception but should not fail a test when it does.SortedMap
.SortedMultiset
implementation.TearDown.tearDown()
operation.TearDown
instances.TearDownStack
contains a stack of TearDown
instances.NullPointerTester.testConstructor(java.lang.reflect.Constructor>)
on every public constructor in class c
.
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every public instance method of the class of
instance
, including those inherited from superclasses of the same
package.
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every public static method of class c
,
including those "inherited" from superclasses of the same package.
List<Character>
instances for test suites.CheckedFuture.checkedGet()
method throws the correct
type of cancellation exception when it is cancelled.
ctor
produces a NullPointerException
or
UnsupportedOperationException
whenever any of its
non-Nullable
parameters are null.
ctor
produces a NullPointerException
or
UnsupportedOperationException
when the parameter in position paramIndex
is null.
NullPointerTester.testConstructor(java.lang.reflect.Constructor>)
on every constructor in class c
that
has at least minimalVisibility
.
TestMapGenerator
for use with enum maps.TestMultisetGenerator
for generating multisets containing
enum values.Future.get()
method blocks until a value is
available.
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every instance method of the class of
instance
with at least minimalVisibility
, including those
inherited from superclasses of the same package.
method
produces a NullPointerException
or UnsupportedOperationException
whenever any of its
non-Nullable
parameters are null.
method
produces a NullPointerException
or
UnsupportedOperationException
when the parameter in position paramIndex
is null.
List
implementations in the
java.util
package.Map
implementations in the
java.util
package.Queue
implementations in the
java.util
package.Set
implementations in the
java.util
package.NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method)
on every static method of class c
that has
at least minimalVisibility
, including those "inherited" from
superclasses of the same package.
TestBiMapGenerator
for use with bimaps of
strings.TestMapGenerator
for use with maps of
strings.TestMapGenerator
for use with sorted maps of strings.Future.get(long, TimeUnit)
method times out
correctly.
Collection.toArray(Object[])
says: "Note that
toArray(new Object[0]) is identical in function to
toArray()."
Iterator
or
ListIterator
interfaces.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |