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
@GwtIncompatible("JUnit4") public class Expect extends TestVerb implements org.junit.rules.TestRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Expect.ExpectationGatherer
-
Nested classes/interfaces inherited from class com.google.common.truth.AbstractVerb
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T>, AbstractVerb.MessagePrependingFailureStrategy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
static Expect
create()
protected FailureStrategy
getFailureStrategy()
-
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
-
-
-
-
Method Detail
-
create
public static Expect create()
-
getFailureStrategy
protected FailureStrategy 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
-
-