Package | Description |
---|---|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Method and Description |
---|---|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.ignoringFieldAbsence()
Specifies that the 'has' bit of individual fields should be ignored when comparing for
equality.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.ignoringFieldAbsence()
Specifies that the 'has' bit of individual fields should be ignored when comparing for
equality.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.ignoringFieldDescriptors(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. |
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.ignoringFieldDescriptors(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. |
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.ignoringFields(int firstFieldNumber,
int... rest)
Excludes the top-level message fields with the given tag numbers from the comparison.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.ignoringFields(int firstFieldNumber,
int... rest)
Excludes the top-level message fields with the given tag numbers from the comparison.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.ignoringFieldScope(FieldScope fieldScope)
Excludes all specific field paths under the argument
FieldScope from the comparison. |
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.ignoringFieldScope(FieldScope fieldScope)
Excludes all specific field paths under the argument
FieldScope from the comparison. |
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.ignoringRepeatedFieldOrder()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing
for equality.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.ignoringRepeatedFieldOrder()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing
for equality.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.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.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.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.
|
IterableOfProtosFluentAssertion<M> |
IterableOfProtosSubject.withPartialScope(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined
FieldScope . |
IterableOfProtosFluentAssertion<M> |
IterableOfProtosFluentAssertion.withPartialScope(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined
FieldScope . |
Copyright © 2017. All rights reserved.