Index
All Classes and Interfaces|All Packages
A
- AbstractAssertJPromiseAssert<T,
A extends AbstractAssertJPromiseAssert<T, A, S>, S extends org.assertj.core.api.AbstractAssert<S, T>> - Class in org.forgerock.util.test.assertj -
Assertion class for a promise.
- AbstractAssertJPromiseAssert(Promise<T, ?>, Class<A>) - Constructor for class org.forgerock.util.test.assertj.AbstractAssertJPromiseAssert
-
Constructs a new assertion on promise.
- AssertJJsonValueAssert - Class in org.forgerock.json.test.assertj
-
Main that will provide the assertions on
JsonValue
. - AssertJJsonValueAssert.AbstractJsonValueAssert<T extends org.assertj.core.api.AbstractAssert<T,
JsonValue>> - Class in org.forgerock.json.test.assertj -
Abstract class for assertions on
JsonValue
. - AssertJJsonValueAssert.ArrayJsonValueAssert - Class in org.forgerock.json.test.assertj
-
Class for assertions on array
JsonValue
. - AssertJJsonValueAssert.AssertJJsonValuePromiseAssert - Class in org.forgerock.json.test.assertj
-
An assertion class for promises that return
JsonValue
s. - AssertJJsonValueAssert.JsonValueAssert - Class in org.forgerock.json.test.assertj
-
Class for assertions on simple
JsonValue
. - AssertJJsonValueAssert.NumberJsonValueAssert - Class in org.forgerock.json.test.assertj
-
Class for assertions on number
JsonValue
. - AssertJJsonValueAssert.ObjectJsonValueAssert - Class in org.forgerock.json.test.assertj
-
Class for assertions on object
JsonValue
. - AssertJJsonValueAssert.PromisedJsonValueAssert - Class in org.forgerock.json.test.assertj
-
Class for assertions on
JsonValue
promises. - AssertJPromiseAssert - Class in org.forgerock.util.test.assertj
-
Assertion class for a promise.
- AssertJPromiseAssert.SuccessfulPromiseAssert - Class in org.forgerock.util.test.assertj
-
An assertion class for making assertions on the successful completion value of a
Promise
. - assertThat(JsonValue) - Static method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert
-
Creates the relevant
AbstractJsonValueAssert
instance for the providedJsonValue
. - assertThat(Promise<?, ?>) - Static method in class org.forgerock.util.test.assertj.AssertJPromiseAssert
-
Creates an
AssertJPromiseAssert
instance for making assertions on aPromise
. - assertThat(Promise<JsonValue, ?>) - Static method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert
-
Creates a promise assert class for
JsonValue
instances. - assertThatJsonValue(Promise<JsonValue, ?>) - Static method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert
-
An alias for
AssertJJsonValueAssert.assertThat(Promise)
for the case where different Promise assertThat methods are statically imported and would clash. - assertThatPromise(Promise<?, ?>) - Static method in class org.forgerock.util.test.assertj.AssertJPromiseAssert
-
Alias for
assertThat(Promise)
.
B
- booleanAt(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Get a
AbstractBooleanAssert
for the referencedJsonValue
is a boolean, to check its value. - booleanIs(String, Condition<Boolean>) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is a boolean.
C
- Conditions - Class in org.forgerock.util.test.assertj
-
Condition
implementations useful for assertions. - contains(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array contains the given values.
- contains(String, Object) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object contains a property with the given name, and value.
- contains(MapEntry...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object contains the specified properties.
- containsExactly(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array contains exactly the given values.
- containsExactly(MapEntry...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object contains exactly the specified properties.
- containsField(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object contains a field with the specified name.
- containsFields(String...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object contains fields with the specified names.
- containsOnly(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array contains only the given values.
- containsOnly(MapEntry...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object only contains the specified properties.
- containsSequence(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array contains the given values as a sequence.
- createSucceededAssert(Object) - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert
- createSucceededAssert(JsonValue) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AssertJJsonValuePromiseAssert
- createSucceededAssert(T) - Method in class org.forgerock.util.test.assertj.AbstractAssertJPromiseAssert
-
Factory method for the succeeded assert class.
D
- deleteRecursively(Path...) - Static method in class org.forgerock.util.test.FileUtils
-
Recursively deletes one or more files and/or directories.
- doesNotContain(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array does not contain the given values.
- doesNotContain(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
doesn't exist in this object. - doesNotContain(String, Object) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object does not contain a property with the given name, and value.
- doesNotContain(MapEntry...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
-
Check that this object does not contain a property with the given name, and value.
- doesNotHaveDuplicates() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array does not contain duplicates.
- doubleAt(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Get a
AbstractDoubleAssert
for the referencedJsonValue
is a double, to check its value. - doubleIs(String, Condition<Double>) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check the double value of the referenced
JsonValue
.
E
- endsWith(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array ends with the given values.
- equalTo(T) - Static method in class org.forgerock.util.test.assertj.Conditions
-
A condition for equality testing.
F
- failedWithException() - Method in class org.forgerock.util.test.assertj.AbstractAssertJPromiseAssert
-
Asserts that the promise failed.
- FileUtils - Class in org.forgerock.util.test
-
Utilities for working with files within unit tests.
G
- getFileForPath(String) - Static method in class org.forgerock.util.test.MavenResourceUtil
-
Get a file representation of the specified relative file resource path.
- getPath(String) - Static method in class org.forgerock.util.test.MavenResourceUtil
-
Get the appropriate path to the file having the specified relative path.
H
- hasArray(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is an array. - hasBoolean(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is a boolean, irrespective of its value. - hasNull(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is null. - hasNumber(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is a number, irrespective of its value. - hasObject(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is an object. - hasPath(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Get a
AssertJJsonValueAssert.AbstractJsonValueAssert
for the referencedJsonValue
. - hasSize(int) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array contains the given size.
- hasString(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the referenced
JsonValue
is a string, irrespective of its value.
I
- integerAt(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Get a
AbstractIntegerAssert
for the referencedJsonValue
is an integer, to check its value. - integerIs(String, Condition<Integer>) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check the integer value of the referenced
JsonValue
. - isArray() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is an array. - isBoolean() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is a boolean. - isDouble() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is a long. - isDouble() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.NumberJsonValueAssert
-
Check that the
JsonValue
is a double. - isEmpty() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the JSON is either an array or an object and is empty.
- isEmpty() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
- isEmpty() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ObjectJsonValueAssert
- isInteger() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is an integer. - isInteger() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.NumberJsonValueAssert
-
Check that the
JsonValue
is an integer. - isLong() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is a long. - isLong() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.NumberJsonValueAssert
-
Check that the
JsonValue
is a long. - isNotNull() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
- isNull() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
- isNumber() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is a number. - isObject() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is an object. - isString() - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check that the
JsonValue
is a string.
L
- longAt(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Get a
AbstractLongAssert
for the referencedJsonValue
is a long, to check its value. - longIs(String, Condition<Long>) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check the long value of the referenced
JsonValue
.
M
- MavenResourceUtil - Class in org.forgerock.util.test
-
Utility methods for retrieving test resource files from the Maven project path.
O
- org.forgerock.json.test.assertj - package org.forgerock.json.test.assertj
-
Provide assertions based on assertj to work on JsonValue classes.
- org.forgerock.util.test - package org.forgerock.util.test
-
Unit test utilities.
- org.forgerock.util.test.assertj - package org.forgerock.util.test.assertj
-
Assertion utilities for the AssertJ assertion library.
S
- startsWith(Object...) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.ArrayJsonValueAssert
-
Check that this array starts with the given values.
- stringAt(String) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Get a
AbstractCharSequenceAssert
for the referencedJsonValue
is a string, to check its value. - stringIs(String, Condition<String>) - Method in class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
-
Check the value of the referenced
JsonValue
string. - succeeded() - Method in class org.forgerock.util.test.assertj.AbstractAssertJPromiseAssert
-
Asserts that the promise succeeded.
W
- withBoolean() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
Boolean
instance. - withDouble() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
Double
instance. - withFile() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
File
instance. - withInputStream() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
InputStream
instance. - withInteger() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
Integer
instance. - withIterable() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
Iterable
instance. - withList() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
List
instance. - withLong() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
Long
instance. - withMap() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
Map
instance. - withObject() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was an instance of type
T
. - withObjectArray() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was an array of type
T
. - withString() - Method in class org.forgerock.util.test.assertj.AssertJPromiseAssert.SuccessfulPromiseAssert
-
Asserts that the value was a
String
instance.
All Classes and Interfaces|All Packages