Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
Modifier and Type | Method and Description |
---|---|
Ordered |
IterableSubject.containsAllIn(Iterable<?> expected)
Attests that the actual iterable contains at least all of the expected elements or fails.
|
Ordered |
IterableSubject.containsAllOf(Object firstExpected,
Object secondExpected,
Object... restOfExpected)
Attests that the actual iterable contains at least all of the expected elements or fails.
|
Ordered |
MapSubject.containsExactly()
Fails if the map is not empty.
|
Ordered |
MultimapSubject.containsExactly(com.google.common.collect.Multimap<?,?> expectedMultimap)
Deprecated.
|
Ordered |
IterableSubject.containsExactly(Object... varargs)
Attests that a subject contains exactly the provided objects or fails.
|
Ordered |
MapSubject.containsExactly(Object k0,
Object v0,
Object... rest)
Fails if the map does not contain exactly the given set of key/value pairs.
|
Ordered |
IterableSubject.containsExactlyElementsIn(Iterable<?> expected)
Attests that a subject contains exactly the provided objects or fails.
|
Ordered |
IterableSubject.UsingCorrespondence.containsExactlyElementsIn(Iterable<? extends E> expected)
Attests that subject contains exactly elements that correspond to the expected elements, i.e.
|
Ordered |
MapSubject.containsExactlyEntriesIn(Map<?,?> expectedMap)
Fails if the map does not contain exactly the given set of entries in the given map.
|
Ordered |
MultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap<?,?> expectedMultimap)
Fails if the Multimap does not contain precisely the same entries as the argument Multimap.
|
Copyright © 2016. All rights reserved.