Package | Description |
---|---|
com.google.common.truth |
Modifier and Type | Method | Description |
---|---|---|
Ordered |
CollectionSubject.Has.allFrom(Iterable<T> required) |
Deprecated.
Use
IterableSubject#containsAllIn(Iterable>) instead. |
Ordered |
CollectionSubject.Has.allOf(T first) |
Deprecated.
Use
IterableSubject.contains(Object) instead. |
Ordered |
CollectionSubject.Has.allOf(T first,
T second,
T... rest) |
Deprecated.
|
Ordered |
IterableSubject.containsAllIn(Iterable<?> expected) |
Attests that the subject contains at least all of the provided objects
or fails, potentially permitting duplicates in both the subject and the
parameters (if the subject even can have duplicates).
|
Ordered |
IterableSubject.containsAllOf(Object first,
Object second,
Object... rest) |
Attests that the subject contains at least all of the provided objects
or fails, potentially permitting duplicates in both the subject and the
parameters (if the subject even can have duplicates).
|
Ordered |
IterableSubject.containsExactly(Object... varargs) |
Attests that a subject contains all of the provided objects and
only these objects or fails, potentially permitting duplicates
in both the subject and the parameters (if the subject even can
have duplicates).
|
Ordered |
IterableSubject.containsExactlyElementsIn(Iterable<?> expected) |
Attests that a subject contains all of the provided objects and
only these objects or fails, potentially permitting duplicates
in both the subject and the parameters (if the subject even can
have duplicates).
|
Ordered |
IterableSubject.containsOnlyElements(Object first,
Object second,
Object... rest) |
Deprecated.
Use
IterableSubject.containsExactly(Object...) instead. |
Ordered |
IterableSubject.containsOnlyElementsIn(Iterable<?> expected) |
Deprecated.
Use
IterableSubject.containsExactlyElementsIn(Iterable) instead. |
Ordered |
CollectionSubject.Has.exactly(T first) |
Attests that a Collection contains at all of the provided objects and
only these objects or fails.
|
Ordered |
CollectionSubject.Has.exactly(T first,
T second,
T... rest) |
Attests that a Collection contains at all of the provided objects and
only these objects or fails.
|
Ordered |
CollectionSubject.Has.exactlyAs(Iterable<T> required) |
Attests that a Collection contains at all of the objects contained in the
provided collection and only these objects or fails.
|
Copyright © 2019. All rights reserved.