Uses of Interface
com.google.common.truth.Ordered
-
Uses of Ordered in com.google.common.truth
Classes in com.google.common.truth that implement OrderedModifier and TypeClassDescriptionprivate classprivate classFields in com.google.common.truth declared as OrderedModifier and TypeFieldDescriptionprivate static final OrderedIterableSubject.ALREADY_FAILEDOrdered implementation that does nothing because an earlier check already caused a failure.private static final OrderedMapSubject.ALREADY_FAILEDOrdered implementation that does nothing because an earlier check already caused a failure.private static final OrderedMultimapSubject.ALREADY_FAILEDOrdered implementation that does nothing because an earlier check already caused a failure.private static final OrderedIterableSubject.IN_ORDEROrdered implementation that does nothing because it's already known to be true.private static final OrderedMapSubject.IN_ORDEROrdered implementation that does nothing because it's already known to be true.Methods in com.google.common.truth that return OrderedModifier and TypeMethodDescriptionIntStreamSubject.containsAtLeast(int first, int second, int... rest) Fails if the subject does not contain all of the given elements.final OrderedIterableSubject.containsAtLeast(Object firstExpected, Object secondExpected, Object... restOfExpected) Checks that the actual iterable contains at least all of the expected elements or fails.final OrderedIterableSubject.UsingCorrespondence.containsAtLeast(E first, E second, E... rest) Checks that the subject contains elements that corresponds to all of the expected elements, i.e.LongStreamSubject.containsAtLeast(long first, long second, long... rest) Fails if the subject does not contain all of the given elements.final OrderedMapSubject.containsAtLeast(Object k0, Object v0, Object... rest) MapSubject.UsingCorrespondence.containsAtLeast(Object k0, E v0, Object... rest) Fails if the map does not contain at least the given set of keys mapping to values that correspond to the given values.final OrderedMultimapSubject.containsAtLeast(Object k0, Object v0, Object... rest) Fails if the multimap does not contain at least the given key/value pairs.MultimapSubject.UsingCorrespondence.containsAtLeast(Object k0, E v0, Object... rest) Fails if the multimap does not contain 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(Object first, Object second, Object... rest) Fails if the subject does not contain all of the given elements.IntStreamSubject.containsAtLeastElementsIn(Iterable<?> expected) Fails if the subject does not contain all of the given elements.final OrderedIterableSubject.containsAtLeastElementsIn(Iterable<?> expectedIterable) Checks that the actual iterable contains at least all of the expected elements or fails.final OrderedIterableSubject.containsAtLeastElementsIn(Object[] expected) Checks that the actual iterable contains at least all of the expected elements or fails.IterableSubject.UsingCorrespondence.containsAtLeastElementsIn(E[] expected) Checks that the subject contains elements that corresponds to all of the expected elements, i.e.IterableSubject.UsingCorrespondence.containsAtLeastElementsIn(Iterable<? extends E> expected) Checks that the subject contains elements that corresponds to all of the expected elements, i.e.LongStreamSubject.containsAtLeastElementsIn(Iterable<?> expected) Fails if the subject does not contain all of the given elements.StreamSubject.containsAtLeastElementsIn(Iterable<?> expected) Fails if the subject does not contain all of the given elements.final OrderedMapSubject.containsAtLeastEntriesIn(Map<?, ?> expectedMap) Fails if the map does not contain at least the given set of entries in the given map.MapSubject.UsingCorrespondence.containsAtLeastEntriesIn(Map<?, ? extends E> expectedMap) Fails if the map does not contain at least the keys in the given map, mapping to values that correspond to the values of the given map.final OrderedMultimapSubject.containsAtLeastEntriesIn(com.google.common.collect.Multimap<?, ?> expectedMultimap) Fails if theMultimapdoes not contain at least the entries in the argumentMultimap.MultimapSubject.UsingCorrespondence.containsAtLeastEntriesIn(com.google.common.collect.Multimap<?, ? extends E> expectedMultimap) Fails if the map does not contain at least the keys in the given multimap, mapping to values that correspond to the values of the given multimap.IntStreamSubject.containsExactly(int... varargs) Fails if the subject does not contain exactly the given elements.final OrderedIterableSubject.containsExactly(Object... varargs) Checks that a subject contains exactly the provided objects or fails.final OrderedIterableSubject.UsingCorrespondence.containsExactly(E... expected) Checks that subject contains exactly elements that correspond to the expected elements, i.e.LongStreamSubject.containsExactly(long... varargs) Fails if the subject does not contain exactly the given elements.final OrderedMapSubject.containsExactly()Fails if the map is not empty.final OrderedMapSubject.containsExactly(Object k0, Object v0, Object... rest) Fails if the map does not contain exactly the given set of key/value pairs.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.final OrderedMultimapSubject.containsExactly()Fails if the multimap is not empty.final OrderedMultimapSubject.containsExactly(Object k0, Object v0, Object... rest) Fails if the multimap does not contain exactly the given set of key/value pairs.MultimapSubject.UsingCorrespondence.containsExactly()Fails if the multimap is not empty.MultimapSubject.UsingCorrespondence.containsExactly(Object k0, E v0, Object... rest) Fails if the multimap does not contain 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(Object... varargs) Fails if the subject does not contain exactly the given elements.IntStreamSubject.containsExactlyElementsIn(Iterable<?> expected) Fails if the subject does not contain exactly the given elements.final OrderedIterableSubject.containsExactlyElementsIn(Iterable<?> expected) Checks that a subject contains exactly the provided objects or fails.private OrderedIterableSubject.containsExactlyElementsIn(Iterable<?> required, boolean addElementsInWarning) final OrderedIterableSubject.containsExactlyElementsIn(Object[] expected) Checks that a subject contains exactly the provided objects or fails.IterableSubject.UsingCorrespondence.containsExactlyElementsIn(E[] expected) Checks that subject contains exactly elements that correspond to the expected elements, i.e.IterableSubject.UsingCorrespondence.containsExactlyElementsIn(Iterable<? extends E> expected) Checks that subject contains exactly elements that correspond to the expected elements, i.e.LongStreamSubject.containsExactlyElementsIn(Iterable<?> expected) Fails if the subject does not contain exactly the given elements.StreamSubject.containsExactlyElementsIn(Iterable<?> expected) Fails if the subject does not contain exactly the given elements.final OrderedMapSubject.containsExactlyEntriesIn(Map<?, ?> expectedMap) Fails if the map does not contain exactly the given set of entries in the given map.MapSubject.UsingCorrespondence.containsExactlyEntriesIn(Map<?, ? extends E> 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.final OrderedMultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap<?, ?> expectedMultimap) Fails if theMultimapdoes not contain precisely the same entries as the argumentMultimap.MultimapSubject.UsingCorrespondence.containsExactlyEntriesIn(com.google.common.collect.Multimap<?, ? extends E> 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.private OrderedIterableSubject.failAtLeast(Collection<?> expected, Collection<?> missingRawObjects) private OrderedIterableSubject.failExactly(Iterable<?> required, boolean addElementsInWarning, Collection<?> missingRawObjects, Collection<?> extraRawObjects) MultimapSubject.UsingCorrespondence.internalContainsAtLeastEntriesIn(com.google.common.collect.Multimap<K, V> expectedMultimap) MapSubject.UsingCorrespondence.internalContainsEntriesIn(String modifier, Map<K, V> expectedMap, boolean allowUnexpected) MultimapSubject.UsingCorrespondence.internalContainsExactlyEntriesIn(com.google.common.collect.Multimap<K, V> expectedMultimap)