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.
|
Modifier and Type | Method and Description |
---|---|
<S extends Subject<S,A>,A,SF extends SubjectFactory<S,A>> |
StandardSubjectBuilder.about(SF factory)
Given a factory for some
Subject class, returns a builder whose that(actual)
method creates instances of that class. |
static <S extends Subject<S,T>,T> |
Truth.assertAbout(SubjectFactory<S,T> factory)
The recommended method of extension of Truth to new types, which is documented in
com.google.common.truth.delegation.DelegationTest . |
Modifier and Type | Method and Description |
---|---|
void |
ExpectFailure.SimpleSubjectBuilderCallback.invokeAssertion(SimpleSubjectBuilder<S,A> whenTesting) |
Copyright © 2017. All rights reserved.