Skip navigation links
A C D E F H I L M N P R S T U V W 

A

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(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(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>) - 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(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(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>) - 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.
assertThat(MessageLite) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a single MessageLite instance.
assertThat(Message) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a single Message instance.
assertThat(Iterable<M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a sequence of Messages.
assertThat(Map<K, M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a map with Message values.
assertThat(Multimap<K, M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a Multimap with Message values.
assertThat(ListMultimap<K, M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a ListMultimap with Message values.
assertThat(SetMultimap<K, M>) - Static method in class com.google.common.truth.extensions.proto.ProtoTruth
Assert on a Multimap with Message values.

C

com.google.common.truth.extensions.proto - package com.google.common.truth.extensions.proto
Custom subjects for testing Protocol Buffer instances.
comparingElementsUsing(Correspondence<A, E>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Starts a method chain for a check in which the actual elements (i.e.
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
 
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<A, E>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Starts a method chain for a check in which the actual values (i.e.
comparingValuesUsing(Correspondence<A, E>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Starts a method chain for a check in which the actual values (i.e.
contains(Object) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks (with a side-effect failure) that the subject contains the supplied item.
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.
containsAllIn(Iterable<?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the actual iterable contains at least all of the expected elements or fails.
containsAllIn(Object[]) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the actual iterable contains at least all of the expected elements or fails.
containsAllIn(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.
containsAllIn(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.
containsAllOf(Object, Object, Object...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the actual iterable contains at least all of the expected elements or fails.
containsAllOf(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.
containsAnyIn(Iterable<?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the subject contains at least one of the objects contained in the provided collection or fails.
containsAnyIn(Object[]) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the subject contains at least one of the objects contained in the provided array or fails.
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(Object, Object, Object...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the subject contains at least one of the provided objects or fails.
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.
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, Object) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map does not contain the given entry.
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, Object) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap does not contain the given entry.
containsExactly(Object...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that a subject contains exactly the provided objects or fails.
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, 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() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map is not empty.
containsExactly(Object, Object, Object...) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map does not contain exactly the given set of key/value pairs.
containsExactly() - Method in interface com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion
Fails if the multimap is not empty.
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.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap does not contain exactly the given set of key/value pairs.
containsExactly() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap is not empty.
containsExactlyElementsIn(Iterable<?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that a subject contains exactly the provided objects or fails.
containsExactlyElementsIn(Object[]) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that a subject contains exactly the provided objects or fails.
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(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.
containsExactlyEntriesIn(Map<?, ?>) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map does not contain exactly the given set of entries in the given map.
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(Multimap<?, ?>) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the Multimap does not contain precisely the same entries as the argument Multimap.
containsKey(Object) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map does not contain the given key.
containsKey(Object) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap does not contain the given key.
containsNoDuplicates() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that the subject does not contain duplicate elements.
containsNoneIn(Iterable<?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that a actual iterable contains none of the elements contained in the excluded iterable or fails.
containsNoneIn(Object[]) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that a actual iterable contains none of the elements contained in the excluded iterable or fails.
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(Object, Object, Object...) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks that a actual iterable contains none of the excluded objects or fails.
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.

D

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(Object) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Checks (with a side-effect failure) that the subject does not contain the supplied item.
doesNotContain(M) - Method in interface com.google.common.truth.extensions.proto.IterableOfProtosUsingCorrespondence
Checks that none of the actual elements correspond to the given element.
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, Object) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map contains the given entry.
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, Object) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap contains the given entry.
doesNotContainKey(Object) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map contains the given key.
doesNotContainKey(Object) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap contains the given key.

E

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(Object) instead.

F

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.
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 fromSetFields(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 fromSetFields(Message).

H

hasAllRequiredFields() - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
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(Object) for testing.
hasSize(int) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Fails if the subject does not have the given size.
hasSize(int) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map does not have the given size.
hasSize(int) - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap does not have the given size.

I

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
 
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.
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
 
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.
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(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(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(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(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(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(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(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(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(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(Descriptors.FieldDescriptor, Descriptors.FieldDescriptor...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
ignoringFieldDescriptors(Iterable<Descriptors.FieldDescriptor>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
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(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(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(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(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(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(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 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(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(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(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(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(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(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(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(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(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(int, int...) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
ignoringFields(Iterable<Integer>) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
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
 
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(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(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(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(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(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(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 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
 
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.
isEmpty() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Fails if the subject is not empty.
isEmpty() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map is not empty.
isEmpty() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap is not empty.
isEqualTo(SetMultimap<?, ?>) - Method in class com.google.common.truth.extensions.proto.ListMultimapWithProtoValuesSubject
Deprecated.
#isEqualTo A SetMultimap can never compare equal with a ListMultimap if either Multimap is non-empty, because Set and List can never compare equal. Prefer MultimapWithProtoValuesSubject.containsExactlyEntriesIn( com.google.common.collect.Multimap) instead. Consult Multimap.equals(java.lang.Object) for more information.
isEqualTo(Object) - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the subject is not equal to the given object.
isEqualTo(Object) - 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(Object) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
isEqualTo(ListMultimap<?, ?>) - Method in class com.google.common.truth.extensions.proto.SetMultimapWithProtoValuesSubject
Deprecated.
#isEqualTo A ListMultimap can never compare equal with a SetMultimap if either Multimap is non-empty, because List and Set can never compare equal. Prefer MultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap) instead. Consult Multimap.equals(java.lang.Object) for more information.
isNotEmpty() - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Fails if the subject is empty.
isNotEmpty() - Method in class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
Fails if the map is empty.
isNotEmpty() - Method in class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
Fails if the multimap is empty.
isNotEqualTo(Object) - 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(Object) - Method in class com.google.common.truth.extensions.proto.ProtoSubject
 
isOrdered(Comparator<?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Fails if the iterable is not ordered, according to the given comparator.
isStrictlyOrdered(Comparator<?>) - Method in class com.google.common.truth.extensions.proto.IterableOfProtosSubject
Fails if the iterable is not strictly ordered, according to the given comparator.
IterableOfProtosFluentAssertion<M extends com.google.protobuf.Message> - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of iterables of protocol buffers.
IterableOfProtosSubject<S extends IterableOfProtosSubject<S,M,C>,M extends com.google.protobuf.Message,C extends Iterable<M>> - Class in com.google.common.truth.extensions.proto
Truth subject for the iterables of protocol buffers.
IterableOfProtosSubject(FailureMetadata, C) - Constructor for class com.google.common.truth.extensions.proto.IterableOfProtosSubject
 
IterableOfProtosSubject.IterableOfMessagesSubject<M extends com.google.protobuf.Message> - Class in com.google.common.truth.extensions.proto
Default implementation of IterableOfProtosSubject.
IterableOfProtosUsingCorrespondence<M extends com.google.protobuf.Message> - Interface in com.google.common.truth.extensions.proto
Comparison methods, which enforce the rules set in prior calls to IterableOfProtosFluentAssertion.

L

ListMultimapWithProtoValuesSubject<S extends ListMultimapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends ListMultimap<K,M>> - Class in com.google.common.truth.extensions.proto
ListMultimapWithProtoValuesSubject(FailureMetadata, C) - Constructor for class com.google.common.truth.extensions.proto.ListMultimapWithProtoValuesSubject
 
ListMultimapWithProtoValuesSubject.ListMultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message> - Class in com.google.common.truth.extensions.proto
Default implementation of ListMultimapWithProtoValuesSubject.

M

MapWithProtoValuesFluentAssertion<M extends com.google.protobuf.Message> - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of maps containing protocol buffers as values.
MapWithProtoValuesSubject<S extends MapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends Map<K,M>> - Class in com.google.common.truth.extensions.proto
Truth subject for maps with protocol buffers for values.
MapWithProtoValuesSubject(FailureMetadata, C) - Constructor for class com.google.common.truth.extensions.proto.MapWithProtoValuesSubject
 
MapWithProtoValuesSubject.MapWithMessageValuesSubject<K,M extends com.google.protobuf.Message> - Class in com.google.common.truth.extensions.proto
Default implementation of MapWithProtoValuesSubject.
MultimapWithProtoValuesFluentAssertion<M extends com.google.protobuf.Message> - Interface in com.google.common.truth.extensions.proto
Fluent API to perform detailed, customizable comparison of Multimaps containing protocol buffers as values.
MultimapWithProtoValuesSubject<S extends MultimapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends Multimap<K,M>> - Class in com.google.common.truth.extensions.proto
Truth subject for Multimaps with protocol buffers for values.
MultimapWithProtoValuesSubject(FailureMetadata, C) - Constructor for class com.google.common.truth.extensions.proto.MultimapWithProtoValuesSubject
 
MultimapWithProtoValuesSubject.MultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message> - Class in com.google.common.truth.extensions.proto
Default implementation of MultimapWithProtoValuesSubject.

N

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

P

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<S extends ProtoSubject<S,M>,M extends com.google.protobuf.Message> - Class in com.google.common.truth.extensions.proto
Truth subject for the full version of Protocol Buffers.
ProtoSubject(FailureMetadata, M) - 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

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
 
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

SetMultimapWithProtoValuesSubject<S extends SetMultimapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends SetMultimap<K,M>> - Class in com.google.common.truth.extensions.proto
SetMultimapWithProtoValuesSubject(FailureMetadata, C) - Constructor for class com.google.common.truth.extensions.proto.SetMultimapWithProtoValuesSubject
 
SetMultimapWithProtoValuesSubject.SetMultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message> - Class in com.google.common.truth.extensions.proto
Default implementation of SetMultimapWithProtoValuesSubject.

T

that(MessageLite) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Message) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Iterable<M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Map<K, M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(Multimap<K, M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(ListMultimap<K, M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 
that(SetMultimap<K, M>) - Method in class com.google.common.truth.extensions.proto.ProtoSubjectBuilder
 

U

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
 
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.
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
 
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.

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.

W

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
 
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 C D E F H I L M N P R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.