Uses of Interface
com.google.common.truth.extensions.proto.ProtoFluentAssertion
Packages that use ProtoFluentAssertion
-
Uses of ProtoFluentAssertion in com.google.common.truth.extensions.proto
Methods in com.google.common.truth.extensions.proto that return ProtoFluentAssertionModifier and TypeMethodDescriptionProtoFluentAssertion.comparingExpectedFieldsOnly()
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).ProtoSubject.comparingExpectedFieldsOnly()
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).ProtoFluentAssertion.ignoringExtraRepeatedFieldElements()
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.ProtoSubject.ignoringExtraRepeatedFieldElements()
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.ProtoFluentAssertion.ignoringExtraRepeatedFieldElementsOfFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.ProtoFluentAssertion.ignoringExtraRepeatedFieldElementsOfFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.ProtoSubject.ignoringExtraRepeatedFieldElementsOfFieldDescriptors
(Descriptors.FieldDescriptor first, Descriptors.FieldDescriptor... rest) Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.ProtoSubject.ignoringExtraRepeatedFieldElementsOfFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Specifies that extra repeated field elements for these explicitly specified field descriptors should be ignored.ProtoFluentAssertion.ignoringExtraRepeatedFieldElementsOfFields
(int firstFieldNumber, int... rest) Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.ProtoFluentAssertion.ignoringExtraRepeatedFieldElementsOfFields
(Iterable<Integer> fieldNumbers) Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.ProtoSubject.ignoringExtraRepeatedFieldElementsOfFields
(int firstFieldNumber, int... rest) Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.ProtoSubject.ignoringExtraRepeatedFieldElementsOfFields
(Iterable<Integer> fieldNumbers) Specifies that extra repeated field elements for these explicitly specified top-level field numbers should be ignored.ProtoFluentAssertion.ignoringFieldAbsence()
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.ProtoSubject.ignoringFieldAbsence()
Specifies that the 'has' bit of individual fields should be ignored when comparing for equality.ProtoFluentAssertion.ignoringFieldAbsenceOfFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.ProtoFluentAssertion.ignoringFieldAbsenceOfFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.ProtoSubject.ignoringFieldAbsenceOfFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.ProtoSubject.ignoringFieldAbsenceOfFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored when comparing for equality.ProtoFluentAssertion.ignoringFieldAbsenceOfFields
(int firstFieldNumber, int... rest) Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoFluentAssertion.ignoringFieldAbsenceOfFields
(Iterable<Integer> fieldNumbers) Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoSubject.ignoringFieldAbsenceOfFields
(int firstFieldNumber, int... rest) Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoSubject.ignoringFieldAbsenceOfFields
(Iterable<Integer> fieldNumbers) Specifies that the 'has' bit of these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoFluentAssertion.ignoringFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Excludes all message fields matching the givenDescriptors.FieldDescriptor
s from the comparison.ProtoFluentAssertion.ignoringFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Excludes all message fields matching the givenDescriptors.FieldDescriptor
s from the comparison.ProtoSubject.ignoringFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Excludes all message fields matching the givenDescriptors.FieldDescriptor
s from the comparison.ProtoSubject.ignoringFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Excludes all message fields matching the givenDescriptors.FieldDescriptor
s from the comparison.ProtoFluentAssertion.ignoringFields
(int firstFieldNumber, int... rest) Excludes the top-level message fields with the given tag numbers from the comparison.ProtoFluentAssertion.ignoringFields
(Iterable<Integer> fieldNumbers) Excludes the top-level message fields with the given tag numbers from the comparison.ProtoSubject.ignoringFields
(int firstFieldNumber, int... rest) Excludes the top-level message fields with the given tag numbers from the comparison.ProtoSubject.ignoringFields
(Iterable<Integer> fieldNumbers) Excludes the top-level message fields with the given tag numbers from the comparison.ProtoFluentAssertion.ignoringFieldScope
(FieldScope fieldScope) Excludes all specific field paths under the argumentFieldScope
from the comparison.ProtoSubject.ignoringFieldScope
(FieldScope fieldScope) Excludes all specific field paths under the argumentFieldScope
from the comparison.ProtoFluentAssertion.ignoringRepeatedFieldOrder()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.ProtoSubject.ignoringRepeatedFieldOrder()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing for equality.ProtoFluentAssertion.ignoringRepeatedFieldOrderOfFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.ProtoFluentAssertion.ignoringRepeatedFieldOrderOfFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.ProtoSubject.ignoringRepeatedFieldOrderOfFieldDescriptors
(Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.ProtoSubject.ignoringRepeatedFieldOrderOfFieldDescriptors
(Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Specifies that the ordering of repeated fields for these explicitly specified field descriptors should be ignored when comparing for equality.ProtoFluentAssertion.ignoringRepeatedFieldOrderOfFields
(int firstFieldNumber, int... rest) Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoFluentAssertion.ignoringRepeatedFieldOrderOfFields
(Iterable<Integer> fieldNumbers) Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoSubject.ignoringRepeatedFieldOrderOfFields
(int firstFieldNumber, int... rest) Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoSubject.ignoringRepeatedFieldOrderOfFields
(Iterable<Integer> fieldNumbers) Specifies that the ordering of repeated fields for these explicitly specified top-level field numbers should be ignored when comparing for equality.ProtoFluentAssertion.reportingMismatchesOnly()
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.ProtoSubject.reportingMismatchesOnly()
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.ProtoFluentAssertion.unpackingAnyUsing
(TypeRegistry typeRegistry, ExtensionRegistry extensionRegistry) ProtoSubject.unpackingAnyUsing
(TypeRegistry typeRegistry, ExtensionRegistry extensionRegistry) ProtoFluentAssertion.usingDoubleTolerance
(double tolerance) Compares double fields as equal if they are both finite and their absolute difference is less than or equal totolerance
.ProtoSubject.usingDoubleTolerance
(double tolerance) Compares double fields as equal if they are both finite and their absolute difference is less than or equal totolerance
.ProtoFluentAssertion.usingDoubleToleranceForFieldDescriptors
(double tolerance, Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Compares double fields with these explicitly specified fields using the provided absolute tolerance.ProtoFluentAssertion.usingDoubleToleranceForFieldDescriptors
(double tolerance, Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Compares double fields with these explicitly specified fields using the provided absolute tolerance.ProtoSubject.usingDoubleToleranceForFieldDescriptors
(double tolerance, Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Compares double fields with these explicitly specified fields using the provided absolute tolerance.ProtoSubject.usingDoubleToleranceForFieldDescriptors
(double tolerance, Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Compares double fields with these explicitly specified fields using the provided absolute tolerance.ProtoFluentAssertion.usingDoubleToleranceForFields
(double tolerance, int firstFieldNumber, int... rest) Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoFluentAssertion.usingDoubleToleranceForFields
(double tolerance, Iterable<Integer> fieldNumbers) Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoSubject.usingDoubleToleranceForFields
(double tolerance, int firstFieldNumber, int... rest) Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoSubject.usingDoubleToleranceForFields
(double tolerance, Iterable<Integer> fieldNumbers) Compares double fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoFluentAssertion.usingFloatTolerance
(float tolerance) Compares float fields as equal if they are both finite and their absolute difference is less than or equal totolerance
.ProtoSubject.usingFloatTolerance
(float tolerance) Compares float fields as equal if they are both finite and their absolute difference is less than or equal totolerance
.ProtoFluentAssertion.usingFloatToleranceForFieldDescriptors
(float tolerance, Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Compares float fields with these explicitly specified fields using the provided absolute tolerance.ProtoFluentAssertion.usingFloatToleranceForFieldDescriptors
(float tolerance, Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoSubject.usingFloatToleranceForFieldDescriptors
(float tolerance, Descriptors.FieldDescriptor firstFieldDescriptor, Descriptors.FieldDescriptor... rest) Compares float fields with these explicitly specified fields using the provided absolute tolerance.ProtoSubject.usingFloatToleranceForFieldDescriptors
(float tolerance, Iterable<Descriptors.FieldDescriptor> fieldDescriptors) Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoFluentAssertion.usingFloatToleranceForFields
(float tolerance, int firstFieldNumber, int... rest) Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoFluentAssertion.usingFloatToleranceForFields
(float tolerance, Iterable<Integer> fieldNumbers) Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoSubject.usingFloatToleranceForFields
(float tolerance, int firstFieldNumber, int... rest) Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoSubject.usingFloatToleranceForFields
(float tolerance, Iterable<Integer> fieldNumbers) Compares float fields with these explicitly specified top-level field numbers using the provided absolute tolerance.ProtoFluentAssertion.withPartialScope
(FieldScope fieldScope) Limits the comparison of Protocol buffers to the definedFieldScope
.ProtoSubject.withPartialScope
(FieldScope fieldScope) Limits the comparison of Protocol buffers to the definedFieldScope
.