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 classprotected static classNested 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.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description) static Expectcreate()protected FailureStrategyMethods 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, withFailureMessageMethods 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:
getFailureStrategyin classAbstractVerb<TestVerb>
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-