|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl2.examples.Output
public abstract class Output
Abstracts using a test within Junit or through a main method.
| Field Summary | |
|---|---|
static Output |
JUNIT
The output instance for Junit TestCase calling assertEquals. |
static Output |
SYSTEM
The output instance for the general outputing to System.out. |
| Method Summary | |
|---|---|
abstract void |
print(String expr,
Object actual,
Object expected)
Outputs the actual and value or checks the actual equals the expected value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Output JUNIT
public static final Output SYSTEM
| Method Detail |
|---|
public abstract void print(String expr,
Object actual,
Object expected)
expr - the message to outputactual - the actual value to outputexpected - the expected value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||