A B C D E F G H I L M N O P R S T U W

A

about(SF) - Method in class com.google.common.truth.AbstractVerb
The recommended method of extension of Truth to new types, which is documented in com.google.common.truth.delegation.DelegationTest .
AbstractArraySubject<S extends AbstractArraySubject<S,T>,T> - Class in com.google.common.truth
A common supertype for Array subjects, abstracting some common display and error infrastructure.
AbstractArraySubject(FailureStrategy, T) - Constructor for class com.google.common.truth.AbstractArraySubject
 
AbstractVerb<T extends AbstractVerb<T>> - Class in com.google.common.truth
 
AbstractVerb(FailureStrategy) - Constructor for class com.google.common.truth.AbstractVerb
 
AbstractVerb.DelegatedVerb<S extends Subject<S,T>,T> - Class in com.google.common.truth
A special Verb implementation which wraps a SubjectFactory
AbstractVerb.DelegatedVerb(FailureStrategy, SubjectFactory<S, T>) - Constructor for class com.google.common.truth.AbstractVerb.DelegatedVerb
 
AbstractVerb.MessageOverridingFailureStrategy - Class in com.google.common.truth
 
AbstractVerb.MessageOverridingFailureStrategy(FailureStrategy, String) - Constructor for class com.google.common.truth.AbstractVerb.MessageOverridingFailureStrategy
 
allFrom(Collection<E>) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least all of the objects contained in the provided collection or fails, coping with duplicates in both the Collection and the parameters.
allOf(E) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least all of the provided objects or fails, coping with duplicates in both the Collection and the parameters.
allOf(E, E, E...) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least all of the provided objects or fails, coping with duplicates in both the Collection and the parameters.
anyFrom(Collection<E>) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least one of the objects contained in the provided collection or fails.
anyOf(E) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least one of the provided objects or fails.
anyOf(E, E, E...) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least one of the provided objects or fails.
apply(Statement, FrameworkMethod, Object) - Method in class com.google.common.truth.Expect
 
asList() - Method in class com.google.common.truth.ObjectArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveCharArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveIntArraySubject
 
asList() - Method in class com.google.common.truth.PrimitiveLongArraySubject
 
ASSERT - Static variable in class org.truth0.Truth
Deprecated.  
assert_() - Static method in class com.google.common.truth.Truth
 
assume() - Static method in class com.google.common.truth.TruthJUnit
 
ASSUME - Static variable in class org.truth0.Truth
Deprecated.  

B

BooleanSubject - Class in com.google.common.truth
Propositions for boolean subjects
BooleanSubject(FailureStrategy, Boolean) - Constructor for class com.google.common.truth.BooleanSubject
 
build() - Method in class com.google.common.truth.codegen.IteratingWrapperClassBuilder
 

C

check() - Method in class com.google.common.truth.Subject
A convenience for implementers of Subject subclasses to use other truth Subject wrappers within their own propositional logic.
className - Variable in class com.google.common.truth.codegen.IteratingWrapperClassBuilder
 
ClassSubject - Class in com.google.common.truth
 
ClassSubject(FailureStrategy, Class<?>) - Constructor for class com.google.common.truth.ClassSubject
 
CollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends Collection<T>> - Class in com.google.common.truth
 
CollectionSubject(FailureStrategy, C) - Constructor for class com.google.common.truth.CollectionSubject
 
CollectionSubject.Has<E,C extends Collection<E>> - Interface in com.google.common.truth
 
com.google.common.truth - package com.google.common.truth
 
com.google.common.truth.codegen - package com.google.common.truth.codegen
 
comparisonFailure(String, String, String) - Static method in class com.google.common.truth.Platform
 
CompilingClassLoader - Class in com.google.common.truth.codegen
This is a Java ClassLoader that will attempt to load a class from a string of source code.
CompilingClassLoader(ClassLoader, String, String, DiagnosticListener<JavaFileObject>) - Constructor for class com.google.common.truth.codegen.CompilingClassLoader
 
CompilingClassLoader.CompilerException - Exception in com.google.common.truth.codegen
Thrown when code cannot be compiled.
CompilingClassLoader.CompilerException(String) - Constructor for exception com.google.common.truth.codegen.CompilingClassLoader.CompilerException
 
compressType(String) - Static method in class com.google.common.truth.Platform
Inspired by JavaWriter.
contains(String) - Method in class com.google.common.truth.StringSubject
 
containsSequence(List<?>) - Method in class com.google.common.truth.ListSubject
Attests that a List contains the specified sequence.
create(FailureStrategy, Collection<T>) - Static method in class com.google.common.truth.CollectionSubject
 
create() - Static method in class com.google.common.truth.Expect
 
create(FailureStrategy, Iterable<T>) - Static method in class com.google.common.truth.IterableSubject
 
create(FailureStrategy, List<T>) - Static method in class com.google.common.truth.ListSubject
 
create(FailureStrategy, Map<K, V>) - Static method in class com.google.common.truth.MapSubject
 

D

declaresField(String) - Method in class com.google.common.truth.ClassSubject
 
DefaultSubject - Class in com.google.common.truth
 
DefaultSubject(FailureStrategy, Object) - Constructor for class com.google.common.truth.DefaultSubject
 
doesNotContain(String) - Method in class com.google.common.truth.StringSubject
 
doesNotMatch(String) - Method in class com.google.common.truth.StringSubject
 
doesNotMatch(Pattern) - Method in class com.google.common.truth.StringSubject
 

E

endsWith(String) - Method in class com.google.common.truth.StringSubject
 
equals(double, double, double) - Static method in class com.google.common.truth.MathUtil
 
equals(float, float, float) - Static method in class com.google.common.truth.MathUtil
 
equals(Object) - Method in class com.google.common.truth.Subject
Deprecated. This method is not a proposition, but the default Object equality method. Testing code should use "is" or "isEqualTo" propositions for equality tests.
exactly(E) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at all of the provided objects and only these objects or fails.
exactly(E, E, E...) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at all of the provided objects and only these objects or fails.
exactlyAs(Collection<E>) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at all of the objects contained in the provided collection and only these objects or fails.
Expect - Class in com.google.common.truth
 
Expect.ExpectationGatherer - Class in com.google.common.truth
 
Expect.ExpectationGatherer() - Constructor for class com.google.common.truth.Expect.ExpectationGatherer
 

F

fail() - Method in class com.google.common.truth.AbstractVerb
Triggers the failure strategy with an empty failure message
fail(String, Object...) - Method in class com.google.common.truth.AbstractVerb
Triggers the failure strategy with the given failure message
fail(String) - Method in class com.google.common.truth.AbstractVerb.MessageOverridingFailureStrategy
 
fail(String, Throwable) - Method in class com.google.common.truth.AbstractVerb.MessageOverridingFailureStrategy
 
fail(String) - Method in class com.google.common.truth.Expect.ExpectationGatherer
 
fail(String, Throwable) - Method in class com.google.common.truth.Expect.ExpectationGatherer
 
fail(String) - Method in class com.google.common.truth.FailureStrategy
 
fail(String, Throwable) - Method in class com.google.common.truth.FailureStrategy
 
fail(String, Object...) - Method in class com.google.common.truth.Subject
Assembles a failure message and passes such to the FailureStrategy
failComparing(String, CharSequence, CharSequence) - Method in class com.google.common.truth.AbstractVerb.MessageOverridingFailureStrategy
 
failComparing(String, CharSequence, CharSequence) - Method in class com.google.common.truth.Expect.ExpectationGatherer
 
failComparing(String, CharSequence, CharSequence) - Method in class com.google.common.truth.FailureStrategy
 
FailureStrategy - Class in com.google.common.truth
 
FailureStrategy() - Constructor for class com.google.common.truth.FailureStrategy
 
failureStrategy - Variable in class com.google.common.truth.Subject
 
FailureStrategy - Class in org.truth0
Deprecated. use FailureStrategy.
FailureStrategy() - Constructor for class org.truth0.FailureStrategy
Deprecated.  
FailureStrategy.ThrowableAssertionError - Error in com.google.common.truth
 
FailureStrategy.ThrowableAssertionError(String, Throwable) - Constructor for error com.google.common.truth.FailureStrategy.ThrowableAssertionError
 
failWithBadResults(String, Object, String, Object) - Method in class com.google.common.truth.Subject
Assembles a failure message and passes it to the FailureStrategy
failWithBadType(Object) - Method in class com.google.common.truth.AbstractArraySubject
 
failWithCustomSubject(String, Object, Object) - Method in class com.google.common.truth.Subject
Assembles a failure message with an alternative representation of the wrapped subject and passes it to the FailureStrategy
failWithoutSubject(String) - Method in class com.google.common.truth.Subject
Assembles a failure message without a given subject and passes it to the FailureStrategy
failWithRawMessage(String, Object...) - Method in class com.google.common.truth.Subject
Passes through a failure message verbatim.
findClass(String) - Method in class com.google.common.truth.codegen.CompilingClassLoader
Override ClassLoader's class resolving method.
format(String, Object...) - Static method in class com.google.common.truth.StringUtil
Substitutes each %s in template with an argument.

G

getDisplaySubject() - Method in class com.google.common.truth.AbstractArraySubject
 
getDisplaySubject() - Method in class com.google.common.truth.StringSubject
 
getDisplaySubject() - Method in class com.google.common.truth.Subject
 
getFailureMessage() - Method in class com.google.common.truth.AbstractVerb
 
getFailureMessage() - Method in class com.google.common.truth.TestVerb
 
getFailureStrategy() - Method in class com.google.common.truth.AbstractVerb
 
getFailureStrategy() - Method in class com.google.common.truth.Expect
 
getField(Class<?>, String) - Static method in class com.google.common.truth.ReflectionUtil
 
getSubject() - Method in class com.google.common.truth.Subject
 
getSubject(FailureStrategy, T) - Method in class com.google.common.truth.SubjectFactory
 
getSubject(FailureStrategy, T) - Method in class org.truth0.subjects.SubjectFactory
Deprecated.  
getSubject(FailureStrategy, T) - Method in class org.truth0.subjects.SubjectFactory
Deprecated.  
getSubjectClass() - Method in class com.google.common.truth.SubjectFactory
 

H

has() - Method in class com.google.common.truth.CollectionSubject
 
hasField(String) - Method in class com.google.common.truth.Subject
 
hashCode() - Method in class com.google.common.truth.Subject
Deprecated. Equals/Hashcode is not supported on Subjects. Their only use is as a holder of propositions. Use of equals() is deprecated and forwards to isEqualTo() and hashCode() is disallowed.
hasKey(K) - Method in class com.google.common.truth.MapSubject
Attests that the subject contains the provided key or fails.
hasValue(V) - Method in class com.google.common.truth.MapSubject
 
hasValue(Object) - Method in class com.google.common.truth.OptionalSubject
Attests that the Optional<T> subject is present and has the supplied value.

I

in(Iterable<T>) - Method in class com.google.common.truth.AbstractVerb
 
inOrder() - Method in interface com.google.common.truth.Ordered
An additional assertion, implemented by some containment subjects which allows for a further constraint of orderedness.
INTEGER - Static variable in class com.google.common.truth.IntegerSubject
 
IntegerSubject - Class in com.google.common.truth
Propositions for Integral numeric subjects
IntegerSubject(FailureStrategy, Long) - Constructor for class com.google.common.truth.IntegerSubject
 
IntegerSubject(FailureStrategy, Integer) - Constructor for class com.google.common.truth.IntegerSubject
 
internalCustomName() - Method in class com.google.common.truth.Subject
 
is(int) - Method in class com.google.common.truth.IntegerSubject
 
is(short) - Method in class com.google.common.truth.IntegerSubject
 
is(byte) - Method in class com.google.common.truth.IntegerSubject
 
is(Object) - Method in class com.google.common.truth.StringSubject
 
is(Object) - Method in class com.google.common.truth.Subject
 
isA(Class<?>) - Method in class com.google.common.truth.Subject
 
isAbsent() - Method in class com.google.common.truth.OptionalSubject
Attests that the Optional<T> subject is absent.
isBetween(long, long) - Method in class com.google.common.truth.IntegerSubject
Attests that a Subject is exclusively within the lower and upper bounds provided or fails.
isEmpty() - Method in class com.google.common.truth.CollectionSubject
Attests that a Collection is empty or fails.
isEmpty() - Method in class com.google.common.truth.IterableSubject
Attests that the subject holds no more objects, or fails.
isEmpty() - Method in class com.google.common.truth.MapSubject
Attests that the subject holds no objects, or fails.
isEqualTo(Integer) - Method in class com.google.common.truth.IntegerSubject
 
isEqualTo(Long) - Method in class com.google.common.truth.IntegerSubject
 
isEqualTo(Object) - Method in class com.google.common.truth.ObjectArraySubject
A proposition that the provided Object[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
A proposition that the provided Object[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveCharArraySubject
A proposition that the provided Object[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Deprecated. use PrimitiveDoubleArraySubject.isEqualTo(Object, double)
isEqualTo(Object, double) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
A proposition that the provided double[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Deprecated. use #isEqualTo(Object, double)
isEqualTo(Object, float) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
A proposition that the provided float[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveIntArraySubject
A proposition that the provided Object[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.PrimitiveLongArraySubject
A proposition that the provided Object[] is an array of the same length and type, and contains elements such that each element in expected is equal to each element in the subject, and in the same position.
isEqualTo(Object) - Method in class com.google.common.truth.StringSubject
 
isEqualTo(Object) - Method in class com.google.common.truth.Subject
 
isFalse() - Method in class com.google.common.truth.BooleanSubject
 
isInclusivelyInRange(long, long) - Method in class com.google.common.truth.IntegerSubject
Attests that a Subject is inclusively within the lower and upper bounds provided or fails.
isInstanceOfType(Object, Class<?>) - Static method in class com.google.common.truth.Platform
Returns true if the instance is assignable to the type Clazz.
isNotA(Class<?>) - Method in class com.google.common.truth.Subject
 
isNotEmpty() - Method in class com.google.common.truth.IterableSubject
Attests that the subject holds one or more objects, or fails
isNotEmpty() - Method in class com.google.common.truth.MapSubject
Attests that the subject holds one or more objects, or fails
isNotEqualTo(Integer) - Method in class com.google.common.truth.IntegerSubject
 
isNotEqualTo(Long) - Method in class com.google.common.truth.IntegerSubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.ObjectArraySubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveCharArraySubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
Deprecated. use PrimitiveDoubleArraySubject.isNotEqualTo(Object, double)
isNotEqualTo(Object, double) - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
A proposition that the provided double[] is not an array of the same length or type, or has at least one element that does not pass an equality test within the given tolerance.
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
Deprecated. use #isNotEqualTo(Object, double)
isNotEqualTo(Object, float) - Method in class com.google.common.truth.PrimitiveFloatArraySubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveIntArraySubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.PrimitiveLongArraySubject
 
isNotEqualTo(Object) - Method in class com.google.common.truth.Subject
 
isNotNull() - Method in class com.google.common.truth.Subject
 
isNull() - Method in class com.google.common.truth.StringSubject
 
isNull() - Method in class com.google.common.truth.Subject
 
isOrdered() - Method in class com.google.common.truth.ListSubject
Attests that a List is strictly ordered according to the natural ordering of its elements.
isOrdered(Comparator<T>) - Method in class com.google.common.truth.ListSubject
Attests that a List is strictly ordered according to the given comparator.
isPartiallyOrdered() - Method in class com.google.common.truth.ListSubject
Attests that a List is partially ordered according to the natural ordering of its elements.
isPartiallyOrdered(Comparator<T>) - Method in class com.google.common.truth.ListSubject
Attests that a List is partially ordered according to the given comparator.
isPresent() - Method in class com.google.common.truth.OptionalSubject
Attests that the Optional<T> subject has a present value.
isTrue() - Method in class com.google.common.truth.BooleanSubject
 
item(E) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at least the item
IterableSubject<S extends IterableSubject<S,T,C>,T,C extends Iterable<T>> - Class in com.google.common.truth
 
IterableSubject(FailureStrategy, C) - Constructor for class com.google.common.truth.IterableSubject
 
iteratesAs(Iterable<?>) - Method in class com.google.common.truth.IterableSubject
Asserts that the items are supplied in the order given by the iterable.
iteratesAs(Object...) - Method in class com.google.common.truth.IterableSubject
Asserts that the items are supplied in the order given by the iterable.
iteratesOverSequence(Object...) - Method in class com.google.common.truth.IterableSubject
Deprecated. use #iteratesAs(T...)
IteratingVerb<T> - Class in com.google.common.truth
A verb that iterates over data and applies the predicate iteratively
IteratingVerb(Iterable<T>, FailureStrategy) - Constructor for class com.google.common.truth.IteratingVerb
 
IteratingWrapperClassBuilder - Class in com.google.common.truth.codegen
A builder of classes to wrap a provided SubjectFactory's concrete Subject subclass.
IteratingWrapperClassBuilder(SubjectFactory<?, ?>) - Constructor for class com.google.common.truth.codegen.IteratingWrapperClassBuilder
 

L

labeled(String) - Method in class com.google.common.truth.Subject
Soft-deprecated in favor of Subject.named(String).
lacksKey(K) - Method in class com.google.common.truth.MapSubject
 
lacksValue(V) - Method in class com.google.common.truth.MapSubject
 
listRepresentation() - Method in class com.google.common.truth.AbstractArraySubject
 
listRepresentation() - Method in class com.google.common.truth.ObjectArraySubject
 
listRepresentation() - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
 
listRepresentation() - Method in class com.google.common.truth.PrimitiveCharArraySubject
 
listRepresentation() - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
 
listRepresentation() - Method in class com.google.common.truth.PrimitiveFloatArraySubject
 
listRepresentation() - Method in class com.google.common.truth.PrimitiveIntArraySubject
 
listRepresentation() - Method in class com.google.common.truth.PrimitiveLongArraySubject
 
ListSubject<S extends ListSubject<S,T,C>,T,C extends List<T>> - Class in com.google.common.truth
 
ListSubject(FailureStrategy, C) - Constructor for class com.google.common.truth.ListSubject
 

M

MapSubject<S extends MapSubject<S,K,V,M>,K,V,M extends Map<K,V>> - Class in com.google.common.truth
 
MapSubject(FailureStrategy, M) - Constructor for class com.google.common.truth.MapSubject
 
MapSubject.WithValue<V> - Interface in com.google.common.truth
 
matches(String) - Method in class com.google.common.truth.StringSubject
 
matches(Pattern) - Method in class com.google.common.truth.StringSubject
 
MathUtil - Class in com.google.common.truth
Math utilities to be shared by numeric subjects.
messageFor(String, CharSequence, CharSequence) - Static method in class com.google.common.truth.StringUtil
Returns a message appropriate for string comparisons.

N

named(String) - Method in class com.google.common.truth.AbstractArraySubject
 
named(String) - Method in class com.google.common.truth.Subject
Renames the subject so that this name appears in the error messages in place of string representations of the subject.
noneFrom(Collection<E>) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains at none of the objects contained in the provided collection or fails, coping with duplicates in both the Collection and the parameters.
noneOf(E) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains none of the provided objects or fails, coping with duplicates in both the Collection and the parameters.
noneOf(E, E, E...) - Method in interface com.google.common.truth.CollectionSubject.Has
Attests that a Collection contains none of the provided objects or fails, coping with duplicates in both the Collection and the parameters.

O

ObjectArraySubject<T> - Class in com.google.common.truth
A Subject to handle testing propositions for Object[] and more generically T[].
ObjectArraySubject(FailureStrategy, T[]) - Constructor for class com.google.common.truth.ObjectArraySubject
 
OptionalSubject<T> - Class in com.google.common.truth
Propositions for Optional<T> subjects
OptionalSubject(FailureStrategy, Optional<T>) - Constructor for class com.google.common.truth.OptionalSubject
 
Ordered - Interface in com.google.common.truth
 
org.truth0 - package org.truth0
 
org.truth0.subjects - package org.truth0.subjects
 

P

Platform - Class in com.google.common.truth
Extracted routines that need to be swapped in for GWT, to allow for minimal deltas between the GWT and non-GWT version.
PrimitiveBooleanArraySubject - Class in com.google.common.truth
A Subject to handle testing propositions for boolean[].
PrimitiveBooleanArraySubject(FailureStrategy, boolean[]) - Constructor for class com.google.common.truth.PrimitiveBooleanArraySubject
 
PrimitiveCharArraySubject - Class in com.google.common.truth
A Subject to handle testing propositions for char[].
PrimitiveCharArraySubject(FailureStrategy, char[]) - Constructor for class com.google.common.truth.PrimitiveCharArraySubject
 
PrimitiveDoubleArraySubject - Class in com.google.common.truth
A Subject to handle testing propositions for double[].
PrimitiveDoubleArraySubject(FailureStrategy, double[]) - Constructor for class com.google.common.truth.PrimitiveDoubleArraySubject
 
PrimitiveFloatArraySubject - Class in com.google.common.truth
A Subject to handle testing propositions for float[].
PrimitiveFloatArraySubject(FailureStrategy, float[]) - Constructor for class com.google.common.truth.PrimitiveFloatArraySubject
 
PrimitiveIntArraySubject - Class in com.google.common.truth
A Subject to handle testing propositions for int[].
PrimitiveIntArraySubject(FailureStrategy, int[]) - Constructor for class com.google.common.truth.PrimitiveIntArraySubject
 
PrimitiveLongArraySubject - Class in com.google.common.truth
A Subject to handle testing propositions for int[].
PrimitiveLongArraySubject(FailureStrategy, long[]) - Constructor for class com.google.common.truth.PrimitiveLongArraySubject
 

R

ReflectionUtil - Class in com.google.common.truth
Reflection utility methods.

S

startsWith(String) - Method in class com.google.common.truth.StringSubject
 
STRING - Static variable in class com.google.common.truth.StringSubject
 
StringSubject - Class in com.google.common.truth
Propositions for String subjects
StringSubject(FailureStrategy, String) - Constructor for class com.google.common.truth.StringSubject
 
StringUtil - Class in com.google.common.truth
Utilities for string comparisons.
Subject<S extends Subject<S,T>,T> - Class in com.google.common.truth
Propositions for arbitrarily typed subjects and for properties of Object
Subject(FailureStrategy, T) - Constructor for class com.google.common.truth.Subject
 
Subject<S extends Subject<S,T>,T> - Class in org.truth0.subjects
Deprecated. use Subject.
Subject(FailureStrategy, T) - Constructor for class org.truth0.subjects.Subject
Deprecated.  
Subject.HasField - Interface in com.google.common.truth
 
SubjectFactory<S extends Subject<S,T>,T> - Class in com.google.common.truth
A custom subject factory which will return a FooSubject (which is a Subject).
SubjectFactory() - Constructor for class com.google.common.truth.SubjectFactory
 
SubjectFactory<S extends Subject<S,T>,T> - Class in org.truth0.subjects
Deprecated. use SubjectFactory.
SubjectFactory() - Constructor for class org.truth0.subjects.SubjectFactory
Deprecated.  

T

TestVerb - Class in com.google.common.truth
 
TestVerb(FailureStrategy) - Constructor for class com.google.common.truth.TestVerb
 
TestVerb(FailureStrategy, String) - Constructor for class com.google.common.truth.TestVerb
 
TestVerb - Class in org.truth0
Deprecated. use TestVerb.
TestVerb(FailureStrategy) - Constructor for class org.truth0.TestVerb
Deprecated.  
TestVerb(FailureStrategy, String) - Constructor for class org.truth0.TestVerb
Deprecated.  
that(T) - Method in class com.google.common.truth.AbstractVerb.DelegatedVerb
 
that(Object) - Method in class com.google.common.truth.TestVerb
 
that(Class<?>) - Method in class com.google.common.truth.TestVerb
 
that(Long) - Method in class com.google.common.truth.TestVerb
 
that(Integer) - Method in class com.google.common.truth.TestVerb
 
that(Boolean) - Method in class com.google.common.truth.TestVerb
 
that(String) - Method in class com.google.common.truth.TestVerb
 
that(Iterable<T>) - Method in class com.google.common.truth.TestVerb
 
that(Collection<T>) - Method in class com.google.common.truth.TestVerb
 
that(List<T>) - Method in class com.google.common.truth.TestVerb
 
that(T[]) - Method in class com.google.common.truth.TestVerb
 
that(boolean[]) - Method in class com.google.common.truth.TestVerb
 
that(int[]) - Method in class com.google.common.truth.TestVerb
 
that(long[]) - Method in class com.google.common.truth.TestVerb
 
that(char[]) - Method in class com.google.common.truth.TestVerb
 
that(float[]) - Method in class com.google.common.truth.TestVerb
 
that(double[]) - Method in class com.google.common.truth.TestVerb
 
that(Optional<T>) - Method in class com.google.common.truth.TestVerb
 
that(Map<K, V>) - Method in class com.google.common.truth.TestVerb
 
thatEach(SF) - Method in class com.google.common.truth.IteratingVerb
 
THROW_ASSERTION_ERROR - Static variable in class com.google.common.truth.Truth
 
THROW_ASSERTION_ERROR - Static variable in class org.truth0.Truth
Deprecated. 
THROW_ASSUMPTION_ERROR - Static variable in class com.google.common.truth.TruthJUnit
 
THROW_ASSUMPTION_ERROR - Static variable in class org.truth0.Truth
Deprecated. 
Truth - Class in com.google.common.truth
Truth - a proposition framework for tests, supporting JUnit style assertion and assumption semantics in a fluent style.
Truth() - Constructor for class com.google.common.truth.Truth
 
Truth - Class in org.truth0
Deprecated. please use Truth.assert_() and TruthJUnit.assume() to access these capabilities.
Truth() - Constructor for class org.truth0.Truth
Deprecated.  
TruthJUnit - Class in com.google.common.truth
Truth - a proposition framework for tests, supporting JUnit style assertion and assumption semantics in a fluent style.
TruthJUnit() - Constructor for class com.google.common.truth.TruthJUnit
 
TYPE_PATTERN - Static variable in class com.google.common.truth.Platform
 
typeParameter(Class<?>, int) - Static method in class com.google.common.truth.ReflectionUtil
Returns the captured type.

U

underlyingType() - Method in class com.google.common.truth.AbstractArraySubject
 
underlyingType() - Method in class com.google.common.truth.ObjectArraySubject
 
underlyingType() - Method in class com.google.common.truth.PrimitiveBooleanArraySubject
 
underlyingType() - Method in class com.google.common.truth.PrimitiveCharArraySubject
 
underlyingType() - Method in class com.google.common.truth.PrimitiveDoubleArraySubject
 
underlyingType() - Method in class com.google.common.truth.PrimitiveFloatArraySubject
 
underlyingType() - Method in class com.google.common.truth.PrimitiveIntArraySubject
 
underlyingType() - Method in class com.google.common.truth.PrimitiveLongArraySubject
 

W

withFailureMessage(String) - Method in class com.google.common.truth.AbstractVerb
Overrides the failure message of the subsequent subject's propositions.
withFailureMessage(String) - Method in class com.google.common.truth.TestVerb
 
withValue(V) - Method in interface com.google.common.truth.MapSubject.WithValue
 
withValue(Object) - Method in interface com.google.common.truth.Subject.HasField
Supplementary assertion in which a present field can be tested to determine if it contains a given value.

A B C D E F G H I L M N O P R S T U W

Copyright © 2014. All rights reserved.