com.google.common.truth
Class Expect

java.lang.Object
  extended by com.google.common.truth.AbstractVerb<TestVerb>
      extended by com.google.common.truth.TestVerb
          extended by com.google.common.truth.Expect
All Implemented Interfaces:
org.junit.rules.MethodRule

@GwtIncompatible(value="JUnit4")
public class Expect
extends TestVerb
implements org.junit.rules.MethodRule


Nested Class Summary
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.MessageOverridingFailureStrategy
 
Method Summary
 org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
           
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, withFailureMessage
 
Methods inherited from class com.google.common.truth.AbstractVerb
about, fail, fail, in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Expect create()

getFailureStrategy

protected FailureStrategy getFailureStrategy()
Overrides:
getFailureStrategy in class AbstractVerb<TestVerb>

apply

public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
                                               org.junit.runners.model.FrameworkMethod method,
                                               Object target)
Specified by:
apply in interface org.junit.rules.MethodRule


Copyright © 2014. All rights reserved.