|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.test.WeakTestResult
| Field Summary | |
protected int |
errors
|
protected int |
failures
|
protected int |
successes
|
| Constructor Summary | |
WeakTestResult()
|
|
| Method Summary | |
void |
assertTrue(TestableBase testable,
boolean expected,
boolean actual,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
assertTrue(TestableBase testable,
int expected,
int actual,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
assertTrue(TestableBase testable,
long expected,
long actual,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
assertTrue(TestableBase testable,
java.lang.String expected,
java.lang.String actual,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
differentObjects(TestableBase testable,
java.lang.Object obj1,
java.lang.Object obj2,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
equalObjects(TestableBase testable,
java.lang.Object o1,
java.lang.Object o2,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
errorCaught(TestableBase whoFailed,
java.lang.Throwable t)
Call this when your test catches an error or an exception |
abstract void |
exceptionExtra(java.lang.Throwable t)
|
void |
fail(TestableBase whoFailed,
java.lang.String whatHappened)
Call this if a test has failed, whatHappened should be a description of the failure. |
void |
isNull(TestableBase testable,
java.lang.Object o,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
notEqual(TestableBase testable,
java.lang.String string1,
java.lang.String string2,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
abstract void |
print(java.lang.String msg)
|
void |
sameObject(TestableBase testable,
java.lang.Object obj1,
java.lang.Object obj2,
java.lang.String msg)
Call this assertion to see if a test did the expected thing |
void |
summary()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int failures
protected int successes
protected int errors
| Constructor Detail |
public WeakTestResult()
| Method Detail |
public abstract void print(java.lang.String msg)
public abstract void exceptionExtra(java.lang.Throwable t)
public void fail(TestableBase whoFailed,
java.lang.String whatHappened)
public void errorCaught(TestableBase whoFailed,
java.lang.Throwable t)
public void summary()
public void assertTrue(TestableBase testable,
int expected,
int actual,
java.lang.String msg)
public void assertTrue(TestableBase testable,
long expected,
long actual,
java.lang.String msg)
public void assertTrue(TestableBase testable,
java.lang.String expected,
java.lang.String actual,
java.lang.String msg)
public void assertTrue(TestableBase testable,
boolean expected,
boolean actual,
java.lang.String msg)
public void notEqual(TestableBase testable,
java.lang.String string1,
java.lang.String string2,
java.lang.String msg)
public void sameObject(TestableBase testable,
java.lang.Object obj1,
java.lang.Object obj2,
java.lang.String msg)
public void differentObjects(TestableBase testable,
java.lang.Object obj1,
java.lang.Object obj2,
java.lang.String msg)
public void isNull(TestableBase testable,
java.lang.Object o,
java.lang.String msg)
public void equalObjects(TestableBase testable,
java.lang.Object o1,
java.lang.Object o2,
java.lang.String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||