|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.junit.StringTester
public final class StringTester
This tester provides some special assert methods for strings to simplify JUnit testing.
| Method Summary | |
|---|---|
static void |
assertEmpty(String s)
Check if the given string is null or empty. |
static void |
assertNotEmpty(String s)
Check if the given string is not null and not empty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void assertNotEmpty(String s)
s - the stringpublic static void assertEmpty(String s)
assertNotEmpty(String).
s - the s
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||