Package com.google.common.truth
Class Expect
java.lang.Object
com.google.common.truth.AbstractVerb<TestVerb>
com.google.common.truth.TestVerb
com.google.common.truth.Expect
- All Implemented Interfaces:
org.junit.rules.TestRule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
protected static class
Nested classes/interfaces inherited from class com.google.common.truth.AbstractVerb
AbstractVerb.DelegatedVerb<S extends Subject<S,
T>, T>, AbstractVerb.MessagePrependingFailureStrategy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description) static Expect
create()
protected FailureStrategy
Methods inherited from class com.google.common.truth.TestVerb
getFailureMessage, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, withFailureMessage
Methods inherited from class com.google.common.truth.AbstractVerb
about, fail, fail, in
-
Field Details
-
gatherer
-
inRuleContext
private boolean inRuleContext
-
-
Constructor Details
-
Expect
Expect(Expect.ExpectationGatherer gatherer)
-
-
Method Details
-
create
-
getFailureStrategy
- Overrides:
getFailureStrategy
in classAbstractVerb<TestVerb>
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-