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<V>> |
AbstractVerb.about(DelegatedVerbFactory<V> factory)
A generic, advanced method of extension of Truth to new types, which is documented on
DelegatedVerbFactory . |
static <V extends AbstractDelegatedVerb<V>> |
Truth.assertAbout(DelegatedVerbFactory<V> factory)
A generic, advanced method of extension of Truth to new types, which is documented on
DelegatedVerbFactory . |
Constructor and Description |
---|
AbstractDelegatedVerb(FailureStrategy failureStrategy,
DelegatedVerbFactory<V> factory) |
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.