|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mark.core.test.Util
Util is a class that contains a number of simple static utility methods.
| Constructor Summary | |
Util()
|
|
| Method Summary | |
static boolean |
equals(java.lang.Object a,
java.lang.Object b)
A generalized equals method. |
static void |
test(java.lang.String name,
boolean success)
Prints to standard error the given string, a bunch of dots, "Success!" or "Failure!", depending on the given boolean, and a newline. |
static java.lang.String |
toString(java.lang.Object obj)
A generalized toString method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Util()
| Method Detail |
public static void test(java.lang.String name,
boolean success)
name - the String.success - whether to print success.public static java.lang.String toString(java.lang.Object obj)
public static boolean equals(java.lang.Object a,
java.lang.Object b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||