| 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(CustomSubjectBuilderFactory<CustomSubjectBuilderT> factory)
Deprecated.
When you switch from
CustomSubjectBuilderFactory to CustomSubjectBuilder.Factory, you'll switch from this overload to the CustomSubjectBuilder.Factory overload. |
static <CustomSubjectBuilderT extends CustomSubjectBuilder> |
Truth.assertAbout(CustomSubjectBuilderFactory<CustomSubjectBuilderT> factory)
Deprecated.
When you switch from
CustomSubjectBuilderFactory to CustomSubjectBuilder.Factory, you'll switch from this overload to the CustomSubjectBuilder.Factory overload. |
| Modifier and Type | Method and Description |
|---|---|
static CustomSubjectBuilderFactory<ProtoSubjectBuilder> |
ProtoTruth.protos()
Returns a
CustomSubjectBuilderFactory, akin to a SubjectFactory, which can be used to assert on multiple types of
Protos and collections containing them. |
Copyright © 2017. All rights reserved.