com.google.common.truth
Class TestVerb
java.lang.Object
com.google.common.truth.AbstractVerb<TestVerb>
com.google.common.truth.TestVerb
- Direct Known Subclasses:
- Expect, TestVerb
public class TestVerb
- extends AbstractVerb<TestVerb>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestVerb
public TestVerb(FailureStrategy failureStrategy)
TestVerb
public TestVerb(FailureStrategy failureStrategy,
String failureMessage)
that
@CheckReturnValue
public Subject<DefaultSubject,Object> that(Object target)
that
@CheckReturnValue
@GwtIncompatible(value="ClassSubject.java")
public ClassSubject that(Class<?> target)
that
@CheckReturnValue
public IntegerSubject that(Long target)
that
@CheckReturnValue
public IntegerSubject that(Integer target)
that
@CheckReturnValue
public BooleanSubject that(Boolean target)
that
@CheckReturnValue
public StringSubject that(String target)
that
@CheckReturnValue
public <T,C extends Iterable<T>> IterableSubject<? extends IterableSubject<?,T,C>,T,C> that(Iterable<T> target)
that
@CheckReturnValue
public <T,C extends Collection<T>> CollectionSubject<? extends CollectionSubject<?,T,C>,T,C> that(Collection<T> target)
that
@CheckReturnValue
public <T,C extends List<T>> ListSubject<? extends ListSubject<?,T,C>,T,C> that(List<T> target)
that
@CheckReturnValue
public <T> ObjectArraySubject<T> that(T[] target)
that
@CheckReturnValue
public PrimitiveBooleanArraySubject that(boolean[] target)
that
@CheckReturnValue
public PrimitiveIntArraySubject that(int[] target)
that
@CheckReturnValue
public PrimitiveLongArraySubject that(long[] target)
that
@CheckReturnValue
public PrimitiveCharArraySubject that(char[] target)
that
@CheckReturnValue
public PrimitiveFloatArraySubject that(float[] target)
that
@CheckReturnValue
public PrimitiveDoubleArraySubject that(double[] target)
that
@CheckReturnValue
public <T> OptionalSubject<T> that(com.google.common.base.Optional<T> target)
that
@CheckReturnValue
public <K,V,M extends Map<K,V>> MapSubject<? extends MapSubject<?,K,V,M>,K,V,M> that(Map<K,V> target)
withFailureMessage
@CheckReturnValue
public TestVerb withFailureMessage(String failureMessage)
- Description copied from class:
AbstractVerb
- Overrides the failure message of the subsequent subject's propositions.
- Specified by:
withFailureMessage
in class AbstractVerb<TestVerb>
- See Also:
com.google.common.truth.delegation.DelegationTest
getFailureMessage
public String getFailureMessage()
- Specified by:
getFailureMessage
in class AbstractVerb<TestVerb>
Copyright © 2014. All rights reserved.