Package com.google.common.truth
package com.google.common.truth
-
ClassDescriptionA common supertype for Array subjects, abstracting some common display and error infrastructure.AbstractVerb<T extends AbstractVerb<T>>A special Verb implementation which wraps a SubjectFactoryPropositions for boolean subjects.Propositions for
Classsubjects.Propositions forCollectionsubjects.Propositions forComparabletyped subjects.Deprecated.Propositions forIntegersubjects.Propositions forIterablesubjects.A verb that iterates over data and applies the predicate iterativelyPropositions forListsubjects.Propositions forlongsubjects.Propositions forMapsubjects.Deprecated.UseMapSubject.containsEntry(Object, Object)instead.Math utilities to be shared by numeric subjects.A Subject to handle testing propositions forObject[]and more genericallyT[].Propositions forOptional<T>subjects.Extracted routines that need to be swapped in for GWT, to allow for minimal deltas between the GWT and non-GWT version.A Subject to handle testing propositions forboolean[].A Subject to handle testing propositions forbyte[].A Subject to handle testing propositions forchar[].A Subject to handle testing propositions fordouble[].A Subject to handle testing propositions forfloat[].A Subject to handle testing propositions forint[].A Subject to handle testing propositions forint[].Reflection utility methods.Propositions for string subjects.Utilities for string comparisons.Propositions for arbitrarily typed subjects and for properties of ObjectA custom subject factory which will return a FooSubject (which is a Subject). Utility methods used in Subjectimplementors. Truth - a proposition framework for tests, supporting JUnit style assertion and assumption semantics in a fluent style.Truth - a proposition framework for tests, supporting JUnit style assertion and assumption semantics in a fluent style.
AssertionErrorinstead.