Package | Description |
---|---|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Class and Description |
---|---|
class |
LiteProtoSubject<S extends LiteProtoSubject<S,M>,M extends com.google.protobuf.MessageLite>
Truth subjects for the Lite version of Protocol Buffers.
|
static class |
LiteProtoSubject.Factory<S extends LiteProtoSubject<S,M>,M extends com.google.protobuf.MessageLite>
Typed extension of
Subject.Factory . |
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 |
---|---|
static LiteProtoSubject<?,com.google.protobuf.MessageLite> |
ProtoTruth.assertThat(com.google.protobuf.MessageLite messageLite)
Assert on a single
MessageLite instance. |
static LiteProtoSubject<?,com.google.protobuf.MessageLite> |
LiteProtoTruth.assertThat(com.google.protobuf.MessageLite messageLite) |
LiteProtoSubject<?,com.google.protobuf.MessageLite> |
ProtoSubjectBuilder.that(com.google.protobuf.MessageLite messageLite) |
Copyright © 2018. All rights reserved.