| 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 | Interface and Description |
|---|---|
interface |
DelegatedVerbFactory<V extends AbstractDelegatedVerb>
Deprecated.
This class is being renamed to
CustomSubjectBuilderFactory. |
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T>
Deprecated.
This class is being renamed to
SimpleSubjectBuilder. |
class |
SimpleSubjectBuilder<SubjectT extends Subject<SubjectT,ActualT>,ActualT>
In a fluent assertion chain, exposes the most common
that method, which accepts a value
under test and returns a Subject. |
| 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 | Class and Description |
|---|---|
class |
ProtoTruthDelegatedVerb
Custom
AbstractDelegatedVerb which aggregates all Proto-related Subject classes into a single place. |
Copyright © 2017. All rights reserved.