|PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES|
This file contains all the changes in documentation in the package
org.springframework.test.utilas colored differences. Deletions are shown
like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Class AssertionErrors, void assertTrue(String, boolean)
AssertsAssert thattwo objects are equal . If not,raise an AssertionError isif not.
thrownexample: with@param message describes the theassertEquals("Response givenheader message.[" + name + "]", actual, expected); messagevalue being checked @param expected the expected value @param actual the actual value
Class AssertionErrors, void fail(String)
Asserts that aAssert the given condition is [email protected] true} . If not,and throwsraise an AssertionError withif the given messageit is not. @param message the message @param condition the condition to test for
Fails a test with the given message. @param message describes theClass AssertionErrors, void fail(String, Object, Object)
messagereason for the failure
Fails a test with the given message passing along expected and actual values to be added to the message.
For example given:assertEquals("Response header [" + name + "]", actual, expected);
The resulting message is:Response header [Accept] expected:<application/json> but was:<text/plain>@param message describes the
messagevalue that failed the match @param expected theexpected value @param actual theactual value
Evaluate the JSONPath and assert the resulting value with the given [email protected] Matcher}. @param content the response content @param matcher the matcher to assert on the resulting json path