Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

about(CustomSubjectBuilder.Factory<CustomSubjectBuilderT>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
about(Subject.Factory<S, A>) - Method in class com.google.common.truth.StandardSubjectBuilder
Given a factory for some Subject class, returns a builder whose that(actual) method creates instances of that class.
actualCustomStringRepresentation() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.IntStreamSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.IterableSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.LongStreamSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.StreamSubject
 
actualCustomStringRepresentation() - Method in class com.google.common.truth.Subject
Supplies the direct string representation of the actual value to other methods which may prefix or otherwise position it in an error message.
all() - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches all fields without exception.
allowingFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, plus all fields matching the given Descriptors.FieldDescriptors.
allowingFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches nothing except the provided field descriptors for the message.
allowingFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, plus all fields matching the given Descriptors.FieldDescriptors.
allowingFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches nothing except the provided field descriptors for the message.
allowingFields(int, int...) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, plus all fields defined by the given field numbers.
allowingFields(int, int...) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches nothing except the provided field numbers for the top level message type.
allowingFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, plus all fields defined by the given field numbers.
allowingFields(Iterable<Integer>) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches nothing except the provided field numbers for the top level message type.
apply(A, E) - Method in interface com.google.common.truth.Correspondence.BinaryPredicate
Returns whether or not the actual and expected values satisfy the condition defined by this predicate.
apply(Statement, Description) - Method in class com.google.common.truth.Expect
 
apply(Statement, Description) - Method in class com.google.common.truth.ExpectFailure
 
asList() - Method in class com.google.common.truth.ObjectArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveByteArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveCharArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveIntArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveLongArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveShortArraySubject
 
assert_() - Static method in class com.google.common.truth.Truth
Begins a call chain with the fluent Truth API.
assertAbout(CustomSubjectBuilder.Factory<CustomSubjectBuilderT>) - Static method in class com.google.common.truth.Truth
A generic, advanced method of extension of Truth to new types, which is documented on CustomSubjectBuilder.
assertAbout(Subject.Factory<S, T>) - Static method in class com.google.common.truth.Truth
Given a factory for some Subject class, returns a builder whose that(actual) method creates instances of that class.
assertThat(boolean[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a boolean array.
assertThat(byte[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a byte array.
assertThat(char[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a char array.
assertThat(double[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a double array.
assertThat(float[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a float array.
assertThat(int[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about an int array.
assertThat(long[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a long array.
assertThat(short[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about a short array.
assertThat(ComparableT) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Comparable.
assertThat(Optional<?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Guava Optional.
assertThat(Multimap<?, ?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Multimap.
assertThat(Multimap<?, M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a Multimap with Message values.
assertThat(Multiset<?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Multiset.
assertThat(Table<?, ?, ?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Table.
assertThat(Message) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a single Message instance.
assertThat(MessageLite) - Static method in class com.google.common.truth.extensions.proto.LiteProtoTruth
 
assertThat(MessageLite) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a single MessageLite instance.
assertThat(AssertionError) - Static method in class com.google.common.truth.ExpectFailure
Creates a subject for asserting about the given AssertionError, usually one produced by Truth.
assertThat(Boolean) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Boolean.
assertThat(Class<?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Class.
assertThat(Double) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Double.
assertThat(Float) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Float.
assertThat(Integer) - Static method in class com.google.common.truth.Truth
Begins an assertion about an Integer.
assertThat(Iterable<?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about an Iterable.
assertThat(Iterable<M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a sequence of Messages.
assertThat(Long) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Long.
assertThat(Object) - Static method in class com.google.common.truth.Truth
Begins an assertion about an Object.
assertThat(String) - Static method in class com.google.common.truth.Truth
Begins an assertion about a String.
assertThat(Throwable) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Throwable.
assertThat(BigDecimal) - Static method in class com.google.common.truth.Truth
Begins an assertion about a BigDecimal.
assertThat(Path) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Path.
assertThat(Path) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(Map<?, ?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Map.
assertThat(Map<?, M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a map with Message values.
assertThat(Optional<?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about an Optional.
assertThat(Optional<?>) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(OptionalDouble) - Static method in class com.google.common.truth.Truth
Begins an assertion about an OptionalDouble.
assertThat(OptionalDouble) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(OptionalInt) - Static method in class com.google.common.truth.Truth
Begins an assertion about an OptionalInt.
assertThat(OptionalInt) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(OptionalLong) - Static method in class com.google.common.truth.Truth
Begins an assertion about an OptionalLong.
assertThat(OptionalLong) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(IntStream) - Static method in class com.google.common.truth.Truth
Begins an assertion about an IntStream.
assertThat(IntStream) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(LongStream) - Static method in class com.google.common.truth.Truth
Begins an assertion about a LongStream.
assertThat(LongStream) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(Stream<?>) - Static method in class com.google.common.truth.Truth
Begins an assertion about a Stream.
assertThat(Stream<?>) - Static method in class com.google.common.truth.Truth8
Deprecated.
 
assertThat(T[]) - Static method in class com.google.common.truth.Truth
Begins an assertion about an Object array.
assertWithMessage(String) - Static method in class com.google.common.truth.Truth
Begins an assertion that, if it fails, will prepend the given message to the failure message.
assertWithMessage(String, Object...) - Static method in class com.google.common.truth.Truth
Begins an assertion that, if it fails, will prepend the given message to the failure message.
assume() - Static method in class com.google.common.truth.TruthJUnit
Begins a call chain with the fluent Truth API.

B

BigDecimalSubject - Class in com.google.common.truth
A subject for BigDecimal values.
BooleanSubject - Class in com.google.common.truth
A subject for Boolean values.

C

check(String, Object...) - Method in class com.google.common.truth.Subject
Returns a builder for creating a derived subject.
ClassSubject - Class in com.google.common.truth
A subject for Class values.
com.google.common.truth - package com.google.common.truth
Truth is a library for performing assertions in tests:
com.google.common.truth.extensions.proto - package com.google.common.truth.extensions.proto
Custom subjects for testing Protocol Buffer instances.
com.google.common.truth.extensions.re2j - package com.google.common.truth.extensions.re2j
 
ComparableSubject<T> - Class in com.google.common.truth
A subject for Comparable values.
ComparableSubject(FailureMetadata, T) - Constructor for class com.google.common.truth.ComparableSubject
Constructor for use by subclasses.
compare(A, E) - Method in class com.google.common.truth.Correspondence
Returns whether or not the actual value is said to correspond to the expected value for the purposes of this test.
comparingElementsUsing(Correspondence<? super A, ? super E>) - Method in class com.google.common.truth.IterableSubject
Starts a method chain for a check in which the actual elements (i.e. the elements of the Iterable under test) are compared to expected elements using the given Correspondence.
comparingExpectedFieldsOnly() - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnly() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnly() - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnly() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnlyForValues() - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnlyForValues() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnlyForValues() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingExpectedFieldsOnlyForValues() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
comparingValuesUsing(Correspondence<? super A, ? super E>) - Method in class com.google.common.truth.MapSubject
Starts a method chain for a check in which the actual values (i.e. the values of the Map under test) are compared to expected values using the given Correspondence.
comparingValuesUsing(Correspondence<? super A, ? super E>) - Method in class com.google.common.truth.MultimapSubject
Starts a method chain for a check in which the actual values (i.e. the values of the Multimap under test) are compared to expected values using the given Correspondence.
contains(int) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains the given element.
contains(long) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains the given element.
contains(M) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains at least one element that corresponds to the given expected element.
contains(E) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the actual iterable contains at least one element that corresponds to the given expected element.
contains(CharSequence) - Method in class com.google.common.truth.StringSubject.CaseInsensitiveStringComparison
Checks that the actual value contains the given sequence (while ignoring case).
contains(CharSequence) - Method in class com.google.common.truth.StringSubject
Checks that the actual value contains the given sequence.
contains(Object) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains the supplied item.
contains(Object) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains the given element.
contains(Object, Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table contains a mapping for the given row key and column key.
containsAnyIn(E[]) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the actual iterable contains at least one element that corresponds to at least one of the expected elements.
containsAnyIn(Iterable<?>) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains at least one of the given elements.
containsAnyIn(Iterable<?>) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains at least one of the objects contained in the provided collection.
containsAnyIn(Iterable<?>) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains at least one of the given elements.
containsAnyIn(Iterable<?>) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains at least one of the given elements.
containsAnyIn(Object[]) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains at least one of the objects contained in the provided array.
containsAnyIn(Iterable<? extends E>) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the actual iterable contains at least one element that corresponds to at least one of the expected elements.
containsAnyIn(Iterable<? extends M>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains at least one element that corresponds to at least one of the expected elements.
containsAnyIn(M[]) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains at least one element that corresponds to at least one of the expected elements.
containsAnyOf(double[]) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject.DoubleArrayAsIterable
containsAnyOf(float[]) - Method in class com.google.common.truth.PrimitiveFloatArraySubject.FloatArrayAsIterable
containsAnyOf(int, int, int...) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains at least one of the given elements.
containsAnyOf(long, long, long...) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains at least one of the given elements.
containsAnyOf(M, M, M...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains at least one element that corresponds to at least one of the expected elements.
containsAnyOf(E, E, E...) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the actual iterable contains at least one element that corresponds to at least one of the expected elements.
containsAnyOf(Object, Object, Object...) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains at least one of the provided objects.
containsAnyOf(Object, Object, Object...) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains at least one of the given elements.
containsAtLeast(double[]) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject.DoubleArrayAsIterable
containsAtLeast(float[]) - Method in class com.google.common.truth.PrimitiveFloatArraySubject.FloatArrayAsIterable
containsAtLeast(int, int, int...) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains all of the given elements.
containsAtLeast(long, long, long...) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains all of the given elements.
containsAtLeast(M, M, M...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
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.
containsAtLeast(E, E, E...) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
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.
containsAtLeast(Object, E, Object...) - Method in class com.google.common.truth.MapSubject.UsingCorrespondence
Checks that the actual map contains at least the given set of keys mapping to values that correspond to the given values.
containsAtLeast(Object, E, Object...) - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
Checks that the actual multimap contains at least the given key/value pairs.
containsAtLeast(Object, Object, Object...) - Method in class com.google.common.truth.MapSubject
 
containsAtLeast(Object, Object, Object...) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap contains at least the given key/value pairs.
containsAtLeast(Object, Object, Object...) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains at least all the expected elements.
containsAtLeast(Object, Object, Object...) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains all of the given elements.
containsAtLeastElementsIn(E[]) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
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.
containsAtLeastElementsIn(Iterable<?>) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains all of the given elements.
containsAtLeastElementsIn(Iterable<?>) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains at least all the expected elements.
containsAtLeastElementsIn(Iterable<?>) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains all of the given elements.
containsAtLeastElementsIn(Iterable<?>) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains all of the given elements.
containsAtLeastElementsIn(Object[]) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains at least all the expected elements.
containsAtLeastElementsIn(Iterable<? extends E>) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
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.
containsAtLeastElementsIn(Iterable<? extends M>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
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.
containsAtLeastElementsIn(M[]) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
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.
containsAtLeastEntriesIn(Multimap<?, ?>) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap contains at least the entries in the argument Multimap.
containsAtLeastEntriesIn(Multimap<?, ? extends E>) - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
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.
containsAtLeastEntriesIn(Map<?, ?>) - Method in class com.google.common.truth.MapSubject
Checks that the actual map contains at least the given set of entries in the given map.
containsAtLeastEntriesIn(Map<?, ? extends E>) - Method in class com.google.common.truth.MapSubject.UsingCorrespondence
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.
containsCell(Table.Cell<?, ?, ?>) - Method in class com.google.common.truth.TableSubject
Checks that the actual table contains the given cell.
containsCell(Object, Object, Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table contains the given cell.
containsColumn(Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table contains the given column key.
containsEntry(Object, M) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Fails if the map does not contain an entry with the given key and a value that corresponds to the given value.
containsEntry(Object, M) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Fails if the multimap does not contain an entry with the given key and a value that corresponds to the given value.
containsEntry(Object, E) - Method in class com.google.common.truth.MapSubject.UsingCorrespondence
Checks that the actual map contains an entry with the given key and a value that corresponds to the given value.
containsEntry(Object, E) - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
Checks that the actual multimap contains an entry with the given key and a value that corresponds to the given value.
containsEntry(Object, Object) - Method in class com.google.common.truth.MapSubject
Checks that the actual map contains the given entry.
containsEntry(Object, Object) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap contains the given entry.
containsExactly() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Fails if the multimap is not empty.
containsExactly() - Method in class com.google.common.truth.MapSubject
Checks that the actual map is empty.
containsExactly() - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap is empty.
containsExactly() - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
Checks that the actual multimap is empty.
containsExactly(double[]) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject.DoubleArrayAsIterable
containsExactly(float[]) - Method in class com.google.common.truth.PrimitiveFloatArraySubject.FloatArrayAsIterable
containsExactly(int...) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains exactly the given elements.
containsExactly(long...) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains exactly the given elements.
containsExactly(E...) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
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.
containsExactly(M...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that subject contains exactly elements that correspond to the expected elements, i.e.
containsExactly(Object...) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains exactly the provided objects.
containsExactly(Object...) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains exactly the given elements.
containsExactly(Object, E, Object...) - Method in class com.google.common.truth.MapSubject.UsingCorrespondence
Checks that the actual map contains exactly the given set of keys mapping to values that correspond to the given values.
containsExactly(Object, E, Object...) - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
Checks that the actual multimap contains exactly the given set of key/value pairs.
containsExactly(Object, M, Object...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Fails if the map does not contain exactly the given set of keys mapping to values that correspond to the given values.
containsExactly(Object, M, Object...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Fails if the multimap does not contain exactly the given set of key/value pairs.
containsExactly(Object, Object, Object...) - Method in class com.google.common.truth.MapSubject
Checks that the actual map contains exactly the given set of key/value pairs.
containsExactly(Object, Object, Object...) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap contains exactly the given set of key/value pairs.
containsExactlyElementsIn(E[]) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
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.
containsExactlyElementsIn(Iterable<?>) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream contains exactly the given elements.
containsExactlyElementsIn(Iterable<?>) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains exactly the provided objects.
containsExactlyElementsIn(Iterable<?>) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream contains exactly the given elements.
containsExactlyElementsIn(Iterable<?>) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream contains exactly the given elements.
containsExactlyElementsIn(Iterable<? extends E>) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
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.
containsExactlyElementsIn(Object[]) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains exactly the provided objects.
containsExactlyElementsIn(Iterable<? extends M>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that subject contains exactly elements that correspond to the expected elements, i.e.
containsExactlyElementsIn(M[]) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that subject contains exactly elements that correspond to the expected elements, i.e.
containsExactlyEntriesIn(Multimap<?, ?>) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap contains precisely the same entries as the argument Multimap.
containsExactlyEntriesIn(Multimap<?, ? extends E>) - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
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.
containsExactlyEntriesIn(Multimap<?, ? extends M>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
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.
containsExactlyEntriesIn(Map<?, ?>) - Method in class com.google.common.truth.MapSubject
Checks that the actual map contains exactly the given set of entries in the given map.
containsExactlyEntriesIn(Map<?, ? extends E>) - Method in class com.google.common.truth.MapSubject.UsingCorrespondence
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.
containsExactlyEntriesIn(Map<?, ? extends M>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
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.
containsKey(Object) - Method in class com.google.common.truth.MapSubject
Checks that the actual map contains the given key.
containsKey(Object) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap contains the given key.
containsMatch(Pattern) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string does not contain a match on the given regex.
containsMatch(String) - Method in class com.google.common.truth.StringSubject
Checks that the actual value contains a match on the given regex.
containsMatch(String) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string does not contain a match on the given regex.
containsMatch(Pattern) - Method in class com.google.common.truth.StringSubject
Checks that the actual value contains a match on the given regex.
containsNoDuplicates() - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream does not contain duplicate elements.
containsNoDuplicates() - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable does not contain duplicate elements.
containsNoDuplicates() - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream does not contain duplicate elements.
containsNoDuplicates() - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream does not contain duplicate elements.
containsNoneIn(E[]) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the subject contains no elements that correspond to any of the given elements.
containsNoneIn(Iterable<?>) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream does not contain any of the given elements.
containsNoneIn(Iterable<?>) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains none of the elements contained in the excluded iterable.
containsNoneIn(Iterable<?>) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream does not contain any of the given elements.
containsNoneIn(Iterable<?>) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream does not contain any of the given elements.
containsNoneIn(Object[]) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains none of the elements contained in the excluded array.
containsNoneIn(Iterable<? extends E>) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the actual iterable contains no elements that correspond to any of the given elements.
containsNoneIn(Iterable<? extends M>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains no elements that correspond to any of the given elements.
containsNoneIn(M[]) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains no elements that correspond to any of the given elements.
containsNoneOf(double[]) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject.DoubleArrayAsIterable
containsNoneOf(float[]) - Method in class com.google.common.truth.PrimitiveFloatArraySubject.FloatArrayAsIterable
containsNoneOf(int, int, int...) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream does not contain any of the given elements.
containsNoneOf(long, long, long...) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream does not contain any of the given elements.
containsNoneOf(M, M, M...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that the subject contains no elements that correspond to any of the given elements.
containsNoneOf(E, E, E...) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that the actual iterable contains no elements that correspond to any of the given elements.
containsNoneOf(Object, Object, Object...) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable contains none of the excluded objects.
containsNoneOf(Object, Object, Object...) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream does not contain any of the given elements.
containsRow(Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table contains the given row key.
containsValue(Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table contains the given value.
Conventions for handling exceptions - Search tag in com.google.common.truth.Correspondence.compare(A, E)
Section
Correspondence<A,E> - Class in com.google.common.truth
Determines whether an instance of type A corresponds in some way to an instance of type E for the purposes of a test assertion.
Correspondence.BinaryPredicate<A,E> - Interface in com.google.common.truth
A functional interface for a binary predicate, to be used to test whether a pair of objects of types A and E satisfy some condition.
Correspondence.DiffFormatter<A,E> - Interface in com.google.common.truth
A functional interface to be used format the diff between a pair of objects of types A and E.
create() - Static method in class com.google.common.truth.Expect
Creates a new instance.
createSubject(FailureMetadata, ActualT) - Method in interface com.google.common.truth.Subject.Factory
Creates a new Subject.
createSubjectBuilder(FailureMetadata) - Method in interface com.google.common.truth.CustomSubjectBuilder.Factory
Creates a new CustomSubjectBuilder of the appropriate type.
CustomSubjectBuilder - Class in com.google.common.truth
In a fluent assertion chain, exposes one or more "custom" that methods, which accept a value under test and return a Subject.
CustomSubjectBuilder(FailureMetadata) - Constructor for class com.google.common.truth.CustomSubjectBuilder
Constructor for use by subclasses.
CustomSubjectBuilder.Factory<CustomSubjectBuilderT> - Interface in com.google.common.truth
In a fluent assertion chain, the argument to the "custom" overload of about, the method that specifies what kind of Subject to create.

D

displayingDiffsPairedBy(Function<? super A, ?>, Function<? super E, ?>) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Specifies a way to pair up unexpected and missing elements in the message when an assertion fails.
displayingDiffsPairedBy(Function<? super E, ?>) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Specifies a way to pair up unexpected and missing elements in the message when an assertion fails.
displayingDiffsPairedBy(Function<? super M, ?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies a way to pair up unexpected and missing elements in the message when an assertion fails.
displayingDiffsPairedBy(Function<? super M, ?>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Specifies a way to pair up unexpected and missing elements in the message when an assertion fails.
doesNotContain(int) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream does not contain the given element.
doesNotContain(long) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream does not contain the given element.
doesNotContain(M) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that none of the actual elements correspond to the given element.
doesNotContain(E) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Checks that none of the actual elements correspond to the given element.
doesNotContain(CharSequence) - Method in class com.google.common.truth.StringSubject.CaseInsensitiveStringComparison
Checks that the actual value does not contain the given sequence (while ignoring case).
doesNotContain(CharSequence) - Method in class com.google.common.truth.StringSubject
Checks that the actual value does not contain the given sequence.
doesNotContain(Object) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable does not contain the supplied item.
doesNotContain(Object) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream does not contain the given element.
doesNotContain(Object, Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table does not contain a mapping for the given row key and column key.
doesNotContainCell(Table.Cell<?, ?, ?>) - Method in class com.google.common.truth.TableSubject
Checks that the actual table does not contain the given cell.
doesNotContainCell(Object, Object, Object) - Method in class com.google.common.truth.TableSubject
Checks that the actual table does not contain the given cell.
doesNotContainEntry(Object, M) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Fails if the map contains an entry with the given key and a value that corresponds to the given value.
doesNotContainEntry(Object, M) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Fails if the multimap contains an entry with the given key and a value that corresponds to the given value.
doesNotContainEntry(Object, E) - Method in class com.google.common.truth.MapSubject.UsingCorrespondence
Checks that the actual map does not contain an entry with the given key and a value that corresponds to the given value.
doesNotContainEntry(Object, E) - Method in class com.google.common.truth.MultimapSubject.UsingCorrespondence
Checks that the actual multimap does not contain an entry with the given key and a value that corresponds to the given value.
doesNotContainEntry(Object, Object) - Method in class com.google.common.truth.MapSubject
Checks that the actual map does not contain the given entry.
doesNotContainEntry(Object, Object) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap does not contain the given entry.
doesNotContainKey(Object) - Method in class com.google.common.truth.MapSubject
Checks that the actual map does not contain the given key.
doesNotContainKey(Object) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap does not contain the given key.
doesNotContainMatch(Pattern) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string contains a match on the given regex.
doesNotContainMatch(String) - Method in class com.google.common.truth.StringSubject
Checks that the actual value does not contain a match on the given regex.
doesNotContainMatch(String) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string contains a match on the given regex.
doesNotContainMatch(Pattern) - Method in class com.google.common.truth.StringSubject
Checks that the actual value does not contain a match on the given regex.
doesNotMatch(Pattern) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string matches the given regex.
doesNotMatch(String) - Method in class com.google.common.truth.StringSubject
Checks that the actual value does not match the given regex.
doesNotMatch(String) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string matches the given regex.
doesNotMatch(Pattern) - Method in class com.google.common.truth.StringSubject
Checks that the actual value does not match the given regex.
DoubleSubject - Class in com.google.common.truth
A subject for Double values.
DoubleSubject.TolerantDoubleComparison - Class in com.google.common.truth
A partially specified check about an approximate relationship to a double value using a tolerance.

E

endsWith(String) - Method in class com.google.common.truth.StringSubject
Checks that the actual value ends with the given string.
equals(Object) - Method in class com.google.common.truth.Correspondence
Deprecated.
Object.equals(Object) is not supported. If you meant to compare objects using this Correspondence, use Correspondence.compare(A, E).
equals(Object) - Method in class com.google.common.truth.DoubleSubject.TolerantDoubleComparison
Deprecated.
Object.equals(Object) is not supported on TolerantDoubleComparison. If you meant to compare doubles, use DoubleSubject.TolerantDoubleComparison.of(double) instead.
equals(Object) - Method in class com.google.common.truth.FloatSubject.TolerantFloatComparison
Deprecated.
Object.equals(Object) is not supported on TolerantFloatComparison. If you meant to compare floats, use FloatSubject.TolerantFloatComparison.of(float) instead.
equals(Object) - Method in class com.google.common.truth.IntegerSubject.TolerantIntegerComparison
Deprecated.
Object.equals(Object) is not supported on TolerantIntegerComparison. If you meant to compare ints, use IntegerSubject.TolerantIntegerComparison.of(int) instead.
equals(Object) - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Deprecated.
Object.equals(Object) is not supported on Truth subjects or intermediate classes. If you are writing a test assertion (actual vs. expected), use methods liks IterableSubject.UsingCorrespondence.containsExactlyElementsIn(Iterable) instead.
equals(Object) - Method in class com.google.common.truth.LongSubject.TolerantLongComparison
Deprecated.
Object.equals(Object) is not supported on TolerantLongComparison. If you meant to compare longs, use LongSubject.TolerantLongComparison.of(long) instead.
equals(Object) - Method in class com.google.common.truth.Subject
Deprecated.
Object.equals(Object) is not supported on Truth subjects. If you are writing a test assertion (actual vs. expected), use Subject.isEqualTo(Object) instead.
equals(Object) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Deprecated.
Do not call equals() on a IterableOfProtosFluentAssertion.
equals(Object) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Deprecated.
Do not call equals() on a MapWithProtoValuesFluentAssertion.
equals(Object) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Deprecated.
Do not call equals() on a MultimapWithProtoValuesFluentAssertion.
equals(Object) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Deprecated.
Do not call equals() on a ProtoFluentAssertion. Use ProtoFluentAssertion.isEqualTo(Message) instead.
Examples of exception handling - Search tag in com.google.common.truth.Correspondence.compare(A, E)
Section
Exception handling - Search tag in com.google.common.truth.Correspondence.compare(A, E)
Section
Expect - Class in com.google.common.truth
A TestRule that batches up all failures encountered during a test, and reports them all together at the end (similar to ErrorCollector).
expectFailure(ExpectFailure.StandardSubjectBuilderCallback) - Static method in class com.google.common.truth.ExpectFailure
Captures and returns the failure produced by the assertion in the provided callback, similar to assertThrows():
ExpectFailure - Class in com.google.common.truth
A utility for testing that assertions against a custom Subject fail when they should, plus a utility to assert about parts of the resulting failure messages.
ExpectFailure() - Constructor for class com.google.common.truth.ExpectFailure
Creates a new instance for use as a @Rule.
ExpectFailure.SimpleSubjectBuilderCallback<S,A> - Interface in com.google.common.truth
A "functional interface" for expectFailureAbout() to invoke and capture failures.
ExpectFailure.StandardSubjectBuilderCallback - Interface in com.google.common.truth
A "functional interface" for expectFailure() to invoke and capture failures.
expectFailureAbout(Subject.Factory<S, A>, ExpectFailure.SimpleSubjectBuilderCallback<S, A>) - Static method in class com.google.common.truth.ExpectFailure
Captures and returns the failure produced by the assertion in the provided callback, similar to assertThrows():

F

fact(String, Object) - Static method in class com.google.common.truth.Fact
Creates a fact with the given key and value, which will be printed in a format like "key: value."
Fact - Class in com.google.common.truth
A string key-value pair in a failure message, such as "expected: abc" or "but was: xyz."
factKeys() - Method in class com.google.common.truth.TruthFailureSubject
Returns a subject for the list of fact keys.
factValue(String) - Method in class com.google.common.truth.TruthFailureSubject
Returns a subject for the value with the given name.
factValue(String, int) - Method in class com.google.common.truth.TruthFailureSubject
Returns a subject for the value of the index-th instance of the fact with the given name.
fail() - Method in class com.google.common.truth.StandardSubjectBuilder
Reports a failure.
fail(AssertionError) - Method in interface com.google.common.truth.FailureStrategy
Handles a failure.
FailureMetadata - Class in com.google.common.truth
An opaque, immutable object containing state from the previous calls in the fluent assertion chain.
FailureStrategy - Interface in com.google.common.truth
Defines what to do when a check fails.
failWithActual(Fact, Fact...) - Method in class com.google.common.truth.Subject
Fails, reporting a message with the given facts, followed by an automatically added fact of the form: but was: actual value.
failWithActual(String, Object) - Method in class com.google.common.truth.Subject
Fails, reporting a message with two "facts": key: value but was: actual value.
failWithoutActual(Fact, Fact...) - Method in class com.google.common.truth.Subject
Fails, reporting a message with the given facts, without automatically adding the actual value.
FieldScope - Class in com.google.common.truth.extensions.proto
An immutable, abstract representation of a set of specific field paths.
FieldScopes - Class in com.google.common.truth.extensions.proto
Factory class for FieldScope instances.
FloatSubject - Class in com.google.common.truth
A subject for Float values.
FloatSubject.TolerantFloatComparison - Class in com.google.common.truth
A partially specified check about an approximate relationship to a float value using a tolerance.
forCustomFailureStrategy(FailureStrategy) - Static method in class com.google.common.truth.StandardSubjectBuilder
Returns a new instance that invokes the given FailureStrategy when a check fails.
formatDiff(A, E) - Method in interface com.google.common.truth.Correspondence.DiffFormatter
Returns a String describing the difference between the actual and expected values, if possible, or null if not.
formatDiff(A, E) - Method in class com.google.common.truth.Correspondence
Returns a String describing the difference between the actual and expected values, if possible, or null if not.
formattingDiffsUsing(Correspondence.DiffFormatter<? super A, ? super E>) - Method in class com.google.common.truth.Correspondence
Returns a new correspondence which is like this one, except that the given formatter may be used to format the difference between a pair of elements that do not correspond.
formattingDiffsUsing(Correspondence.DiffFormatter<? super T, ? super T>) - Method in class com.google.common.truth.IterableSubject
Starts a method chain for a check in which failure messages may use the given Correspondence.DiffFormatter to describe the difference between an actual element (i.e. an element of the Iterable under test) and the element it is expected to be equal to, but isn't.
formattingDiffsUsing(Correspondence.DiffFormatter<? super V, ? super V>) - Method in class com.google.common.truth.MapSubject
Starts a method chain for a check in which failure messages may use the given Correspondence.DiffFormatter to describe the difference between an actual map (i.e. a value in the Map under test) and the value it is expected to be equal to, but isn't.
For people extending Truth - Search tag in class com.google.common.truth.CustomSubjectBuilder
Section
For people extending Truth - Search tag in class com.google.common.truth.SimpleSubjectBuilder
Section
For people extending Truth - Search tag in class com.google.common.truth.StandardSubjectBuilder
Section
For people extending Truth - Search tag in class com.google.common.truth.Subject
Section
For people extending Truth - Search tag in class com.google.common.truth.Truth
Section
For people extending Truth - Search tag in interface com.google.common.truth.CustomSubjectBuilder.Factory
Section
For people extending Truth - Search tag in interface com.google.common.truth.FailureStrategy
Section
For people extending Truth - Search tag in interface com.google.common.truth.Subject.Factory
Section
from(Correspondence.BinaryPredicate<A, E>, String) - Static method in class com.google.common.truth.Correspondence
Constructs a Correspondence that compares actual and expected elements using the given binary predicate.
fromSetFields(Message) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which is constrained to precisely those specific field paths that are explicitly set in the message.
fromSetFields(Message, Message, Message...) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Creates a FieldScope covering the fields set in every message in the provided list of messages, with the same semantics as in FieldScopes.fromSetFields(Message).
fromSetFields(Message, TypeRegistry, ExtensionRegistry) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which is constrained to precisely those specific field paths that are explicitly set in the message.
fromSetFields(Iterable<? extends Message>) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Creates a FieldScope covering the fields set in every message in the provided list of messages, with the same semantics as in FieldScopes.fromSetFields(Message).
fromSetFields(Iterable<? extends Message>, TypeRegistry, ExtensionRegistry) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Creates a FieldScope covering the fields set in every message in the provided list of messages, with the same semantics as in FieldScopes.fromSetFields(Message).

G

getFailure() - Method in class com.google.common.truth.ExpectFailure
Legacy method that returns the failure captured by ExpectFailure.whenTesting(), if one occurred.
GuavaOptionalSubject - Class in com.google.common.truth
A subject for Guava Optional values.

H

hasAllRequiredFields() - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Checks whether the subject has all required fields set.
hasAllRequiredFields() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
hasCauseThat() - Method in class com.google.common.truth.ThrowableSubject
Returns a new ThrowableSubject that supports assertions on this throwable's direct cause.
hasCount(Object, int) - Method in class com.google.common.truth.MultisetSubject
Checks that the actual multiset has exactly the given number of occurrences of the given element.
hasFailures() - Method in class com.google.common.truth.Expect
 
hashCode() - Method in class com.google.common.truth.Correspondence
Deprecated.
Object.hashCode() is not supported.
hashCode() - Method in class com.google.common.truth.DoubleSubject.TolerantDoubleComparison
Deprecated.
Object.hashCode() is not supported on TolerantDoubleComparison
hashCode() - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Deprecated.
IterableOfProtosFluentAssertion does not support hashCode().
hashCode() - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Deprecated.
MapWithProtoValuesFluentAssertion does not support hashCode().
hashCode() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Deprecated.
MultimapWithProtoValuesFluentAssertion does not support hashCode().
hashCode() - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Deprecated.
ProtoFluentAssertion does not support hashCode(). Use ProtoFluentAssertion.isEqualTo(Message) for testing.
hashCode() - Method in class com.google.common.truth.FloatSubject.TolerantFloatComparison
Deprecated.
Object.hashCode() is not supported on TolerantFloatComparison
hashCode() - Method in class com.google.common.truth.IntegerSubject.TolerantIntegerComparison
Deprecated.
Object.hashCode() is not supported on TolerantIntegerComparison
hashCode() - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Deprecated.
Object.hashCode() is not supported on Truth types.
hashCode() - Method in class com.google.common.truth.LongSubject.TolerantLongComparison
Deprecated.
Object.hashCode() is not supported on TolerantLongComparison
hashCode() - Method in class com.google.common.truth.Subject
Deprecated.
Object.hashCode() is not supported on Truth subjects.
hasLength(int) - Method in class com.google.common.truth.ObjectArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveByteArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveCharArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveIntArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveLongArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.PrimitiveShortArraySubject
Checks that the actual array has the given length.
hasLength(int) - Method in class com.google.common.truth.StringSubject
Checks that the actual value has the given length.
hasMessageThat() - Method in class com.google.common.truth.ThrowableSubject
Returns a StringSubject to make assertions about the throwable's message.
hasSize(int) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream has the given size.
hasSize(int) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable has the given size.
hasSize(int) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream has the given size.
hasSize(int) - Method in class com.google.common.truth.MapSubject
Checks that the actual map has the given size.
hasSize(int) - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap has the given size.
hasSize(int) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream has the given size.
hasSize(int) - Method in class com.google.common.truth.TableSubject
Checks that the actual table has the given size.
hasValue(double) - Method in class com.google.common.truth.OptionalDoubleSubject
Checks that the actual OptionalDouble contains the given value.
hasValue(int) - Method in class com.google.common.truth.OptionalIntSubject
Checks that the actual OptionalInt contains the given value.
hasValue(long) - Method in class com.google.common.truth.OptionalLongSubject
Checks that the actual OptionalLong contains the given value.
hasValue(Object) - Method in class com.google.common.truth.GuavaOptionalSubject
Checks that the actual Optional contains the given value.
hasValue(Object) - Method in class com.google.common.truth.OptionalSubject
Checks that the actual Optional contains the given value.

I

ignoreCheck() - Method in class com.google.common.truth.Subject
Begins a new call chain that ignores any failures.
ignoringCase() - Method in class com.google.common.truth.StringSubject
Returns a StringSubject-like instance that will ignore the case of the characters.
ignoringExtraRepeatedFieldElements() - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElements() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElements() - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElements() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElementsForValues() - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElementsForValues() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElementsForValues() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElementsForValues() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are not found in the 'expected' proto are ignored, with the exception of fields in the expected proto which are empty.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(int, int...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringExtraRepeatedFieldElementsOfFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.
ignoringFieldAbsence() - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsence() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsence() - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsence() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsenceForValues() - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsenceForValues() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsenceForValues() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsenceForValues() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(int, int...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldAbsenceOfFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, minus all fields matching the given Descriptors.FieldDescriptors.
ignoringFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches everything except the provided field descriptors for the message.
ignoringFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, minus all fields defined by the given field numbers.
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches everything except the provided field descriptors for the message.
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Excludes all message fields matching the given Descriptors.FieldDescriptors from the comparison.
ignoringFields(int, int...) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, minus all fields defined by the given field numbers.
ignoringFields(int, int...) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches everything except the provided field numbers for the top level message type.
ignoringFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(int, int...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.FieldScope
Returns a FieldScope equivalent to this one, minus all fields defined by the given field numbers.
ignoringFields(Iterable<Integer>) - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches everything except the provided field numbers for the top level message type.
ignoringFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldScope(FieldScope) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScope(FieldScope) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScope(FieldScope) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScope(FieldScope) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScopeForValues(FieldScope) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScopeForValues(FieldScope) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScopeForValues(FieldScope) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldScopeForValues(FieldScope) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Excludes all specific field paths under the argument FieldScope from the comparison.
ignoringFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Excludes the top-level message fields with the given tag numbers from the comparison.
ignoringRepeatedFieldOrder() - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrder() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrder() - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrder() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrderForValues() - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrderForValues() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrderForValues() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrderForValues() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(int, int...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(int, int...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(int, int...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(int, int...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
ignoringRepeatedFieldOrderOfFieldsForValues(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.
inOrder() - Method in interface com.google.common.truth.Ordered
An additional assertion, implemented by some containment subjects which allows for a further constraint of orderedness.
IntegerSubject - Class in com.google.common.truth
A subject for Integer values.
IntegerSubject(FailureMetadata, Integer) - Constructor for class com.google.common.truth.IntegerSubject
Constructor for use by subclasses.
IntegerSubject.TolerantIntegerComparison - Class in com.google.common.truth
A partially specified check about an approximate relationship to a int actual value using a tolerance.
intStreams() - Static method in class com.google.common.truth.IntStreamSubject
Deprecated.
Instead of about(intStreams()).that(...), use just that(...). Similarly, instead of assertAbout(intStreams()).that(...), use just assertThat(...).
IntStreamSubject - Class in com.google.common.truth
A subject for IntStream values.
invokeAssertion(SimpleSubjectBuilder<S, A>) - Method in interface com.google.common.truth.ExpectFailure.SimpleSubjectBuilderCallback
 
invokeAssertion(StandardSubjectBuilder) - Method in interface com.google.common.truth.ExpectFailure.StandardSubjectBuilderCallback
 
isAbsent() - Method in class com.google.common.truth.GuavaOptionalSubject
Checks that the actual Optional does not contain a value.
isAnyOf(Object, Object, Object...) - Method in class com.google.common.truth.Subject
Checks that the value under test is equal to any of the given elements.
isAssignableTo(Class<?>) - Method in class com.google.common.truth.ClassSubject
Checks that the actual value is a subclass of the given class.
isAtLeast(int) - Method in class com.google.common.truth.DoubleSubject
Checks that the actual value is greater than or equal to other.
isAtLeast(int) - Method in class com.google.common.truth.FloatSubject
Checks that the actual value is greater than or equal to other.
isAtLeast(int) - Method in class com.google.common.truth.LongSubject
Checks that the actual value is greater than or equal to other.
isAtLeast(T) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is greater than or equal to other.
isAtMost(int) - Method in class com.google.common.truth.DoubleSubject
Checks that the actual value is less than or equal to other.
isAtMost(int) - Method in class com.google.common.truth.FloatSubject
Checks that the actual value is less than or equal to other.
isAtMost(int) - Method in class com.google.common.truth.LongSubject
Checks that the actual value is less than or equal to other.
isAtMost(T) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is less than or equal to other.
isEmpty() - Method in class com.google.common.truth.ObjectArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveByteArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveCharArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveIntArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveLongArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.PrimitiveShortArraySubject
Checks that the actual array is empty (i.e., that array.length == 0).
isEmpty() - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream is empty.
isEmpty() - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable is empty.
isEmpty() - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream is empty.
isEmpty() - Method in class com.google.common.truth.MapSubject
Checks that the actual map is empty.
isEmpty() - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap is empty.
isEmpty() - Method in class com.google.common.truth.OptionalDoubleSubject
Checks that the actual OptionalDouble does not contain a value.
isEmpty() - Method in class com.google.common.truth.OptionalIntSubject
Checks that the actual OptionalInt does not contain a value.
isEmpty() - Method in class com.google.common.truth.OptionalLongSubject
Checks that the actual OptionalLong does not contain a value.
isEmpty() - Method in class com.google.common.truth.OptionalSubject
Checks that the actual Optional does not contain a value.
isEmpty() - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream is empty.
isEmpty() - Method in class com.google.common.truth.StringSubject
Checks that the actual value is the empty string.
isEmpty() - Method in class com.google.common.truth.TableSubject
Checks that the actual table is empty.
isEqualTo(Message) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares the subject of the assertion to expected, using all of the rules specified by earlier operations.
isEqualTo(MessageLite.Builder) - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Deprecated.
A Builder can never compare equal to a MessageLite instance. Use build(), or buildPartial() on the argument to get a MessageLite for comparison instead. Or, if you are passing null, use Subject.isNull().
isEqualTo(Object) - Method in class com.google.common.truth.BigDecimalSubject
Checks that the actual value (including scale) is equal to the given BigDecimal.
isEqualTo(Object) - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is exactly equal to the given value, with equality defined as by Double#equals.
isEqualTo(Object) - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Checks whether the MessageLite is equivalent to the argument, using the standard equals() implementation.
isEqualTo(Object) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
isEqualTo(Object) - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is exactly equal to the given value, with equality defined as by Float#equals.
isEqualTo(Object) - Method in class com.google.common.truth.IterableSubject
 
isEqualTo(Object) - Method in class com.google.common.truth.MapSubject
 
isEqualTo(Object) - Method in class com.google.common.truth.MultimapSubject
 
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Checks that the actual array and expected are arrays of the same length and type, containing elements such that each element in expected is equal to each element in the actual array, and in the same position, with element equality defined the same way that Arrays.equals(double[], double[]) and Double.equals(Object) define it (which is different to the way that the == operator on primitive double defines it).
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Checks that the actual array and expected are arrays of the same length and type, containing elements such that each element in expected is equal to each element in the actual array, and in the same position, with element equality defined the same way that Arrays.equals(float[], float[]) and Float.equals(Object) define it (which is different to the way that the == operator on primitive float defines it).
isEqualTo(Object) - Method in class com.google.common.truth.StreamSubject
Deprecated.
streamA.isEqualTo(streamB) always fails, except when passed the exact same stream reference. If you really want to test object identity, you can eliminate this deprecation warning by using Subject.isSameInstanceAs(java.lang.Object). If you instead want to test the contents of the stream, use StreamSubject.containsExactly(java.lang.Object...) or similar methods.
isEqualTo(Object) - Method in class com.google.common.truth.Subject
Checks that the value under test is equal to the given object.
isEqualTo(String) - Method in class com.google.common.truth.StringSubject.CaseInsensitiveStringComparison
Checks that the actual value is equal to the given sequence (while ignoring case).
isEqualToDefaultInstance() - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Checks whether the subject is a MessageLite with no fields set.
isEqualToIgnoringScale(long) - Method in class com.google.common.truth.BigDecimalSubject
Checks that the actual value is equal to the value of the BigDecimal created from the expected long (i.e., checks that actual.comparesTo(new BigDecimal(expected)) == 0).
isEqualToIgnoringScale(String) - Method in class com.google.common.truth.BigDecimalSubject
Checks that the actual value is equal to the value of the BigDecimal created from the expected string (i.e., checks that actual.comparesTo(new BigDecimal(expected)) == 0).
isEqualToIgnoringScale(BigDecimal) - Method in class com.google.common.truth.BigDecimalSubject
Checks that the actual value is equal to the value of the given BigDecimal.
isEquivalentAccordingToCompareTo(T) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is equivalent to other according to Comparable.compareTo(T), (i.e., checks that a.comparesTo(b) == 0).
isEquivalentAccordingToCompareTo(Double) - Method in class com.google.common.truth.DoubleSubject
Deprecated.
Use DoubleSubject.isWithin(double) or DoubleSubject.isEqualTo(java.lang.Object) instead (see documentation for advice).
isEquivalentAccordingToCompareTo(Float) - Method in class com.google.common.truth.FloatSubject
Deprecated.
Use FloatSubject.isWithin(float) or FloatSubject.isEqualTo(java.lang.Object) instead (see documentation for advice).
isEquivalentAccordingToCompareTo(Integer) - Method in class com.google.common.truth.IntegerSubject
Deprecated.
Use Subject.isEqualTo(java.lang.Object) instead. Integer comparison is consistent with equality.
isEquivalentAccordingToCompareTo(Long) - Method in class com.google.common.truth.LongSubject
Deprecated.
Use Subject.isEqualTo(java.lang.Object) instead. Long comparison is consistent with equality.
isEquivalentAccordingToCompareTo(String) - Method in class com.google.common.truth.StringSubject
Deprecated.
Use Subject.isEqualTo(java.lang.Object) instead. String comparison is consistent with equality.
isEquivalentAccordingToCompareTo(BigDecimal) - Method in class com.google.common.truth.BigDecimalSubject
Checks that the actual value is equivalent to the given value according to Comparable.compareTo(T), (i.e., checks that a.comparesTo(b) == 0).
isFalse() - Method in class com.google.common.truth.BooleanSubject
Checks that the actual value is false.
isFinite() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is finite, i.e. not Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, or Double.NaN.
isFinite() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is finite, i.e. not Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, or Float.NaN.
isGreaterThan(int) - Method in class com.google.common.truth.DoubleSubject
Checks that the actual value is greater than other.
isGreaterThan(int) - Method in class com.google.common.truth.FloatSubject
Checks that the actual value is greater than other.
isGreaterThan(int) - Method in class com.google.common.truth.LongSubject
Checks that the actual value is greater than other.
isGreaterThan(T) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is greater than other.
isIn(Range<T>) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is in range.
isIn(Iterable<?>) - Method in class com.google.common.truth.Subject
Checks that the value under test is equal to any element in the given iterable.
isInOrder() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Deprecated.
Protos do not implement Comparable, so you must supply a comparator.
isInOrder() - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream is ordered, according to the natural ordering of its elements.
isInOrder() - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable is ordered, according to the natural ordering of its elements.
isInOrder() - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream is ordered, according to the natural ordering of its elements.
isInOrder() - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream is ordered, according to the natural ordering of its elements.
isInOrder(Comparator<?>) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable is ordered, according to the given comparator.
isInOrder(Comparator<?>) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream is ordered, according to the given comparator.
isInOrder(Comparator<? super Integer>) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream is ordered, according to the given comparator.
isInOrder(Comparator<? super Long>) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream is ordered, according to the given comparator.
isInstanceOf(Class<?>) - Method in class com.google.common.truth.Subject
Checks that the value under test is an instance of the given class.
isInStrictOrder() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Deprecated.
Protos do not implement Comparable, so you must supply a comparator.
isInStrictOrder() - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream is strictly ordered, according to the natural ordering of its elements.
isInStrictOrder() - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable is strictly ordered, according to the natural ordering of its elements.
isInStrictOrder() - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream is strictly ordered, according to the natural ordering of its elements.
isInStrictOrder() - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream is strictly ordered, according to the natural ordering of its elements.
isInStrictOrder(Comparator<?>) - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable is strictly ordered, according to the given comparator.
isInStrictOrder(Comparator<?>) - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream is strictly ordered, according to the given comparator.
isInStrictOrder(Comparator<? super Integer>) - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream is strictly ordered, according to the given comparator.
isInStrictOrder(Comparator<? super Long>) - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream is strictly ordered, according to the given comparator.
isLessThan(int) - Method in class com.google.common.truth.DoubleSubject
Checks that the actual value is less than other.
isLessThan(int) - Method in class com.google.common.truth.FloatSubject
Checks that the actual value is less than other.
isLessThan(int) - Method in class com.google.common.truth.LongSubject
Checks that the actual value is less than other.
isLessThan(T) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is less than other.
isNaN() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is Double.NaN.
isNaN() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is Float.NaN.
isNegativeInfinity() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is Double.NEGATIVE_INFINITY.
isNegativeInfinity() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is Float.NEGATIVE_INFINITY.
isNoneOf(Object, Object, Object...) - Method in class com.google.common.truth.IterableSubject
isNoneOf(Object, Object, Object...) - Method in class com.google.common.truth.Subject
Checks that the value under test is not equal to any of the given elements.
isNonZero() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is a non-null value other than zero (i.e. it is not 0.0, -0.0 or null).
isNonZero() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is a non-null value other than zero (i.e. it is not 0.0f, -0.0f or null).
isNotEmpty() - Method in class com.google.common.truth.ObjectArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveByteArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveCharArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveIntArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveLongArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.PrimitiveShortArraySubject
Checks that the actual array is not empty (i.e., that array.length > 0).
isNotEmpty() - Method in class com.google.common.truth.IntStreamSubject
Checks that the actual stream is not empty.
isNotEmpty() - Method in class com.google.common.truth.IterableSubject
Checks that the actual iterable is not empty.
isNotEmpty() - Method in class com.google.common.truth.LongStreamSubject
Checks that the actual stream is not empty.
isNotEmpty() - Method in class com.google.common.truth.MapSubject
Checks that the actual map is not empty.
isNotEmpty() - Method in class com.google.common.truth.MultimapSubject
Checks that the actual multimap is not empty.
isNotEmpty() - Method in class com.google.common.truth.StreamSubject
Checks that the actual stream is not empty.
isNotEmpty() - Method in class com.google.common.truth.StringSubject
Checks that the actual value is not the empty string.
isNotEmpty() - Method in class com.google.common.truth.TableSubject
Checks that the actual table is not empty.
isNotEqualTo(Message) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares the subject of the assertion to expected, expecting a difference, using all of the rules specified by earlier operations.
isNotEqualTo(MessageLite.Builder) - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Deprecated.
A Builder will never compare equal to a MessageLite instance. Use build(), or buildPartial() on the argument to get a MessageLite for comparison instead. Or, if you are passing null, use Subject.isNotNull().
isNotEqualTo(Object) - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is not exactly equal to the given value, with equality defined as by Double#equals.
isNotEqualTo(Object) - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is not exactly equal to the given value, with equality defined as by Float#equals.
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Checks that the actual array and expected are not arrays of the same length and type, containing elements such that each element in expected is equal to each element in the actual array, and in the same position, with element equality defined the same way that Arrays.equals(double[], double[]) and Double.equals(Object) define it (which is different to the way that the == operator on primitive double defines it).
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Checks that the actual array and expected are not arrays of the same length and type, containing elements such that each element in expected is equal to each element in the actual array, and in the same position, with element equality defined the same way that Arrays.equals(float[], float[]) and Float.equals(Object) define it (which is different to the way that the == operator on primitive float defines it).
isNotEqualTo(Object) - Method in class com.google.common.truth.StreamSubject
Deprecated.
streamA.isNotEqualTo(streamB) always passes, except when passed the exact same stream reference. If you really want to test object identity, you can eliminate this deprecation warning by using Subject.isNotSameInstanceAs(java.lang.Object). If you instead want to test the contents of the stream, collect both streams to lists and perform assertions like Subject.isNotEqualTo(java.lang.Object) on them. In some cases, you may be able to use StreamSubject assertions like StreamSubject.doesNotContain(java.lang.Object).
isNotEqualTo(Object) - Method in class com.google.common.truth.Subject
Checks that the value under test is not equal to the given object.
isNotEqualTo(String) - Method in class com.google.common.truth.StringSubject.CaseInsensitiveStringComparison
Checks that the actual value is not equal to the given string (while ignoring case).
isNotEqualToDefaultInstance() - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Checks whether the subject is not equivalent to a MessageLite with no fields set.
isNotIn(Range<T>) - Method in class com.google.common.truth.ComparableSubject
Checks that the actual value is not in range.
isNotIn(Iterable<?>) - Method in class com.google.common.truth.IterableSubject
Deprecated.
You probably meant to call IterableSubject.containsNoneIn(java.lang.Iterable<?>) instead.
isNotIn(Iterable<?>) - Method in class com.google.common.truth.Subject
Checks that the value under test is not equal to any element in the given iterable.
isNotInstanceOf(Class<?>) - Method in class com.google.common.truth.Subject
Checks that the value under test is not an instance of the given class.
isNotNaN() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is a non-null value other than Double.NaN (but it may be Double.POSITIVE_INFINITY or Double.NEGATIVE_INFINITY).
isNotNaN() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is a non-null value other than Float.NaN (but it may be Float.POSITIVE_INFINITY or Float.NEGATIVE_INFINITY).
isNotNull() - Method in class com.google.common.truth.Subject
Checks that the value under test is not null.
isNotSameInstanceAs(Object) - Method in class com.google.common.truth.Subject
Checks that the value under test is not the same instance as the given object.
isNotWithin(double) - Method in class com.google.common.truth.DoubleSubject
Prepares for a check that the actual value is a finite number not within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isNotWithin(float) - Method in class com.google.common.truth.FloatSubject
Prepares for a check that the actual value is a finite number not within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isNotWithin(int) - Method in class com.google.common.truth.IntegerSubject
Prepares for a check that the actual value is a number not within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isNotWithin(long) - Method in class com.google.common.truth.LongSubject
Prepares for a check that the actual value is a number not within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isNull() - Method in class com.google.common.truth.Subject
Checks that the value under test is null.
isPositiveInfinity() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is Double.POSITIVE_INFINITY.
isPositiveInfinity() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is Float.POSITIVE_INFINITY.
isPresent() - Method in class com.google.common.truth.GuavaOptionalSubject
Checks that the actual Optional contains a value.
isPresent() - Method in class com.google.common.truth.OptionalDoubleSubject
Checks that the actual OptionalDouble contains a value.
isPresent() - Method in class com.google.common.truth.OptionalIntSubject
Checks that the actual OptionalInt contains a value.
isPresent() - Method in class com.google.common.truth.OptionalLongSubject
Checks that the actual OptionalLong contains a value.
isPresent() - Method in class com.google.common.truth.OptionalSubject
Checks that the actual Optional contains a value.
isSameInstanceAs(Object) - Method in class com.google.common.truth.Subject
Checks that the value under test is the same instance as the given object.
isTrue() - Method in class com.google.common.truth.BooleanSubject
Checks that the actual value is true.
isWithin(double) - Method in class com.google.common.truth.DoubleSubject
Prepares for a check that the actual value is a finite number within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isWithin(float) - Method in class com.google.common.truth.FloatSubject
Prepares for a check that the actual value is a finite number within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isWithin(int) - Method in class com.google.common.truth.IntegerSubject
Prepares for a check that the actual value is a number within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isWithin(long) - Method in class com.google.common.truth.LongSubject
Prepares for a check that the actual value is a number within the given tolerance of an expected value that will be provided in the next call in the fluent chain.
isZero() - Method in class com.google.common.truth.DoubleSubject
Asserts that the actual value is zero (i.e. it is either 0.0 or -0.0).
isZero() - Method in class com.google.common.truth.FloatSubject
Asserts that the actual value is zero (i.e. it is either 0.0f or -0.0f).
IterableOfProtosFluentAssertion<M> - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of iterables of protocol buffers.
IterableOfProtosSubject<M> - Class in com.google.common.truth.extensions.proto
Truth subject for the iterables of protocol buffers.
IterableOfProtosSubject(FailureMetadata, Iterable<M>) - Constructor for class com.google.common.truth.extensions.proto.IterableOfProtosSubject
 
IterableOfProtosUsingCorrespondence<M> - Interface in com.google.common.truth.extensions.proto
Comparison methods, which enforce the rules set in prior calls to IterableOfProtosFluentAssertion.
IterableSubject - Class in com.google.common.truth
A subject for Iterable values.
IterableSubject(FailureMetadata, Iterable<?>) - Constructor for class com.google.common.truth.IterableSubject
Constructor for use by subclasses.
IterableSubject.UsingCorrespondence<A,E> - Class in com.google.common.truth
A partially specified check in which the actual elements (normally the elements of the Iterable under test) are compared to expected elements using a Correspondence.

L

liteProtos() - Static method in class com.google.common.truth.extensions.proto.LiteProtoTruth
 
LiteProtoSubject - Class in com.google.common.truth.extensions.proto
Truth subjects for the Lite version of Protocol Buffers.
LiteProtoSubject(FailureMetadata, MessageLite) - Constructor for class com.google.common.truth.extensions.proto.LiteProtoSubject
 
LiteProtoTruth - Class in com.google.common.truth.extensions.proto
A set of static methods to begin a Truth assertion chain for the lite version of protocol buffers.
longStreams() - Static method in class com.google.common.truth.LongStreamSubject
Deprecated.
Instead of about(longStreams()).that(...), use just that(...). Similarly, instead of assertAbout(longStreams()).that(...), use just assertThat(...).
LongStreamSubject - Class in com.google.common.truth
A subject for LongStream values.
LongSubject - Class in com.google.common.truth
A subject for long values.
LongSubject(FailureMetadata, Long) - Constructor for class com.google.common.truth.LongSubject
Constructor for use by subclasses.
LongSubject.TolerantLongComparison - Class in com.google.common.truth
A partially specified check about an approximate relationship to a long value using a tolerance.

M

MapSubject - Class in com.google.common.truth
A subject for Map values.
MapSubject(FailureMetadata, Map<?, ?>) - Constructor for class com.google.common.truth.MapSubject
Constructor for use by subclasses.
MapSubject.UsingCorrespondence<A,E> - Class in com.google.common.truth
A partially specified check in which the actual values (i.e. the values of the Map under test) are compared to expected values using a Correspondence.
MapWithProtoValuesFluentAssertion<M> - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of maps containing protocol buffers as values.
MapWithProtoValuesSubject<M> - Class in com.google.common.truth.extensions.proto
Truth subject for maps with protocol buffers for values.
MapWithProtoValuesSubject(FailureMetadata, Map<?, M>) - Constructor for class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
 
matches(Pattern) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string does not match the given regex.
matches(String) - Method in class com.google.common.truth.StringSubject
Checks that the actual value matches the given regex.
matches(String) - Method in class com.google.common.truth.extensions.re2j.Re2jSubjects.Re2jStringSubject
Fails if the string does not match the given regex.
matches(Pattern) - Method in class com.google.common.truth.StringSubject
Checks that the actual value matches the given regex.
metadata() - Method in class com.google.common.truth.CustomSubjectBuilder
Returns the FailureMetadata instance that that methods should pass to Subject constructors.
MultimapSubject - Class in com.google.common.truth
A subject for Multimap values.
MultimapSubject(FailureMetadata, Multimap<?, ?>) - Constructor for class com.google.common.truth.MultimapSubject
Constructor for use by subclasses.
MultimapSubject.UsingCorrespondence<A,E> - Class in com.google.common.truth
A partially specified check in which the actual values (i.e. the values of the Multimap under test) are compared to expected values using a Correspondence.
MultimapWithProtoValuesFluentAssertion<M> - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of Multimaps containing protocol buffers as values.
MultimapWithProtoValuesSubject<M> - Class in com.google.common.truth.extensions.proto
Truth subject for Multimaps with protocol buffers for values.
MultimapWithProtoValuesSubject(FailureMetadata, Multimap<?, M>) - Constructor for class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
 
MultisetSubject - Class in com.google.common.truth
A subject for Multiset values.

N

none() - Static method in class com.google.common.truth.extensions.proto.FieldScopes
Returns a FieldScope which matches no fields.

O

ObjectArraySubject<T> - Class in com.google.common.truth
A subject for Object[] and more generically T[].
of(double) - Method in class com.google.common.truth.DoubleSubject.TolerantDoubleComparison
Checks that the actual value is within the tolerance of the given value or not within the tolerance of the given value, depending on the choice made earlier in the fluent call chain.
of(float) - Method in class com.google.common.truth.FloatSubject.TolerantFloatComparison
Checks that the actual value is within the tolerance of the given value or not within the tolerance of the given value, depending on the choice made earlier in the fluent call chain.
of(int) - Method in class com.google.common.truth.IntegerSubject.TolerantIntegerComparison
Checks that the actual value is within the tolerance of the given value or not within the tolerance of the given value, depending on the choice made earlier in the fluent call chain.
of(long) - Method in class com.google.common.truth.LongSubject.TolerantLongComparison
Checks that the actual value is within the tolerance of the given value or not within the tolerance of the given value, depending on the choice made earlier in the fluent call chain.
optionalDoubles() - Static method in class com.google.common.truth.OptionalDoubleSubject
Deprecated.
Instead of about(optionalDoubles()).that(...), use just that(...). Similarly, instead of assertAbout(optionalDoubles()).that(...), use just assertThat(...).
OptionalDoubleSubject - Class in com.google.common.truth
A subject for OptionalDouble values.
optionalInts() - Static method in class com.google.common.truth.OptionalIntSubject
Deprecated.
Instead of about(optionalInts()).that(...), use just that(...). Similarly, instead of assertAbout(optionalInts()).that(...), use just assertThat(...).
OptionalIntSubject - Class in com.google.common.truth
A subject for OptionalInt values.
optionalLongs() - Static method in class com.google.common.truth.OptionalLongSubject
Deprecated.
Instead of about(optionalLongs()).that(...), use just that(...). Similarly, instead of assertAbout(optionalLongs()).that(...), use just assertThat(...).
OptionalLongSubject - Class in com.google.common.truth
A subject for OptionalLong values.
optionals() - Static method in class com.google.common.truth.OptionalSubject
Deprecated.
Instead of about(optionals()).that(...), use just that(...). Similarly, instead of assertAbout(optionals()).that(...), use just assertThat(...).
OptionalSubject - Class in com.google.common.truth
A subject for Optional values.
Ordered - Interface in com.google.common.truth
Returned by calls like IterableSubject.containsExactly(java.lang.Object...), Ordered lets the caller additionally check that the expected elements were present in the order they were passed to the previous calls.

P

paths() - Static method in class com.google.common.truth.PathSubject
Deprecated.
Instead of about(paths()).that(...), use just that(...). Similarly, instead of assertAbout(paths()).that(...), use just assertThat(...).
PathSubject - Class in com.google.common.truth
Assertions for Path instances.
PrimitiveBooleanArraySubject - Class in com.google.common.truth
A subject for boolean[].
PrimitiveByteArraySubject - Class in com.google.common.truth
A subject for byte[].
PrimitiveCharArraySubject - Class in com.google.common.truth
A subject for char[].
PrimitiveDoubleArraySubject - Class in com.google.common.truth
A subject for double[].
PrimitiveDoubleArraySubject.DoubleArrayAsIterable - Class in com.google.common.truth
A partially specified check for doing assertions on the array similar to the assertions supported for Iterable values, in which the elements of the array under test are compared to expected elements using either exact or tolerant double equality: see PrimitiveDoubleArraySubject.usingExactEquality() and PrimitiveDoubleArraySubject.usingTolerance(double).
PrimitiveFloatArraySubject - Class in com.google.common.truth
A subject for float[].
PrimitiveFloatArraySubject.FloatArrayAsIterable - Class in com.google.common.truth
A partially specified check for doing assertions on the array similar to the assertions supported for Iterable values, in which the elements of the array under test are compared to expected elements using either exact or tolerant float equality: see PrimitiveFloatArraySubject.usingExactEquality() and PrimitiveFloatArraySubject.usingTolerance(double).
PrimitiveIntArraySubject - Class in com.google.common.truth
A subject for int[].
PrimitiveLongArraySubject - Class in com.google.common.truth
A subject for long[].
PrimitiveShortArraySubject - Class in com.google.common.truth
A subject for short[].
ProtoFluentAssertion - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of Protocol buffers.
protos() - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Returns a CustomSubjectBuilder.Factory, akin to a Subject.Factory, which can be used to assert on multiple types of Protos and collections containing them.
ProtoSubject - Class in com.google.common.truth.extensions.proto
Truth subject for the full version of Protocol Buffers.
ProtoSubject(FailureMetadata, Message) - Constructor for class com.google.common.truth.extensions.proto.ProtoSubject
 
ProtoSubjectBuilder - Class in com.google.common.truth.extensions.proto
CustomSubjectBuilder which aggregates all Proto-related Subject classes into a single place.
ProtoTruth - Class in com.google.common.truth.extensions.proto
A set of static methods to begin a Truth assertion chain for protocol buffers.

R

re2jString() - Static method in class com.google.common.truth.extensions.re2j.Re2jSubjects
Returns a subject factory for String subjects which you can use to assert things about Pattern regexes.
Re2jSubjects - Class in com.google.common.truth.extensions.re2j
Truth subjects for re2j regular expressions.
Re2jSubjects.Re2jStringSubject - Class in com.google.common.truth.extensions.re2j
Subject for String subjects which you can use to assert things about Pattern regexes.
reportingMismatchesOnly() - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnly() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnly() - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnly() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnlyForValues() - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnlyForValues() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnlyForValues() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.
reportingMismatchesOnlyForValues() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
If set, in the event of a comparison failure, the error message printed will list only those specific fields that did not match between the actual and expected values.

S

serializedSize() - Method in class com.google.common.truth.extensions.proto.LiteProtoSubject
Returns an IntegerSubject on the serialized size of the MessageLite.
simpleFact(String) - Static method in class com.google.common.truth.Fact
Creates a fact with no value, which will be printed in the format "key" (with no colon or value).
SimpleSubjectBuilder<SubjectT,ActualT> - Class in com.google.common.truth
In a fluent assertion chain, exposes the most common that method, which accepts a value under test and returns a Subject.
StandardSubjectBuilder - Class in com.google.common.truth
In a fluent assertion chain, an object with which you can do any of the following: Set an optional message with StandardSubjectBuilder.withMessage(java.lang.String).
startsWith(String) - Method in class com.google.common.truth.StringSubject
Checks that the actual value starts with the given string.
streams() - Static method in class com.google.common.truth.StreamSubject
Deprecated.
Instead of about(streams()).that(...), use just that(...). Similarly, instead of assertAbout(streams()).that(...), use just assertThat(...).
StreamSubject - Class in com.google.common.truth
A subject for Stream values.
StringSubject - Class in com.google.common.truth
A subject for String values.
StringSubject(FailureMetadata, String) - Constructor for class com.google.common.truth.StringSubject
Constructor for use by subclasses.
StringSubject.CaseInsensitiveStringComparison - Class in com.google.common.truth
Offers case-insensitive checks for string values.
Subject - Class in com.google.common.truth
An object that lets you perform checks on the value under test.
Subject(FailureMetadata, Object) - Constructor for class com.google.common.truth.Subject
Constructor for use by subclasses.
Subject.Factory<SubjectT,ActualT> - Interface in com.google.common.truth
In a fluent assertion chain, the argument to the common overload of about, the method that specifies what kind of Subject to create.

T

TableSubject - Class in com.google.common.truth
A subject for Table values.
that(boolean[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(byte[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(char[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(double[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(float[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(int[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(long[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(short[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(ActualT) - Method in class com.google.common.truth.SimpleSubjectBuilder
 
that(ComparableT) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Optional<?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Multimap<?, ?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Multimap<?, M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Multiset<?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Table<?, ?, ?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Message) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(MessageLite) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Boolean) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Class<?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Double) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Float) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Integer) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Iterable<?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Iterable<M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Long) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Object) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(String) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Throwable) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(BigDecimal) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Path) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Map<?, ?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Map<?, M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Optional<?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(OptionalDouble) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(OptionalInt) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(OptionalLong) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(IntStream) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(LongStream) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(Stream<?>) - Method in class com.google.common.truth.StandardSubjectBuilder
 
that(T[]) - Method in class com.google.common.truth.StandardSubjectBuilder
 
ThrowableSubject - Class in com.google.common.truth
A subject for Throwable values.
ThrowableSubject(FailureMetadata, Throwable) - Constructor for class com.google.common.truth.ThrowableSubject
Constructor for use by subclasses.
tolerance(double) - Static method in class com.google.common.truth.Correspondence
Returns a Correspondence between Number instances that considers instances to correspond (i.e.
toString() - Method in class com.google.common.truth.Correspondence
Returns a description of the correspondence, suitable to fill the gap in a failure message of the form "<some actual element> is an element that ... <some expected element>".
toString() - Method in class com.google.common.truth.Fact
Returns a simple string representation for the fact.
toString() - Method in class com.google.common.truth.IterableSubject.UsingCorrespondence
Deprecated.
Object.toString() is not supported on Truth subjects.
toString() - Method in class com.google.common.truth.Subject
Deprecated.
Object.toString() is not supported on Truth subjects.
transforming(Function<A, ?>, Function<E, ?>, String) - Static method in class com.google.common.truth.Correspondence
Constructs a Correspondence that compares elements by transforming the actual and the expected elements using the given functions and testing the transformed values for equality.
transforming(Function<A, ? extends E>, String) - Static method in class com.google.common.truth.Correspondence
Constructs a Correspondence that compares elements by transforming the actual elements using the given function and testing for equality with the expected elements.
Truth - Class in com.google.common.truth
The primary entry point for Truth, a library for fluent test assertions.
Truth8 - Class in com.google.common.truth
Deprecated.
Instead of this class's methods, use the identical methods declared in the main Truth class. In most cases, you can migrate your whole project mechanically: git grep -l Truth8 | xargs perl -pi -e 's/\bTruth8\b/Truth/g;' Migration is important if you static import assertThat: If you do not migrate, such static imports will become ambiguous in Truth 1.4.2, breaking your build.
truthFailures() - Static method in class com.google.common.truth.TruthFailureSubject
Factory for creating TruthFailureSubject instances.
TruthFailureSubject - Class in com.google.common.truth
Subject for AssertionError objects thrown by Truth.
TruthJUnit - Class in com.google.common.truth
Provides a way to use Truth to perform JUnit "assumptions."

U

unpackingAnyUsing(TypeRegistry, ExtensionRegistry) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsing(TypeRegistry, ExtensionRegistry) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsing(TypeRegistry, ExtensionRegistry) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsing(TypeRegistry, ExtensionRegistry) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsingForValues(TypeRegistry, ExtensionRegistry) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsingForValues(TypeRegistry, ExtensionRegistry) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsingForValues(TypeRegistry, ExtensionRegistry) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
unpackingAnyUsingForValues(TypeRegistry, ExtensionRegistry) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Specifies the TypeRegistry and ExtensionRegistry to use for Any messages.
usingDoubleTolerance(double) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleTolerance(double) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleTolerance(double) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleTolerance(double) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleToleranceForFieldDescriptors(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptors(double, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFieldDescriptorsForValues(double, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares double fields with these explicitly specified fields using the provided absolute tolerance.
usingDoubleToleranceForFields(double, int, int...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, int, int...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, int, int...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFields(double, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, int, int...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, int, int...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, int, int...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, int, int...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForFieldsForValues(double, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingDoubleToleranceForValues(double) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleToleranceForValues(double) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleToleranceForValues(double) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingDoubleToleranceForValues(double) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares double fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingExactEquality() - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Starts a method chain for a check in which the actual values (i.e. the elements of the array under test) are compared to expected elements using a Correspondence which considers values to correspond if they are exactly equal, with equality defined by Double.equals(java.lang.Object).
usingExactEquality() - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Starts a method chain for a check in which the actual values (i.e. the elements of the array under test) are compared to expected elements using a Correspondence which considers values to correspond if they are exactly equal, with equality defined by Float.equals(java.lang.Object).
usingFloatTolerance(float) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatTolerance(float) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatTolerance(float) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatTolerance(float) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatToleranceForFieldDescriptors(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptors(float, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares float fields with these explicitly specified fields using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Iterable<Descriptors.FieldDescriptor>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldDescriptorsForValues(float, Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, int, int...) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, int, int...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, int, int...) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFields(float, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, int, int...) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, int, int...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, int, int...) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, int, int...) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, Iterable<Integer>) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForFieldsForValues(float, Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.
usingFloatToleranceForValues(float) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatToleranceForValues(float) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatToleranceForValues(float) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingFloatToleranceForValues(float) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Compares float fields as equal if they are both finite and their absolute difference is less than or equal to tolerance.
usingTolerance(double) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Starts a method chain for a check in which the actual values (i.e. the elements of the array under test) are compared to expected elements using a Correspondence which considers values to correspond if they are finite values within tolerance of each other.
usingTolerance(double) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Starts a method chain for a check in which the actual values (i.e. the elements of the array under test) are compared to expected elements using a Correspondence which considers values to correspond if they are finite values within tolerance of each other.

V

valuesForKey(Object) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Returns a context-aware Subject for making assertions about the values for the given key within the Multimap.
valuesForKey(Object) - Method in class com.google.common.truth.MultimapSubject
Returns a Subject for making assertions about the values for the given key within the Multimap.

W

whenTesting() - Method in class com.google.common.truth.ExpectFailure
Legacy method that returns a subject builder that expects the chained assertion to fail, and makes the failure available via ExpectFailure.getFailure().
withMessage(String) - Method in class com.google.common.truth.StandardSubjectBuilder
Returns a new instance that will output the given message before the main failure message.
withMessage(String, Object...) - Method in class com.google.common.truth.StandardSubjectBuilder
Returns a new instance that will output the given message before the main failure message.
withPartialScope(FieldScope) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScope(FieldScope) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScope(FieldScope) - Method in interface com.google.common.truth.extensions.proto.ProtoFluentAssertion
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScope(FieldScope) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScopeForValues(FieldScope) - Method in interface com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScopeForValues(FieldScope) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScopeForValues(FieldScope) - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Limits the comparison of Protocol buffers to the defined FieldScope.
withPartialScopeForValues(FieldScope) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Limits the comparison of Protocol buffers to the defined FieldScope.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form