Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Method and Description |
---|---|
<CustomSubjectBuilderT extends CustomSubjectBuilder> |
StandardSubjectBuilder.about(CustomSubjectBuilder.Factory<CustomSubjectBuilderT> factory) |
static <CustomSubjectBuilderT extends CustomSubjectBuilder> |
Truth.assertAbout(CustomSubjectBuilder.Factory<CustomSubjectBuilderT> factory)
A generic, advanced method of extension of Truth to new types, which is documented on
CustomSubjectBuilder . |
Modifier and Type | Method and Description |
---|---|
static CustomSubjectBuilder.Factory<ProtoSubjectBuilder> |
ProtoTruth.protos()
Returns a
CustomSubjectBuilder.Factory , akin to a Subject.Factory , which can be used to assert on multiple types of
Protos and collections containing them. |
Copyright © 2018. All rights reserved.