public class AssertString extends BaseObject
| Constructor and Description |
|---|
AssertString() |
| Modifier and Type | Method and Description |
|---|---|
void |
__oeunit_assertion_assertString_constructor__()
The constructor
|
static void |
__oeunit_assertion_AssertString_constructor__static__()
Static constructor
|
void |
__oeunit_assertion_AssertString_execute__()
The 'execute' procedure method
|
private 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.
|
static void |
contains(character source,
character fragment)
Assert one string is part of another one.
|
static void |
contains(character source,
character fragment,
character failMessage)
Assert one string is part of another one.
|
static void |
contains(longchar source,
character fragment)
Assert one string is part of another one.
|
static void |
contains(longchar source,
character fragment,
character failMessage)
Assert one string is part of another one.
|
private static void |
containsImpl(Text source,
Text fragment,
character failMessage)
Assert one string is part of another one.
|
static void |
doesNotContain(character source,
character fragment)
Assert one string is not part of another one.
|
static void |
doesNotContain(character source,
character fragment,
character failMessage)
Assert one string is not part of another one.
|
static void |
doesNotContain(longchar source,
character fragment)
Assert one string is not part of another one.
|
static void |
doesNotContain(longchar source,
character fragment,
character failMessage)
Assert one string is not part of another one.
|
private static void |
doesNotContainImpl(Text source,
Text fragment,
character failMessage)
Assert one string is not part of another one.
|
static void |
isNotNullOrEmpty(character value)
Assert a string is neither unknown nor empty.
|
static void |
isNotNullOrEmpty(character value,
character failMessage)
Assert a string is neither unknown nor empty.
|
static void |
isNotNullOrEmpty(longchar value)
Assert a string is neither unknown nor empty.
|
static void |
isNotNullOrEmpty(longchar value,
character failMessage)
Assert a string is neither unknown nor empty.
|
private static void |
isNotNullOrEmptyImpl(Text value,
character failMessage)
Assert a string is neither unknown nor empty.
|
static void |
isNullOrEmpty(character value)
Assert a value is either unknown or an empty string.
|
static void |
isNullOrEmpty(character value,
character failMessage)
Assert a value is either unknown or an empty string.
|
static void |
isNullOrEmpty(longchar value)
Assert a value is either unknown or an empty string.
|
static void |
isNullOrEmpty(longchar value,
character failMessage)
Assert a value is either unknown or an empty string.
|
private static void |
isNulOrEmptyImpl(Text value,
character failMessage)
Assert a value is either unknown or an empty string.
|
__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, assertNotNull, assertNotNull, getLegacyClass, getNextSibling, getPrevSibling, legacyClone, legacyEquals, toLegacyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTrackedpublic static void __oeunit_assertion_AssertString_constructor__static__()
public static void contains(character source, character fragment)
source - the value to search infragment - the value to search forpublic static void contains(character source, character fragment, character failMessage)
source - the value to search infragment - the value to search forfailMessage - the failure messagepublic static void contains(longchar source, character fragment)
source - the value to search infragment - the value to search forpublic static void contains(longchar source, character fragment, character failMessage)
source - the value to search infragment - the value to search forfailMessage - the failure messagepublic static void doesNotContain(character source, character fragment)
source - the value to search infragment - the value to search forpublic static void doesNotContain(character source, character fragment, character failMessage)
source - the value to search infragment - the value to search forfailMessage - the failure messagepublic static void doesNotContain(longchar source, character fragment)
source - the value to search infragment - the value to search forpublic static void doesNotContain(longchar source, character fragment, character failMessage)
source - the value to search infragment - the value to search forfailMessage - the failure messagepublic static void isNotNullOrEmpty(character value)
value - the value to search inpublic static void isNotNullOrEmpty(character value, character failMessage)
value - the value to search infailMessage - the failure messagepublic static void isNotNullOrEmpty(longchar value)
value - the value to search inpublic static void isNotNullOrEmpty(longchar value, character failMessage)
value - the value to search infailMessage - the failure messagepublic static void isNullOrEmpty(character value)
value - the value to testpublic static void isNullOrEmpty(character value, character failMessage)
value - the value to testfailMessage - the failure messagepublic static void isNullOrEmpty(longchar value)
value - the value to testpublic static void isNullOrEmpty(longchar value, character failMessage)
value - the value to testfailMessage - the failure messageprivate static final 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 executeprivate static void call(java.lang.String legacyName,
Body body)
legacyName - the legacy name of the methodbody - the method bodyprivate static void containsImpl(Text source, Text fragment, character failMessage)
source - the value to search infragment - the value to search forfailMessage - the failure messageprivate static void doesNotContainImpl(Text source, Text fragment, character failMessage)
source - the value to search infragment - the value to search forfailMessage - the failure messageprivate static void isNotNullOrEmptyImpl(Text value, character failMessage)
value - the value to search infailMessage - the failure messageprivate static void isNulOrEmptyImpl(Text value, character failMessage)
value - the value to testfailMessage - the failure messagepublic void __oeunit_assertion_assertString_constructor__()
public void __oeunit_assertion_AssertString_execute__()