Package | Description |
---|---|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Method and Description |
---|---|
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.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 © 2017. All rights reserved.