Uses of Class
org.apache.juneau.assertions.Assertion
Packages that use Assertion
Package
Description
REST Assertions
REST Client Assertions
-
Uses of Assertion in org.apache.juneau.assertions
Subclasses of Assertion in org.apache.juneau.assertionsModifier and TypeClassDescriptionclass
AnyAssertion<T>
Used for assertion calls against generic POJOs.class
Used for assertion calls against arrays.class
Used for assertion calls against Java beans.class
Used for assertion calls against Java beans.class
Used for assertion calls against booleans.class
Used for assertion calls against byte arrays.class
Used for assertion calls against collections objects.class
ComparableAssertion<T extends Comparable<T>>
Used for assertion calls against comparable objects.class
Used for assertion calls againstDate
objects.class
FluentAnyAssertion<T,
R> Used for assertion calls against generic POJOs.class
FluentArrayAssertion<E,
R> Used for fluent assertion calls against array objects.class
Parent class of all fluent assertion calls.class
FluentBeanAssertion<T,
R> Used for fluent assertion calls against Java beans.class
Used for fluent assertion calls against lists of beans.class
Used for fluent assertion calls against booleans.class
Used for fluent assertion calls against byte arrays.class
Used for fluent assertion calls against collections objects.class
FluentComparableAssertion<T extends Comparable,
R> Used for fluent assertion calls against comparable objects.class
Used for fluent assertion calls against dates.class
Used for fluent assertion calls against integers.class
FluentListAssertion<E,
R> Used for fluent assertion calls against lists.class
Used for fluent assertion calls against longs.class
FluentMapAssertion<K,
V, R> Used for fluent assertion calls against maps.class
Used for fluent assertion calls against POJOs.class
Used for fluent assertion calls against primitive array objects (e.g.class
Used for fluent assertion calls against strings.class
Used for fluent assertion calls against lists of strings.class
FluentThrowableAssertion<T extends Throwable,
R> Used for fluent assertion calls against throwables.class
Used for fluent assertion calls againstVersion
objects.class
Used for fluent assertion calls againstZonedDateTime
objects.class
Used for assertion calls against integers.class
Used for assertion calls against lists.class
Used for assertion calls against longs.class
MapAssertion<K,
V> Used for assertion calls against lists.class
Used for assertion calls against arbitrary POJOs.class
Used for assertion calls against arrays.class
Used for assertion calls against string objects.class
Used for assertion calls against lists of strings.class
ThrowableAssertion<T extends Throwable>
Used for assertion calls against throwable objects.class
Used for assertion calls againstVersion
objects.class
Used for assertion calls againstZonedDateTime
objects.Methods in org.apache.juneau.assertions that return AssertionModifier and TypeMethodDescriptionAllows you to override the assertion failure message.Assertion.setOut
(PrintStream value) If an error occurs, send the error message to the specified stream instead of STDERR.Assertion.setSilent()
Suppresses output to STDERR.Assertion.setStdOut()
If an error occurs, send the error message to STDOUT instead of STDERR.Assertion.setThrowable
(Class<? extends RuntimeException> value) If an error occurs, throw this exception instead of the standardAssertionError
.Constructors in org.apache.juneau.assertions with parameters of type AssertionModifierConstructorDescriptionprotected
Constructor used when this assertion is being created from within another assertion.FluentAnyAssertion
(Assertion creator, T value, R returns) Chained constructor.FluentArrayAssertion
(Assertion creator, E[] value, R returns) Chained constructor.protected
FluentAssertion
(Assertion creator, R returns) Constructor.FluentBeanAssertion
(Assertion creator, T value, R returns) Chained constructor.FluentBeanListAssertion
(Assertion creator, List<E> value, R returns) Chained constructor.FluentBooleanAssertion
(Assertion creator, Boolean value, R returns) Chained constructor.FluentByteArrayAssertion
(Assertion creator, byte[] value, R returns) Chained constructor.FluentCollectionAssertion
(Assertion creator, Collection<E> value, R returns) Chained constructor.FluentComparableAssertion
(Assertion creator, T value, R returns) Chained constructor.FluentDateAssertion
(Assertion creator, Date value, R returns) Chained constructor.FluentIntegerAssertion
(Assertion creator, Integer value, R returns) Chained constructor.FluentListAssertion
(Assertion creator, List<E> value, R returns) Chained constructor.FluentLongAssertion
(Assertion creator, Long value, R returns) Chained constructor.Chained constructor.FluentObjectAssertion
(Assertion creator, T value, R returns) Chained constructor.FluentPrimitiveArrayAssertion
(Assertion creator, T value, R returns) Chained constructor.FluentStringAssertion
(Assertion creator, String value, R returns) Chained constructor.FluentStringListAssertion
(Assertion creator, List<String> value, R returns) Chained constructor.FluentThrowableAssertion
(Assertion creator, T value, R returns) Chained constructor.FluentVersionAssertion
(Assertion creator, Version value, R returns) Chained constructor.FluentZonedDateTimeAssertion
(Assertion creator, ZonedDateTime value, R returns) Chained constructor. -
Uses of Assertion in org.apache.juneau.rest.assertions
Subclasses of Assertion in org.apache.juneau.rest.assertionsModifier and TypeClassDescriptionclass
Used for fluent assertion calls againstProtocolVersion
objects.class
Used for fluent assertion calls againstRequestContent
objects.class
Used for fluent assertion calls againstRequestFormParam
objects.class
Used for fluent assertion calls againstRequestHeader
objects.class
Used for fluent assertion calls againstRequestLine
objects.class
Used for fluent assertion calls againstRequestQueryParam
objects.Constructors in org.apache.juneau.rest.assertions with parameters of type AssertionModifierConstructorDescriptionFluentProtocolVersionAssertion
(Assertion creator, ProtocolVersion value, R returns) Chained constructor.FluentRequestContentAssertion
(Assertion creator, RequestContent value, R returns) Chained constructor.FluentRequestFormParamAssertion
(Assertion creator, RequestFormParam value, R returns) Chained constructor.FluentRequestHeaderAssertion
(Assertion creator, RequestHeader value, R returns) Chained constructor.FluentRequestLineAssertion
(Assertion creator, RequestLine value, R returns) Chained constructor.FluentRequestQueryParamAssertion
(Assertion creator, RequestQueryParam value, R returns) Chained constructor. -
Uses of Assertion in org.apache.juneau.rest.client.assertion
Subclasses of Assertion in org.apache.juneau.rest.client.assertionModifier and TypeClassDescriptionclass
Used for fluent assertion calls againstResponseContent
objects.class
Used for fluent assertion calls againstResponseHeader
objects.class
Used for fluent assertion calls against a responseStatusLine
object.Constructors in org.apache.juneau.rest.client.assertion with parameters of type AssertionModifierConstructorDescriptionFluentResponseBodyAssertion
(Assertion creator, ResponseContent value, R returns) Chained constructor.FluentResponseHeaderAssertion
(Assertion creator, ResponseHeader value, R returns) Chained constructor.FluentResponseStatusLineAssertion
(Assertion creator, StatusLine value, R returns) Chained constructor.