Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- reflectionEquals(Object, Object) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
This method uses reflection to determine if the two objects are equal.
It usesAccessibleObject.setAccessible(boolean)
to gain access to private fields. - reflectionEquals(Object, Object, boolean) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
This method uses reflection to determine if the two objects are equal.
It usesAccessibleObject.setAccessible(boolean)
to gain access to private fields. - reflectionEquals(Object, Object, boolean, Class<?>) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
This method uses reflection to determine if the two objects are equal.
It usesAccessibleObject.setAccessible(boolean)
to gain access to private fields. - reflectionEquals(Object, Object, boolean, Class<?>, String[]) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
This method uses reflection to determine if the two objects are equal.
It usesAccessibleObject.setAccessible(boolean)
to gain access to private fields. - reflectionEquals(Object, Object, String[]) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
This method uses reflection to determine if the two objects are equal.
It usesAccessibleObject.setAccessible(boolean)
to gain access to private fields. - reflectionEquals(Object, Object, Collection<String>) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
This method uses reflection to determine if the two objects are equal.
It usesAccessibleObject.setAccessible(boolean)
to gain access to private fields. - requireNonNull(T) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
Checks if the given value
a
isnull
and throws aNullPointerException
if it isnull
; callsObjects.requireNonNull(Object)
internally. - requireNonNull(T, String) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
Checks if the given value
a
isnull
and throws aNullPointerException
with the specified message if it isnull
. - requireNonNullArgument(T, String) - Static method in class org.tquadrat.foundation.testutil.TestUtils
- requireNotEmptyArgument(T, String) - Static method in class org.tquadrat.foundation.testutil.TestUtils
-
Checks if the given argument
a
isnull
or empty and throws aNullPointerException
if it isnull
, or aIllegalArgumentException
if it is empty.
Only Strings, arrays,Collection
s, andMap
s will be checked on being empty.
Because the interfaceEnumeration
does not provide an API for the check on emptiness (hasMoreElements()
will returnfalse
after all elements have been taken from theEnumeration
instance), the result for arguments of this type has to be taken with caution.
For instances ofStream
, the methodStream.findAny()
is used to determine if the stream has elements. - resetDefaultSettings() - Method in class org.tquadrat.foundation.testutil.TestBaseClass
- resetDefaultStreams() - Method in class org.tquadrat.foundation.testutil.TestBaseClass
-
Resets the default streams.
- resetSkipThreadTest() - Method in class org.tquadrat.foundation.testutil.TestBaseClass
-
Resets the thread test flag.
- ResourceBundleImpl - Class in org.tquadrat.foundation.testutil.impl
-
A simple implementation of
ResourceBundle
for testing purposes. - ResourceBundleImpl(Map<String, Object>) - Constructor for class org.tquadrat.foundation.testutil.impl.ResourceBundleImpl
-
Creates a new
ResourceBundleImpl
instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form