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