|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface that is to provide support to the unit tests.
| Method Summary | |
void |
assertEquals(double expected,
double actual,
double delta)
Asserts that two doubles are equal. |
void |
assertEquals(long expected,
long actual)
Asserts that two longs are equal. |
void |
assertEquals(java.lang.Object expected,
java.lang.Object actual)
Asserts that two objects are equal. |
void |
assertEquals(java.lang.String message,
double expected,
double actual,
double delta)
Asserts that two doubles are equal. |
void |
assertEquals(java.lang.String message,
long expected,
long actual)
Asserts that two longs are equal. |
void |
assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
Asserts that two objects are equal. |
void |
assertTrue(boolean condition)
Asserts that a condition is true. |
void |
assertTrue(java.lang.String message,
boolean condition)
Asserts that a condition is true. |
java.lang.String |
getName()
Gets the Name attribute of the TestContext object |
java.lang.Thread |
getNewThread(java.lang.Runnable r)
Gets the NewThread attribute of the TestContext object |
| Method Detail |
public java.lang.Thread getNewThread(java.lang.Runnable r)
r -
public java.lang.String getName()
public void assertTrue(boolean condition)
condition -
public void assertTrue(java.lang.String message,
boolean condition)
message - condition -
public void assertEquals(java.lang.Object expected,
java.lang.Object actual)
expected - the expected value of an objectactual - the actual value of an object
public void assertEquals(long expected,
long actual)
expected - the expected value of an objectactual - the actual value of an object
public void assertEquals(double expected,
double actual,
double delta)
expected - the expected value of an objectactual - the actual value of an objectdelta - tolerated delta
public void assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
message - the detail message for this assertionexpected - the expected value of an objectactual - the actual value of an object
public void assertEquals(java.lang.String message,
long expected,
long actual)
message - the detail message for this assertionexpected - the expected value of an objectactual - the actual value of an object
public void assertEquals(java.lang.String message,
double expected,
double actual,
double delta)
message - the detail message for this assertionexpected - the expected value of an objectactual - the actual value of an objectdelta - tolerated delta
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||