|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junitx.framework.StringAssert
A set of assert methods specially targetted at string objects.
Method Summary | |
static void |
assertContains(java.lang.String substring,
java.lang.String actual)
Asserts that a string contains a substring. |
static void |
assertContains(java.lang.String message,
java.lang.String substring,
java.lang.String actual)
Asserts that a string contains a substring. |
static void |
assertEndsWith(java.lang.String substring,
java.lang.String actual)
Asserts that a string ends with a substring. |
static void |
assertEndsWith(java.lang.String message,
java.lang.String substring,
java.lang.String actual)
Asserts that a string ends with a substring. |
static void |
assertNotContains(java.lang.String substring,
java.lang.String actual)
Asserts that a string does not contain a substring. |
static void |
assertNotContains(java.lang.String message,
java.lang.String substring,
java.lang.String actual)
Asserts that a string does not contain a substring. |
static void |
assertNotEndsWith(java.lang.String substring,
java.lang.String actual)
Asserts that a string doesn't end with a substring. |
static void |
assertNotEndsWith(java.lang.String message,
java.lang.String substring,
java.lang.String actual)
Asserts that a string doesn't end with a substring. |
static void |
assertNotStartsWith(java.lang.String substring,
java.lang.String actual)
Asserts that a string doesn't start with a substring. |
static void |
assertNotStartsWith(java.lang.String message,
java.lang.String substring,
java.lang.String actual)
Asserts that a string doesn't start with a substring. |
static void |
assertStartsWith(java.lang.String substring,
java.lang.String actual)
Asserts that a string starts with a substring. |
static void |
assertStartsWith(java.lang.String message,
java.lang.String substring,
java.lang.String actual)
Asserts that a string starts with a substring. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void assertContains(java.lang.String substring, java.lang.String actual)
public static void assertContains(java.lang.String message, java.lang.String substring, java.lang.String actual)
public static void assertNotContains(java.lang.String substring, java.lang.String actual)
public static void assertNotContains(java.lang.String message, java.lang.String substring, java.lang.String actual)
public static void assertStartsWith(java.lang.String substring, java.lang.String actual)
public static void assertStartsWith(java.lang.String message, java.lang.String substring, java.lang.String actual)
public static void assertNotStartsWith(java.lang.String substring, java.lang.String actual)
public static void assertNotStartsWith(java.lang.String message, java.lang.String substring, java.lang.String actual)
public static void assertEndsWith(java.lang.String substring, java.lang.String actual)
public static void assertEndsWith(java.lang.String message, java.lang.String substring, java.lang.String actual)
public static void assertNotEndsWith(java.lang.String substring, java.lang.String actual)
public static void assertNotEndsWith(java.lang.String message, java.lang.String substring, java.lang.String actual)
|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |