public abstract class AbstractAssert extends BaseObject
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ARGUMENT_NAME
Default value to use as the argument name in failure messages.
|
| Constructor and Description |
|---|
AbstractAssert() |
| Modifier and Type | Method and Description |
|---|---|
void |
__core_AbstractAssert_constructor__()
The "default" constructor.
|
static void |
__core_AbstractAssert_constructor__static__()
The static constructor
|
void |
__core_AbstractAssert_execute__()
Initialize this procedure
|
protected static void |
call(java.lang.Class<? extends _BaseObject_> clazz,
java.lang.String legacyName,
Body body)
Convenience method to execute Java code as a legacy method.
|
private static void |
call(java.lang.String legacyName,
Body body)
Implementation helper for all test methods in this very class.
|
protected static void |
equalsImpl(BaseDataType expected,
BaseDataType actual)
Implementation for most legacy equals methods in this class.
|
static void |
hasDeterminateExtent(character[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(character[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(date[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(date[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(datetime[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(datetime[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(datetimetz[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(datetimetz[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(decimal[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(decimal[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(handle[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(handle[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(int64[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(int64[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(integer[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(integer[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(logical[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(logical[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(longchar[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(longchar[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(memptr[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(memptr[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(object<? extends _BaseObject_>[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(object<? extends _BaseObject_>[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(raw[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(raw[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(recid[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(recid[] argument,
character name)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(rowid[] argument)
Check that the array argument has determinate extent
|
static void |
hasDeterminateExtent(rowid[] argument,
character name)
Check that the array argument has determinate extent
|
protected static void |
hasDeterminateExtentImpl(BaseDataType[] argument,
java.lang.String name)
Check that a 4gl array has determinate extent.
|
private static void |
hasDeterminateExtentImpl(object<? extends _BaseObject_>[] argument,
java.lang.String name)
Check that the extent of the array argument is determinate.
|
static void |
isAbstract(object<? extends LegacyClass> clazz)
Check that the class argument is an abstract class
|
protected static void |
isAvailableImpl(handle h,
java.lang.String name)
Implementation for legacy IsAvailable methods in this class.
|
static void |
isFinal(object<? extends LegacyClass> clazz)
Check that the class argument is a final class
|
static void |
isIndeterminateArray(character[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(character[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(date[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(date[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(datetime[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(datetime[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(datetimetz[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(datetimetz[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(decimal[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(decimal[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(handle[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(handle[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(int64[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(int64[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(integer[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(integer[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(logical[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(logical[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(longchar[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(longchar[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(memptr[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(memptr[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(object<? extends _BaseObject_>[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(object<? extends _BaseObject_>[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(raw[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(raw[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(recid[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(recid[] argument,
character name)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(rowid[] argument)
Check that the extent of the array argument is not determinate
|
static void |
isIndeterminateArray(rowid[] argument,
character name)
Check that the extent of the array argument is not determinate
|
private static void |
isIndeterminateArrayImpl(java.lang.Object[] argument,
java.lang.String name)
Check that the extent of the array argument is not determinate
|
static void |
isInterface(object<? extends LegacyClass> clazz)
Check that the class argument is an interface
|
static void |
isNull(object<? extends _BaseObject_> argument)
Check that the argument is unknown
|
static void |
isNull(object<? extends _BaseObject_>[] argument)
Check that the argument is unknown
|
static void |
isNull(object<? extends _BaseObject_>[] argument,
character name)
Check that the argument is unknown
|
static void |
isNull(object<? extends _BaseObject_> argument,
character name)
Check that the argument is unknown
|
protected static void |
isNullImpl(BaseDataType[] argument,
java.lang.String name)
Implementation for legacy IsNull methods for arrays.
|
protected static void |
isNullImpl(object<? extends _BaseObject_> argument,
java.lang.String name)
Implementation for legacy IsNull methods for legacy class instances.
|
static void |
isSerializable(object<? extends _BaseObject_> argument)
Check that the argument is a serializable object
|
static void |
isType(handle argument,
object<? extends DataTypeEnum> type)
Check that the argument is an object of the given type
|
static void |
isType(handle argument,
object<? extends DataTypeEnum> type,
character name)
Check that the argument is an object of the given type
|
static void |
isType(object<? extends _BaseObject_>[] argument,
object<? extends LegacyClass> clazz)
Check that the argument is an object of the given type
|
static void |
isType(object<? extends _BaseObject_> argument,
object<? extends LegacyClass> clazz)
Check that the argument is an object of the given type
|
protected static void |
isTypeImpl(handle argument,
object<? extends DataTypeEnum> type,
java.lang.String name)
Check that the argument is an object of the given type
|
static void |
isUnknown_(object<? extends _BaseObject_> argument)
Check that the argument is unknown
|
static void |
isUnknown_(object<? extends _BaseObject_>[] argument)
Check that the argument is unknown
|
static void |
isUnknown_(object<? extends _BaseObject_>[] argument,
character name)
Check that the argument is unknown
|
static void |
isUnknown_(object<? extends _BaseObject_> argument,
character name)
Check that the argument is unknown
|
protected static void |
isUnknownImpl(BaseDataType[] argument,
java.lang.String name)
Implementation for legacy IsUnknown methods for arrays.
|
protected static void |
isUnknownImpl(BaseDataType argument,
java.lang.String name)
Implementation for legacy IsUnknown methods for all BDTs.
|
static void |
legacyEquals(object<? extends _BaseObject_> expected,
object<? extends _BaseObject_> actual)
Check that two arguments are equal
|
static void |
notAbstract(object<? extends LegacyClass> clazz)
Check that the argument is not an abstract class
|
protected static void |
notEmptyImpl(BaseDataType argument,
java.lang.String name)
Implementation for legacy NotEmpty methods for handles and text.
|
static void |
notEqual(object<? extends _BaseObject_> expected,
object<? extends _BaseObject_> actual)
Check that two arguments are not equal
|
static void |
notFinal(object<? extends LegacyClass> clazz)
Check that the argument is not a final class
|
static void |
notInterface(object<? extends LegacyClass> clazz)
Check that the class argument is not an interface
|
static void |
notNull(object<? extends _BaseObject_> argument)
Check that the argument is not unknown
|
static void |
notNull(object<? extends _BaseObject_>[] argument)
Check that the argument is not unknown
|
static void |
notNull(object<? extends _BaseObject_>[] argument,
character name)
Check that the argument is not unknown
|
static void |
notNull(object<? extends _BaseObject_> argument,
character name)
Check that the argument is not unknown
|
protected static void |
notNullImpl(BaseDataType[] argument,
java.lang.String name)
Implementation for legacy IsUnknown methods for arrays.
|
protected static void |
notNullImpl(BaseDataType argument,
java.lang.String name)
Implementation for legacy NotNull methods for any BDTs.
|
protected static void |
notNullImpl(object<? extends _BaseObject_> argument,
java.lang.String name) |
protected static void |
notNullUnknownOrEmptyImpl(object<? extends _BaseObject_> argument,
java.lang.String name)
Common implementation for "NotNullOrEmpty" and "NotUnknownOrEmpty" methods.
|
static void |
notSerializable(object<? extends _BaseObject_> clazz)
Check that the argument is not a serializable object
|
static void |
notType(handle argument,
object<? extends DataTypeEnum> type)
Check that the argument is not an object of the given type
|
static void |
notType(handle argument,
object<? extends DataTypeEnum> type,
character name)
Check that the argument is not an object of the given type
|
static void |
notType(object<? extends _BaseObject_> argument,
object<? extends LegacyClass> clazz)
Check that the argument is not an object of the given type
|
protected static void |
notTypeImpl(handle argument,
object<? extends DataTypeEnum> type,
java.lang.String name)
Check that the argument is not an object of the given type
|
static void |
notUnknown(object<? extends _BaseObject_> argument)
Check that the argument is not unknown
|
static void |
notUnknown(object<? extends _BaseObject_>[] argument)
Check that the argument is not unknown
|
static void |
notUnknown(object<? extends _BaseObject_>[] argument,
character name)
Check that the argument is not unknown
|
static void |
notUnknown(object<? extends _BaseObject_> argument,
character name)
Check that the argument is not unknown
|
protected static void |
notUnknownImpl(BaseDataType[] argument,
java.lang.String name)
Implementation for legacy NotUnknown methods for arrays.
|
protected static void |
notUnknownImpl(BaseDataType argument,
java.lang.String name)
Implementation for legacy NotUnknown methods for any BDTs.
|
static void |
notUnknownOrEmptyCollection(object<? extends Icollection> argument)
Check that the argument is neither unknown nor empty
|
static void |
notUnknownOrEmptyCollection(object<? extends Icollection> argument,
character name)
Check that the argument is neither unknown nor empty
|
protected static void |
notUnknownOrEmptyImpl(object<? extends _BaseObject_>[] argument,
java.lang.String name)
Common implementation for "NotNullOrEmpty" and "NotUnknownOrEmpty" methods.
|
static void |
notUnknownOrEmptyMap(object<? extends Imap> argument)
Check that the argument is neither unknown nor empty
|
static void |
notUnknownOrEmptyMap(object<? extends Imap> argument,
character name)
Check that the argument is neither unknown nor empty
|
static void |
notUnknownOrEmptyObject(object<? extends _BaseObject_> argument)
Check that the argument is neither unknown nor empty
|
static void |
notUnknownOrEmptyObject(object<? extends _BaseObject_>[] argument)
Check that the argument is neither unknown nor empty
|
protected static void |
raiseError(character msg)
Raise
AssertionFailedError. |
protected static void |
raiseError(java.lang.String substituteTemplate,
BaseDataType arg1,
BaseDataType arg2)
Raise an ERROR condition.
|
protected static void |
raiseError(java.lang.String template,
java.lang.Object... args)
Format error string and raise
AssertionFailedError. |
protected static void |
raiseErrorForEquals(java.lang.String substituteTemplate,
BaseDataType arg1,
BaseDataType arg2)
Raise an ERROR condition.
|
protected static void |
raiseNotUnknown(java.lang.String name)
Raise an
AssertionFailedError for IsUnknown and IsNull methods. |
protected static void |
raiseUnknown(java.lang.String name)
Raise an
AssertionFailedError for NotUnknown and NotNull methods. |
protected static void |
testClass(object<? extends LegacyClass> clazz,
java.lang.String method,
java.util.function.Function<LegacyClass,logical> test,
java.lang.String message)
Check a class for the given condition.
|
__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, assertNotNull, assertNotNull, getLegacyClass, getNextSibling, getPrevSibling, legacyClone, legacyEquals, toLegacyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTrackedprotected static final java.lang.String DEFAULT_ARGUMENT_NAME
public static void __core_AbstractAssert_constructor__static__()
public static void hasDeterminateExtent(character[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(character[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(date[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(date[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(datetime[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(datetime[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(datetimetz[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(datetimetz[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(decimal[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(decimal[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(handle[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(handle[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(int64[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(int64[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(integer[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(integer[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(logical[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(logical[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(longchar[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(longchar[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(memptr[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(memptr[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(object<? extends _BaseObject_>[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(object<? extends _BaseObject_>[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(raw[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(raw[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(recid[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(recid[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void hasDeterminateExtent(rowid[] argument)
argument - The argument to checkpublic static void hasDeterminateExtent(rowid[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isAbstract(object<? extends LegacyClass> clazz)
clazz - The class under testpublic static void isFinal(object<? extends LegacyClass> clazz)
clazz - The class under testpublic static void isIndeterminateArray(character[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(character[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(date[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(date[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(datetime[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(datetime[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(datetimetz[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(datetimetz[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(decimal[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(decimal[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(handle[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(handle[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(int64[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(int64[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(integer[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(integer[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(logical[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(logical[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(longchar[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(longchar[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(memptr[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(memptr[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(object<? extends _BaseObject_>[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(object<? extends _BaseObject_>[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(raw[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(raw[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(recid[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(recid[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isIndeterminateArray(rowid[] argument)
argument - The argument to checkpublic static void isIndeterminateArray(rowid[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isInterface(object<? extends LegacyClass> clazz)
clazz - The class under testpublic static void isNull(object<? extends _BaseObject_> argument)
argument - The argument to checkpublic static void isNull(object<? extends _BaseObject_> argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isNull(object<? extends _BaseObject_>[] argument)
argument - The argument to checkpublic static void isNull(object<? extends _BaseObject_>[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isSerializable(object<? extends _BaseObject_> argument)
argument - The argument to checkpublic static void isType(handle argument, object<? extends DataTypeEnum> type)
argument - The argument to checktype - Type enumeration to matchpublic static void isType(handle argument, object<? extends DataTypeEnum> type, character name)
argument - The argument to checktype - Type enumeration to matchname - The name of the argumentpublic static void isType(object<? extends _BaseObject_> argument, object<? extends LegacyClass> clazz)
argument - The argument to checkclazz - The class to match the object topublic static void isType(object<? extends _BaseObject_>[] argument, object<? extends LegacyClass> clazz)
argument - The argument to checkclazz - The class to match the object topublic static void isUnknown_(object<? extends _BaseObject_> argument)
argument - The argument to checkpublic static void isUnknown_(object<? extends _BaseObject_> argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void isUnknown_(object<? extends _BaseObject_>[] argument)
argument - The argument to checkpublic static void isUnknown_(object<? extends _BaseObject_>[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void legacyEquals(object<? extends _BaseObject_> expected, object<? extends _BaseObject_> actual)
expected - The expected valueactual - The actual valuepublic static void notAbstract(object<? extends LegacyClass> clazz)
clazz - The class under testpublic static void notEqual(object<? extends _BaseObject_> expected, object<? extends _BaseObject_> actual)
expected - The expected valueactual - The actual valuepublic static void notFinal(object<? extends LegacyClass> clazz)
clazz - The class under testpublic static void notInterface(object<? extends LegacyClass> clazz)
clazz - The class under testpublic static void notNull(object<? extends _BaseObject_> argument)
argument - The argument to checkpublic static void notNull(object<? extends _BaseObject_> argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void notNull(object<? extends _BaseObject_>[] argument)
argument - The argument to checkpublic static void notNull(object<? extends _BaseObject_>[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void notSerializable(object<? extends _BaseObject_> clazz)
clazz - The argument to checkpublic static void notType(handle argument, object<? extends DataTypeEnum> type)
argument - The argument to checktype - Type enumeration to matchpublic static void notType(handle argument, object<? extends DataTypeEnum> type, character name)
argument - The argument to checktype - Type enumeration to matchname - The name of the argumentpublic static void notType(object<? extends _BaseObject_> argument, object<? extends LegacyClass> clazz)
argument - The argument to checkclazz - The class to match the object topublic static void notUnknown(object<? extends _BaseObject_> argument)
argument - The argument to checkpublic static void notUnknown(object<? extends _BaseObject_> argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void notUnknown(object<? extends _BaseObject_>[] argument)
argument - The argument to checkpublic static void notUnknown(object<? extends _BaseObject_>[] argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void notUnknownOrEmptyCollection(object<? extends Icollection> argument)
argument - The argument to checkpublic static void notUnknownOrEmptyCollection(object<? extends Icollection> argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void notUnknownOrEmptyMap(object<? extends Imap> argument)
argument - The argument to checkpublic static void notUnknownOrEmptyMap(object<? extends Imap> argument, character name)
argument - The argument to checkname - The name of the argumentpublic static void notUnknownOrEmptyObject(object<? extends _BaseObject_> argument)
argument - The argument to checkpublic static void notUnknownOrEmptyObject(object<? extends _BaseObject_>[] argument)
argument - The argument to checkprotected static void call(java.lang.Class<? extends _BaseObject_> clazz, java.lang.String legacyName, Body body)
clazz - the legacy class the method belongs tolegacyName - legacy method namebody - method body to executeprotected static void equalsImpl(BaseDataType expected, BaseDataType actual)
expected - the expected valueactual - the actual valueprotected static final void hasDeterminateExtentImpl(BaseDataType[] argument, java.lang.String name)
argument - the argument to checkname - the name to use in failure messageprotected static void isAvailableImpl(handle h, java.lang.String name)
h - the handle to testname - the argument name to reportprotected static void isNullImpl(BaseDataType[] argument, java.lang.String name)
argument - the array to testname - the argument name to reportprotected static void isNullImpl(object<? extends _BaseObject_> argument, java.lang.String name)
argument - the object to testname - the argument name to reportprotected static void isTypeImpl(handle argument, object<? extends DataTypeEnum> type, java.lang.String name)
argument - The argument to checktype - Type enumeration to matchname - the argument name to reportprotected static void isUnknownImpl(BaseDataType argument, java.lang.String name)
argument - the object to testname - the argument name to reportprotected static void isUnknownImpl(BaseDataType[] argument, java.lang.String name)
argument - the array to testname - the argument name to reportprotected static void notEmptyImpl(BaseDataType argument, java.lang.String name)
argument - the object to testname - the argument name to reportprotected static void notNullImpl(BaseDataType argument, java.lang.String name)
argument - the object to testname - the argument name to reportprotected static void notNullImpl(BaseDataType[] argument, java.lang.String name)
Array is not empty, and all array element are not unknown.
argument - the array to testname - the argument name to reportprotected static void notNullImpl(object<? extends _BaseObject_> argument, java.lang.String name)
argument - name - protected static void notNullUnknownOrEmptyImpl(object<? extends _BaseObject_> argument, java.lang.String name)
argument - the argument under testname - the argument nameprotected static void notTypeImpl(handle argument, object<? extends DataTypeEnum> type, java.lang.String name)
argument - The argument to checktype - Type enumeration to matchprotected static void notUnknownImpl(BaseDataType argument, java.lang.String name)
argument - the object to testname - the argument name to reportprotected static void notUnknownImpl(BaseDataType[] argument, java.lang.String name)
argument - the array to testname - the argument name to reportprotected static void notUnknownOrEmptyImpl(object<? extends _BaseObject_>[] argument, java.lang.String name)
argument - the argument under testname - the argument nameprotected static void raiseError(java.lang.String substituteTemplate,
BaseDataType arg1,
BaseDataType arg2)
substituteTemplate - message template to format the error message with SUBSTITUTEarg1 - the first argument to formatarg2 - the second argument to formatprotected static void raiseErrorForEquals(java.lang.String substituteTemplate,
BaseDataType arg1,
BaseDataType arg2)
This method is assumed to be used in Assert:Equals and Assert:NotEqual implementations, where two arguments are expected and actual values.
substituteTemplate - message template to format the error message with SUBSTITUTEarg1 - the expected value)arg2 - the the actual valueprotected static void raiseError(java.lang.String template,
java.lang.Object... args)
AssertionFailedError.template - the format string compatible with legacy SUBSTITUTE functionargs - arguments to pass to SUBSTITUTEprotected static void raiseError(character msg)
AssertionFailedError.msg - the error messageprotected static void raiseNotUnknown(java.lang.String name)
AssertionFailedError for IsUnknown and IsNull methods.name - the argument name to reportprotected static void raiseUnknown(java.lang.String name)
AssertionFailedError for NotUnknown and NotNull methods.name - the argument name to reportprotected static void testClass(object<? extends LegacyClass> clazz, java.lang.String method, java.util.function.Function<LegacyClass,logical> test, java.lang.String message)
clazz - The class under testmethod - name of the methodtest - the tester functionmessage - the failure message template, SUBSTITUTE compatibleprivate static void call(java.lang.String legacyName,
Body body)
legacyName - the legacy name of the methodbody - the method bodyprivate static void hasDeterminateExtentImpl(object<? extends _BaseObject_>[] argument, java.lang.String name)
argument - The argument to checkname - The name of the argumentprivate static void isIndeterminateArrayImpl(java.lang.Object[] argument,
java.lang.String name)
argument - The argument to checkname - The name of the argumentpublic void __core_AbstractAssert_constructor__()
public void __core_AbstractAssert_execute__()