| 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. 
 | 
| com.google.common.truth.extensions.proto | 
 Custom subjects for testing Protocol
 Buffer instances. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Ordered | 
StreamSubject.containsAllIn(Iterable<?> expected)
Fails if the subject does not contain all of the given elements. 
 | 
Ordered | 
IterableSubject.containsAllIn(Iterable<?> expected)
Attests that the actual iterable contains at least all of the expected elements or fails. 
 | 
Ordered | 
IterableSubject.UsingCorrespondence.containsAllIn(Iterable<? extends E> expected)
Attests that the subject contains elements that corresponds to all of the expected elements,
 i.e. 
 | 
Ordered | 
PrimitiveDoubleArraySubject.DoubleArrayAsIterable.containsAllOf(double[] expected)
As  
#containsAllOf(Number, Number, Number...) but taking a primitive double array. | 
Ordered | 
IterableSubject.UsingCorrespondence.containsAllOf(E first,
             E second,
             E... rest)
Attests that the subject contains elements that corresponds to all of the expected elements,
 i.e. 
 | 
Ordered | 
PrimitiveFloatArraySubject.FloatArrayAsIterable.containsAllOf(float[] expected)
As  
#containsAllOf(Number, Number, Number...) but taking a primitive float array. | 
Ordered | 
StreamSubject.containsAllOf(Object first,
             Object second,
             Object... rest)
Fails if the subject does not contain all of the given elements. 
 | 
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 | 
PrimitiveDoubleArraySubject.DoubleArrayAsIterable.containsExactly(double[] expected)
As  
#containsExactly(Number...) but taking a primitive double array. | 
Ordered | 
IterableSubject.UsingCorrespondence.containsExactly(E... expected)
Attests that subject contains exactly elements that correspond to the expected elements, i.e. 
 | 
Ordered | 
PrimitiveFloatArraySubject.FloatArrayAsIterable.containsExactly(float[] expected)
As  
#containsExactly(Number...) but taking a primitive float array. | 
Ordered | 
MultimapSubject.containsExactly(com.google.common.collect.Multimap<?,?> expectedMultimap)
Deprecated. 
 
 | 
Ordered | 
StreamSubject.containsExactly(Object... varargs)
Fails if the subject does not contain exactly the given elements. 
 | 
Ordered | 
IterableSubject.containsExactly(Object... varargs)
Attests that a subject contains exactly the provided objects or fails. 
 | 
Ordered | 
MapSubject.UsingCorrespondence.containsExactly(Object k0,
               E v0,
               Object... rest)
Fails if the map does not contain exactly the given set of keys mapping to values that
 correspond to the given values. 
 | 
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 | 
MultimapSubject.containsExactly(Object k0,
               Object v0,
               Object... rest)
Fails if the multimap does not contain exactly the given set of key/value pairs. 
 | 
<K,V extends E> | 
MultimapSubject.UsingCorrespondence.containsExactly(Object k0,
               Object v0,
               Object... rest)
Fails if the multimap does not contain exactly the given set of key/value pairs. 
 | 
Ordered | 
StreamSubject.containsExactlyElementsIn(Iterable<?> expected)
Fails if the subject does not contain exactly the given elements. 
 | 
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. 
 | 
<K,V extends E> | 
MapSubject.UsingCorrespondence.containsExactlyEntriesIn(Map<K,V> expectedMap)
Fails if the map does not contain exactly the keys in the given map, mapping to values that
 correspond to the values of 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. | 
<K,V extends E> | 
MultimapSubject.UsingCorrespondence.containsExactlyEntriesIn(com.google.common.collect.Multimap<K,V> expectedMultimap)
Fails if the map does not contain exactly the keys in the given multimap, mapping to values
 that correspond to the values of the given multimap. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Ordered | 
IterableOfProtosSubject.containsAllIn(Iterable<?> expected)
Attests that the actual iterable contains at least all of the expected elements or fails. 
 | 
Ordered | 
IterableOfProtosFluentAssertion.containsAllIn(Iterable<? extends M> expected)
Attests that the subject contains elements that corresponds to all of the expected elements,
 i.e. 
 | 
Ordered | 
IterableOfProtosFluentAssertion.containsAllOf(M first,
             M second,
             M... rest)
Attests that the subject contains elements that corresponds to all of the expected elements,
 i.e. 
 | 
Ordered | 
IterableOfProtosSubject.containsAllOf(Object firstExpected,
             Object secondExpected,
             Object... restOfExpected)
Attests that the actual iterable contains at least all of the expected elements or fails. 
 | 
Ordered | 
MapWithProtoValuesSubject.containsExactly()
Fails if the map is not empty. 
 | 
Ordered | 
IterableOfProtosFluentAssertion.containsExactly(M... expected)
Attests that subject contains exactly elements that correspond to the expected elements, i.e. 
 | 
Ordered | 
IterableOfProtosSubject.containsExactly(Object... varargs)
Attests that a subject contains exactly the provided objects or fails. 
 | 
Ordered | 
MultimapWithProtoValuesFluentAssertion.containsExactly(Object k0,
               M v0,
               Object... rest)
Fails if the multimap does not contain exactly the given set of key/value pairs. 
 | 
Ordered | 
MapWithProtoValuesFluentAssertion.containsExactly(Object k0,
               M v0,
               Object... rest)
Fails if the map does not contain exactly the given set of keys mapping to values that
 correspond to the given values. 
 | 
Ordered | 
MapWithProtoValuesSubject.containsExactly(Object k0,
               Object v0,
               Object... rest)
Fails if the map does not contain exactly the given set of key/value pairs. 
 | 
Ordered | 
MultimapWithProtoValuesSubject.containsExactly(Object k0,
               Object v0,
               Object... rest)
Fails if the multimap does not contain exactly the given set of key/value pairs. 
 | 
Ordered | 
IterableOfProtosSubject.containsExactlyElementsIn(Iterable<?> expected)
Attests that a subject contains exactly the provided objects or fails. 
 | 
Ordered | 
IterableOfProtosFluentAssertion.containsExactlyElementsIn(Iterable<? extends M> expected)
Attests that subject contains exactly elements that correspond to the expected elements, i.e. 
 | 
Ordered | 
MapWithProtoValuesSubject.containsExactlyEntriesIn(Map<?,?> expectedMap)
Fails if the map does not contain exactly the given set of entries in the given map. 
 | 
Ordered | 
MapWithProtoValuesFluentAssertion.containsExactlyEntriesIn(Map<?,? extends M> expectedMap)
Fails if the map does not contain exactly the keys in the given map, mapping to values that
 correspond to the values of the given map. 
 | 
Ordered | 
MultimapWithProtoValuesSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap<?,?> expectedMultimap)
Fails if the  
Multimap does not contain precisely the same entries as the argument
 Multimap. | 
Ordered | 
MultimapWithProtoValuesFluentAssertion.containsExactlyEntriesIn(com.google.common.collect.Multimap<?,? extends M> expectedMultimap)
Fails if the map does not contain exactly the keys in the given multimap, mapping to values
 that correspond to the values of the given multimap. 
 | 
Copyright © 2017. All rights reserved.