Uses of Interface
com.google.common.truth.Ordered
Packages that use Ordered
Package
Description
Truth is a library for performing assertions in
tests:
Custom subjects for testing Protocol
Buffer instances.
-
Uses of Ordered in com.google.common.truth
Methods in com.google.common.truth that return OrderedModifier and TypeMethodDescriptionIntStreamSubject.containsAtLeast
(int first, int second, int... rest) Checks that the actual stream contains all of the given elements.final Ordered
IterableSubject.containsAtLeast
(@Nullable Object first, @Nullable Object second, @Nullable Object @Nullable ... rest) Checks that the actual iterable contains at least all the expected elements.final Ordered
IterableSubject.UsingCorrespondence.containsAtLeast
(E first, E second, E @Nullable ... rest) Checks that the actual iterable contains elements that correspond to all the expected elements, i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected elements where each pair of elements correspond.LongStreamSubject.containsAtLeast
(long first, long second, long... rest) Checks that the actual stream contains all of the given elements.final Ordered
MapSubject.UsingCorrespondence.containsAtLeast
(@Nullable Object k0, @Nullable E v0, @Nullable Object... rest) Checks that the actual map contains at least the given set of keys mapping to values that correspond to the given values.final Ordered
Checks that the actual multimap contains at least the given key/value pairs.MultimapSubject.UsingCorrespondence.containsAtLeast
(@Nullable Object k0, @Nullable E v0, @Nullable Object... rest) Checks that the actual multimap contains at least the given key/value pairs.PrimitiveDoubleArraySubject.DoubleArrayAsIterable.containsAtLeast
(double[] expected) AsIterableSubject.UsingCorrespondence.containsAtLeast(Object, Object, Object...)
but taking a primitive double array.PrimitiveFloatArraySubject.FloatArrayAsIterable.containsAtLeast
(float[] expected) AsIterableSubject.UsingCorrespondence.containsAtLeast(Object, Object, Object...)
but taking a primitive float array.StreamSubject.containsAtLeast
(@Nullable Object first, @Nullable Object second, @Nullable Object @Nullable ... rest) Checks that the actual stream contains all of the given elements.IntStreamSubject.containsAtLeastElementsIn
(@Nullable Iterable<?> expected) Checks that the actual stream contains all of the given elements.final Ordered
IterableSubject.containsAtLeastElementsIn
(@Nullable Iterable<?> expected) Checks that the actual iterable contains at least all the expected elements.final Ordered
IterableSubject.containsAtLeastElementsIn
(@Nullable Object @Nullable [] expected) Checks that the actual iterable contains at least all the expected elements.IterableSubject.UsingCorrespondence.containsAtLeastElementsIn
(E @Nullable [] expected) Checks that the actual iterable contains elements that correspond to all the expected elements, i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected elements where each pair of elements correspond.IterableSubject.UsingCorrespondence.containsAtLeastElementsIn
(Iterable<? extends E> expected) Checks that the actual iterable contains elements that correspond to all the expected elements, i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected elements where each pair of elements correspond.LongStreamSubject.containsAtLeastElementsIn
(@Nullable Iterable<?> expected) Checks that the actual stream contains all of the given elements.StreamSubject.containsAtLeastElementsIn
(@Nullable Iterable<?> expected) Checks that the actual stream contains all of the given elements.final Ordered
MapSubject.containsAtLeastEntriesIn
(@Nullable Map<?, ?> expected) Checks that the actual map contains at least the given set of entries in the given map.MapSubject.UsingCorrespondence.containsAtLeastEntriesIn
(@Nullable Map<?, ? extends E> expected) Checks that the actual map contains at least the keys in the given map, mapping to values that correspond to the values of the given map.final Ordered
MultimapSubject.containsAtLeastEntriesIn
(@Nullable Multimap<?, ?> expected) Checks that the actual multimap contains at least the entries in the argumentMultimap
.MultimapSubject.UsingCorrespondence.containsAtLeastEntriesIn
(@Nullable Multimap<?, ? extends E> expected) Checks that the actual multimap contains at least the keys in the given multimap, mapping to values that correspond to the values of the given multimap.IntStreamSubject.containsExactly
(int @Nullable ... expected) Checks that the actual stream contains exactly the given elements.final Ordered
IterableSubject.containsExactly
(@Nullable Object @Nullable ... expected) Checks that the actual iterable contains exactly the provided objects.final Ordered
IterableSubject.UsingCorrespondence.containsExactly
(@Nullable E @Nullable ... expected) Checks that actual iterable contains exactly elements that correspond to the expected elements, i.e. that there is a 1:1 mapping between the actual elements and the expected elements where each pair of elements correspond.LongStreamSubject.containsExactly
(long @Nullable ... expected) Checks that the actual stream contains exactly the given elements.final Ordered
MapSubject.containsExactly()
Checks that the actual map is empty.final Ordered
Checks that the actual map contains exactly the given set of key/value pairs.MapSubject.UsingCorrespondence.containsExactly
(@Nullable Object k0, @Nullable E v0, @Nullable Object... rest) Checks that the actual map contains exactly the given set of keys mapping to values that correspond to the given values.final Ordered
MultimapSubject.containsExactly()
Checks that the actual multimap is empty.final Ordered
Checks that the actual multimap contains exactly the given set of key/value pairs.MultimapSubject.UsingCorrespondence.containsExactly()
Checks that the actual multimap is empty.MultimapSubject.UsingCorrespondence.containsExactly
(@Nullable Object k0, @Nullable E v0, @Nullable Object... rest) Checks that the actual multimap contains exactly the given set of key/value pairs.PrimitiveDoubleArraySubject.DoubleArrayAsIterable.containsExactly
(double[] expected) AsIterableSubject.UsingCorrespondence.containsExactly(Object...)
but taking a primitive double array.PrimitiveFloatArraySubject.FloatArrayAsIterable.containsExactly
(float[] expected) AsIterableSubject.UsingCorrespondence.containsExactly(Object...)
but taking a primitive float array.StreamSubject.containsExactly
(@Nullable Object @Nullable ... expected) Checks that the actual stream contains exactly the given elements.IntStreamSubject.containsExactlyElementsIn
(@Nullable Iterable<?> expected) Checks that the actual stream contains exactly the given elements.final Ordered
IterableSubject.containsExactlyElementsIn
(@Nullable Iterable<?> expected) Checks that the actual iterable contains exactly the provided objects.final Ordered
IterableSubject.containsExactlyElementsIn
(@Nullable Object @Nullable [] expected) Checks that the actual iterable contains exactly the provided objects.IterableSubject.UsingCorrespondence.containsExactlyElementsIn
(E @Nullable [] expected) Checks that actual iterable contains exactly elements that correspond to the expected elements, i.e. that there is a 1:1 mapping between the actual elements and the expected elements where each pair of elements correspond.IterableSubject.UsingCorrespondence.containsExactlyElementsIn
(@Nullable Iterable<? extends E> expected) Checks that actual iterable contains exactly elements that correspond to the expected elements, i.e. that there is a 1:1 mapping between the actual elements and the expected elements where each pair of elements correspond.LongStreamSubject.containsExactlyElementsIn
(@Nullable Iterable<?> expected) Checks that the actual stream contains exactly the given elements.StreamSubject.containsExactlyElementsIn
(@Nullable Iterable<?> expected) Checks that the actual stream contains exactly the given elements.final Ordered
MapSubject.containsExactlyEntriesIn
(@Nullable Map<?, ?> expected) Checks that the actual map contains exactly the given set of entries in the given map.MapSubject.UsingCorrespondence.containsExactlyEntriesIn
(@Nullable Map<?, ? extends E> expected) Checks that the actual map contains exactly the keys in the given map, mapping to values that correspond to the values of the given map.final Ordered
MultimapSubject.containsExactlyEntriesIn
(@Nullable Multimap<?, ?> expected) Checks that the actual multimap contains precisely the same entries as the argumentMultimap
.MultimapSubject.UsingCorrespondence.containsExactlyEntriesIn
(@Nullable Multimap<?, ? extends E> expected) Checks that the actual multimap contains exactly the keys in the given multimap, mapping to values that correspond to the values of the given multimap. -
Uses of Ordered in com.google.common.truth.extensions.proto
Methods in com.google.common.truth.extensions.proto that return OrderedModifier and TypeMethodDescriptionIterableOfProtosUsingCorrespondence.containsAtLeast
(@Nullable M first, @Nullable M second, @Nullable M... rest) Checks that the subject contains elements that corresponds to all of the expected elements, i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected elements where each pair of elements correspond.IterableOfProtosUsingCorrespondence.containsAtLeastElementsIn
(Iterable<? extends M> expected) Checks that the subject contains elements that corresponds to all of the expected elements, i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected elements where each pair of elements correspond.IterableOfProtosUsingCorrespondence.containsAtLeastElementsIn
(M[] expected) Checks that the subject contains elements that corresponds to all of the expected elements, i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected elements where each pair of elements correspond.IterableOfProtosUsingCorrespondence.containsExactly
(@Nullable M... expected) Checks that subject contains exactly elements that correspond to the expected elements, i.e.MapWithProtoValuesFluentAssertion.containsExactly
(@Nullable Object k0, @Nullable M v0, @Nullable Object... rest) Fails if the map does not contain exactly the given set of keys mapping to values that correspond to the given values.MultimapWithProtoValuesFluentAssertion.containsExactly()
Fails if the multimap is not empty.MultimapWithProtoValuesFluentAssertion.containsExactly
(@Nullable Object k0, @Nullable M v0, @Nullable Object... rest) Fails if the multimap does not contain exactly the given set of key/value pairs.IterableOfProtosUsingCorrespondence.containsExactlyElementsIn
(Iterable<? extends M> expected) Checks that subject contains exactly elements that correspond to the expected elements, i.e.IterableOfProtosUsingCorrespondence.containsExactlyElementsIn
(M[] expected) Checks that subject contains exactly elements that correspond to the expected elements, i.e.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.MultimapWithProtoValuesFluentAssertion.containsExactlyEntriesIn
(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.