| Package | Description | 
|---|---|
| com.google.common.truth.extensions.proto | 
 Custom subjects for testing Protocol
 Buffer instances. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ProtoSubject<S extends ProtoSubject<S,M>,M extends com.google.protobuf.Message>
Truth subject for the full version of Protocol Buffers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFieldAbsence()
Specifies that the 'has' bit of individual fields should be ignored when comparing for
 equality. 
 | 
ProtoFluentAssertion | 
ProtoSubject.ignoringFieldAbsence()  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFieldDescriptors(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
                        com.google.protobuf.Descriptors.FieldDescriptor... rest)
Excludes all message fields matching the given  
Descriptors.FieldDescriptors from the comparison. | 
ProtoFluentAssertion | 
ProtoSubject.ignoringFieldDescriptors(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
                        com.google.protobuf.Descriptors.FieldDescriptor... rest)  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFieldDescriptors(Iterable<com.google.protobuf.Descriptors.FieldDescriptor> fieldDescriptors)
Excludes all message fields matching the given  
Descriptors.FieldDescriptors from the comparison. | 
ProtoFluentAssertion | 
ProtoSubject.ignoringFieldDescriptors(Iterable<com.google.protobuf.Descriptors.FieldDescriptor> fieldDescriptors)  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFields(int firstFieldNumber,
              int... rest)
Excludes the top-level message fields with the given tag numbers from the comparison. 
 | 
ProtoFluentAssertion | 
ProtoSubject.ignoringFields(int firstFieldNumber,
              int... rest)  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFields(Iterable<Integer> fieldNumbers)
Excludes the top-level message fields with the given tag numbers from the comparison. 
 | 
ProtoFluentAssertion | 
ProtoSubject.ignoringFields(Iterable<Integer> fieldNumbers)  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFieldScope(FieldScope fieldScope)
Excludes all specific field paths under the argument  
FieldScope from the comparison. | 
ProtoFluentAssertion | 
ProtoSubject.ignoringFieldScope(FieldScope fieldScope)  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringRepeatedFieldOrder()
Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing
 for equality. 
 | 
ProtoFluentAssertion | 
ProtoSubject.ignoringRepeatedFieldOrder()  | 
ProtoFluentAssertion | 
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. 
 | 
ProtoFluentAssertion | 
ProtoSubject.reportingMismatchesOnly()  | 
ProtoFluentAssertion | 
ProtoFluentAssertion.withPartialScope(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined  
FieldScope. | 
ProtoFluentAssertion | 
ProtoSubject.withPartialScope(FieldScope fieldScope)  | 
Copyright © 2017. All rights reserved.