A B C D E F G H I L N O S T

A

about(SF) - Method in class org.junit.contrib.truth.AbstractVerb
The recommended method of extension of Truth to new types, which is documented in DelegationTest .
AbstractVerb - Class in org.junit.contrib.truth
 
AbstractVerb(FailureStrategy) - Constructor for class org.junit.contrib.truth.AbstractVerb
 
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T> - Class in org.junit.contrib.truth
A special Verb implementation which wraps a SubjectFactory
AbstractVerb.DelegatedVerb(FailureStrategy, SubjectFactory<S, T>) - Constructor for class org.junit.contrib.truth.AbstractVerb.DelegatedVerb
 
and() - Method in interface org.junit.contrib.truth.subjects.Subject.And
Returns the next object in the chain of anded objects.
apply(Statement, FrameworkMethod, Object) - Method in class org.junit.contrib.truth.Expect
 
ASSERT - Static variable in class org.junit.contrib.truth.Truth
 
ASSUME - Static variable in class org.junit.contrib.truth.Truth
 

B

BooleanSubject - Class in org.junit.contrib.truth.subjects
Propositions for boolean subjects
BooleanSubject(FailureStrategy, Boolean) - Constructor for class org.junit.contrib.truth.subjects.BooleanSubject
 

C

check() - Method in class org.junit.contrib.truth.subjects.Subject
 
CollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends Collection<T>> - Class in org.junit.contrib.truth.subjects
 
CollectionSubject(FailureStrategy, C) - Constructor for class org.junit.contrib.truth.subjects.CollectionSubject
 
contains(Object) - Method in class org.junit.contrib.truth.subjects.CollectionSubject
Attests that a Collection contains the provided object or fails.
contains(Object) - Method in class org.junit.contrib.truth.subjects.IterableSubject
 
contains(String) - Method in class org.junit.contrib.truth.subjects.StringSubject
 
containsAllOf(Object...) - Method in class org.junit.contrib.truth.subjects.CollectionSubject
Attests that a Collection contains all of the provided objects or fails.
containsAnyOf(Object...) - Method in class org.junit.contrib.truth.subjects.CollectionSubject
Attests that a Collection contains at least one of the provided objects or fails.
containsSequence(List<?>) - Method in class org.junit.contrib.truth.subjects.ListSubject
Attests that a List contains the specified sequence.
create() - Static method in class org.junit.contrib.truth.Expect
 
create(FailureStrategy, Collection<T>) - Static method in class org.junit.contrib.truth.subjects.CollectionSubject
 
create(FailureStrategy, Iterable<T>) - Static method in class org.junit.contrib.truth.subjects.IterableSubject
 
create(FailureStrategy, List<T>) - Static method in class org.junit.contrib.truth.subjects.ListSubject
 

D

DefaultSubject - Class in org.junit.contrib.truth.subjects
 
DefaultSubject(FailureStrategy, Object) - Constructor for class org.junit.contrib.truth.subjects.DefaultSubject
 

E

endsWith(String) - Method in class org.junit.contrib.truth.subjects.StringSubject
 
Expect - Class in org.junit.contrib.truth
 
Expect.ExpectationGatherer - Class in org.junit.contrib.truth
 
Expect.ExpectationGatherer() - Constructor for class org.junit.contrib.truth.Expect.ExpectationGatherer
 

F

fail() - Method in class org.junit.contrib.truth.AbstractVerb
Triggers the failure strategy with an empty failure message
fail(String) - Method in class org.junit.contrib.truth.AbstractVerb
Triggers the failure strategy with the given failure message
fail(String) - Method in class org.junit.contrib.truth.Expect.ExpectationGatherer
 
fail(String) - Method in interface org.junit.contrib.truth.FailureStrategy
 
fail(String, Object...) - Method in class org.junit.contrib.truth.subjects.Subject
 
FailureStrategy - Interface in org.junit.contrib.truth
 
failWithoutSubject(String) - Method in class org.junit.contrib.truth.subjects.Subject
 

G

getFailureStrategy() - Method in class org.junit.contrib.truth.AbstractVerb
 
getFailureStrategy() - Method in class org.junit.contrib.truth.Expect
 
getSubject() - Method in class org.junit.contrib.truth.subjects.Subject
 
getSubject(FailureStrategy, T) - Method in interface org.junit.contrib.truth.subjects.SubjectFactory
 
GwtCompatible - Annotation Type in org.junit.contrib.truth.util
This is a straight copy of com.google.common.annotations.GwtCompatible copied to Truth so that it can be used to GWT enable guava tests without creating a dependency from Truth back to Guava.
GwtIncompatible - Annotation Type in org.junit.contrib.truth.util
This is a straight copy of com.google.common.annotations.GwtIncompatible copied to Truth so that it can be used to GWT enable guava tests without creating a dependency from Truth back to Guava.

H

hasContentsAnyOrder(Object...) - Method in class org.junit.contrib.truth.subjects.IterableSubject
 
hasContentsInOrder(Object...) - Method in class org.junit.contrib.truth.subjects.IterableSubject
 

I

IntegerSubject - Class in org.junit.contrib.truth.subjects
Propositions for Integral numeric subjects
IntegerSubject(FailureStrategy, Long) - Constructor for class org.junit.contrib.truth.subjects.IntegerSubject
 
IntegerSubject(FailureStrategy, Integer) - Constructor for class org.junit.contrib.truth.subjects.IntegerSubject
 
is(int) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
is(short) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
is(byte) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
is(T) - Method in class org.junit.contrib.truth.subjects.Subject
 
isA(Class<?>) - Method in class org.junit.contrib.truth.subjects.Subject
 
isBetween(long, long) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
Attests that a Subject is exclusively within the lower and upper bounds provided or fails.
isEmpty() - Method in class org.junit.contrib.truth.subjects.CollectionSubject
 
isEmpty() - Method in class org.junit.contrib.truth.subjects.IterableSubject
Attests that a Collection contains the provided object or fails.
isEqualTo(Integer) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
isEqualTo(Long) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
isEqualTo(Object) - Method in class org.junit.contrib.truth.subjects.Subject
 
isFalse() - Method in class org.junit.contrib.truth.subjects.BooleanSubject
 
isInclusivelyInRange(long, long) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
Attests that a Subject is inclusively within the lower and upper bounds provided or fails.
isNotA(Class<?>) - Method in class org.junit.contrib.truth.subjects.Subject
 
isNotEqualTo(Integer) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
isNotEqualTo(Long) - Method in class org.junit.contrib.truth.subjects.IntegerSubject
 
isNotEqualTo(Object) - Method in class org.junit.contrib.truth.subjects.Subject
 
isNotNull() - Method in class org.junit.contrib.truth.subjects.Subject
 
isNull() - Method in class org.junit.contrib.truth.subjects.Subject
 
isOrdered() - Method in class org.junit.contrib.truth.subjects.ListSubject
Attests that a List is strictly ordered according to the natural ordering of its elements.
isOrdered(Comparator<T>) - Method in class org.junit.contrib.truth.subjects.ListSubject
Attests that a List is strictly ordered according to the given comparator.
isPartiallyOrdered() - Method in class org.junit.contrib.truth.subjects.ListSubject
Attests that a List is partially ordered according to the natural ordering of its elements.
isPartiallyOrdered(Comparator<T>) - Method in class org.junit.contrib.truth.subjects.ListSubject
Attests that a List is partially ordered according to the given comparator.
isTrue() - Method in class org.junit.contrib.truth.subjects.BooleanSubject
 
IterableSubject<S extends IterableSubject<S,T,C>,T,C extends Iterable<T>> - Class in org.junit.contrib.truth.subjects
 
IterableSubject(FailureStrategy, C) - Constructor for class org.junit.contrib.truth.subjects.IterableSubject
 

L

ListSubject<S extends ListSubject<S,T,C>,T,C extends List<T>> - Class in org.junit.contrib.truth.subjects
 
ListSubject(FailureStrategy, C) - Constructor for class org.junit.contrib.truth.subjects.ListSubject
 

N

nextChain() - Method in class org.junit.contrib.truth.subjects.Subject
A method which wraps the current Subject concrete subtype in a chaining "And" object.

O

org.junit.contrib.truth - package org.junit.contrib.truth
 
org.junit.contrib.truth.subjects - package org.junit.contrib.truth.subjects
 
org.junit.contrib.truth.util - package org.junit.contrib.truth.util
 

S

startsWith(String) - Method in class org.junit.contrib.truth.subjects.StringSubject
 
StringSubject - Class in org.junit.contrib.truth.subjects
Propositions for String subjects
StringSubject(FailureStrategy, String) - Constructor for class org.junit.contrib.truth.subjects.StringSubject
 
Subject<S extends Subject<S,T>,T> - Class in org.junit.contrib.truth.subjects
Propositions for arbitrarily typed subjects and for properties of Object
Subject(FailureStrategy, T) - Constructor for class org.junit.contrib.truth.subjects.Subject
 
Subject.And<C> - Interface in org.junit.contrib.truth.subjects
A convenience class to allow for chaining in the fluent API style, such that subjects can make propositions in series.
SubjectFactory<S extends Subject<S,T>,T> - Interface in org.junit.contrib.truth.subjects
A custom subject factory which will return a FooSubject (which is a Subject).

T

TestVerb - Class in org.junit.contrib.truth
 
TestVerb(FailureStrategy) - Constructor for class org.junit.contrib.truth.TestVerb
 
that(T) - Method in class org.junit.contrib.truth.AbstractVerb.DelegatedVerb
 
that(Object) - Method in class org.junit.contrib.truth.TestVerb
 
that(Long) - Method in class org.junit.contrib.truth.TestVerb
 
that(Integer) - Method in class org.junit.contrib.truth.TestVerb
 
that(Boolean) - Method in class org.junit.contrib.truth.TestVerb
 
that(String) - Method in class org.junit.contrib.truth.TestVerb
 
that(Iterable<T>) - Method in class org.junit.contrib.truth.TestVerb
 
that(Collection<T>) - Method in class org.junit.contrib.truth.TestVerb
 
that(List<T>) - Method in class org.junit.contrib.truth.TestVerb
 
that(T[]) - Method in class org.junit.contrib.truth.TestVerb
 
THROW_ASSERTION_ERROR - Static variable in class org.junit.contrib.truth.Truth
 
THROW_ASSUMPTION_ERROR - Static variable in class org.junit.contrib.truth.Truth
 
Truth - Class in org.junit.contrib.truth
Truth - a proposition framework for tests, supporting JUnit style assertion and assumption semantics in a fluent style.
Truth() - Constructor for class org.junit.contrib.truth.Truth
 

A B C D E F G H I L N O S T

Copyright © 2014. All Rights Reserved.