|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.test.support.AssertionErrors
public abstract class AssertionErrors
JUnit independent assertion class.
| Method Summary | |
|---|---|
static void |
assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
Asserts that two objects are equal. |
static void |
assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual,
java.lang.String sourceLabel,
javax.xml.transform.Source source)
Asserts that two objects are equal. |
static void |
assertTrue(java.lang.String message,
boolean condition)
Asserts that a condition is true. |
static void |
assertTrue(java.lang.String message,
boolean condition,
java.lang.String sourceLabel,
javax.xml.transform.Source source)
Asserts that a condition is true. |
static void |
fail(java.lang.String message)
Fails a test with the given message. |
static void |
fail(java.lang.String message,
java.lang.String sourceLabel,
javax.xml.transform.Source source)
Fails a test with the given message and source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void fail(java.lang.String message)
message - the message
public static void fail(java.lang.String message,
java.lang.String sourceLabel,
javax.xml.transform.Source source)
message - the messagesource - the source
public static void assertTrue(java.lang.String message,
boolean condition)
true. If not, throws an AssertionError with the given message.
message - the messagecondition - the condition to test for
public static void assertTrue(java.lang.String message,
boolean condition,
java.lang.String sourceLabel,
javax.xml.transform.Source source)
true. If not, throws an AssertionError with the given message and
source.
message - the messagecondition - the condition to test for
public static void assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
AssertionError is thrown with the given message.
message - the messageexpected - the expected valueactual - the actual value
public static void assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual,
java.lang.String sourceLabel,
javax.xml.transform.Source source)
AssertionError is thrown with the given message.
message - the messageexpected - the expected valueactual - the actual valuesource - the source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||