Package | Description |
---|---|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Method and Description |
---|---|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.comparingExpectedFieldsOnlyForValues()
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.comparingExpectedFieldsOnlyForValues()
Limits the comparison of Protocol buffers to the fields set in the expected proto(s).
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringExtraRepeatedFieldElementsForValues()
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.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringExtraRepeatedFieldElementsForValues()
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.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringFieldAbsenceForValues()
Specifies that the 'has' bit of individual fields should be ignored when comparing for
equality.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringFieldAbsenceForValues()
Specifies that the 'has' bit of individual fields should be ignored when comparing for
equality.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringFieldDescriptorsForValues(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
com.google.protobuf.Descriptors.FieldDescriptor... rest)
Excludes all message fields matching the given
Descriptors.FieldDescriptor s from the comparison. |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringFieldDescriptorsForValues(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
com.google.protobuf.Descriptors.FieldDescriptor... rest)
Excludes all message fields matching the given
Descriptors.FieldDescriptor s from the comparison. |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringFieldDescriptorsForValues(Iterable<com.google.protobuf.Descriptors.FieldDescriptor> fieldDescriptors)
Excludes all message fields matching the given
Descriptors.FieldDescriptor s from the comparison. |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringFieldDescriptorsForValues(Iterable<com.google.protobuf.Descriptors.FieldDescriptor> fieldDescriptors)
Excludes all message fields matching the given
Descriptors.FieldDescriptor s from the comparison. |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringFieldScopeForValues(FieldScope fieldScope)
Excludes all specific field paths under the argument
FieldScope from the comparison. |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringFieldScopeForValues(FieldScope fieldScope)
Excludes all specific field paths under the argument
FieldScope from the comparison. |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringFieldsForValues(int firstFieldNumber,
int... rest)
Excludes the top-level message fields with the given tag numbers from the comparison.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringFieldsForValues(int firstFieldNumber,
int... rest)
Excludes the top-level message fields with the given tag numbers from the comparison.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringFieldsForValues(Iterable<Integer> fieldNumbers)
Excludes the top-level message fields with the given tag numbers from the comparison.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringFieldsForValues(Iterable<Integer> fieldNumbers)
Excludes the top-level message fields with the given tag numbers from the comparison.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.ignoringRepeatedFieldOrderForValues()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing
for equality.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.ignoringRepeatedFieldOrderForValues()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing
for equality.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.reportingMismatchesOnlyForValues()
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.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.reportingMismatchesOnlyForValues()
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.
|
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.usingDoubleToleranceForValues(double tolerance)
Compares double fields as equal if they are both finite and their absolute difference is less
than or equal to
tolerance . |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.usingDoubleToleranceForValues(double tolerance)
Compares double fields as equal if they are both finite and their absolute difference is less
than or equal to
tolerance . |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.usingFloatToleranceForValues(float tolerance)
Compares float fields as equal if they are both finite and their absolute difference is less
than or equal to
tolerance . |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.usingFloatToleranceForValues(float tolerance)
Compares float fields as equal if they are both finite and their absolute difference is less
than or equal to
tolerance . |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesSubject.withPartialScopeForValues(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined
FieldScope . |
MultimapWithProtoValuesFluentAssertion<M> |
MultimapWithProtoValuesFluentAssertion.withPartialScopeForValues(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined
FieldScope . |
Copyright © 2018. All rights reserved.