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> |
StandardSubjectBuilder.about(Subject.Factory<S,A> factory)
Given a factory for some
Subject class, returns a builder whose that(actual)
method creates instances of that class. |
<S extends Subject<S,A>,A> |
StandardSubjectBuilder.about(SubjectFactory<S,A> factory)
Deprecated.
When you switch from
SubjectFactory to Subject.Factory , you'll
switch from this overload to the Subject.Factory overload. |
static <S extends Subject<S,T>,T> |
Truth.assertAbout(Subject.Factory<S,T> 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)
Deprecated.
When you switch from
SubjectFactory to Subject.Factory , you'll
switch from this overload to the Subject.Factory overload. |
Modifier and Type | Method and Description |
---|---|
void |
ExpectFailure.SimpleSubjectBuilderCallback.invokeAssertion(SimpleSubjectBuilder<S,A> whenTesting) |
Copyright © 2017. All rights reserved.