@GwtIncompatible(value="JUnit4") public class Expect extends TestVerb implements org.junit.rules.TestRule
Modifier and Type | Class and Description |
---|---|
static class |
Expect.ExpectationGatherer |
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T>, AbstractVerb.MessagePrependingFailureStrategy
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
static Expect |
create() |
static Expect |
create(Expect.ExpectationGatherer gatherer) |
static Expect |
createAndEnableStackTrace() |
protected FailureStrategy |
getFailureStrategy() |
boolean |
hasFailures() |
that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, that, withFailureMessage, withFailureMessage
about, about, fail, fail
getFailureMessage, hasFailureMessage
public static Expect create()
public static Expect create(Expect.ExpectationGatherer gatherer)
public static Expect createAndEnableStackTrace()
public boolean hasFailures()
protected FailureStrategy getFailureStrategy()
getFailureStrategy
in class AbstractVerb<TestVerb>
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
Copyright © 2017. All rights reserved.