|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.test.util
as colored differences. Deletions are shownlike 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)AssertsAssertthattwo objects are equal.If not,raise an AssertionErrorisif not.For
thrownexample:with@param message describes thetheassertEquals("Responsegivenheadermessage.[" + 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 {@code true}.If not,andthrowsraise an AssertionErrorwithifthe 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 themessagevalue that failed the match @param expectedtheexpected value @param actualtheactual value
Evaluate the JSONPath and assert the resulting value with the given {@code Matcher}. @param content the response content @param matcher the matcher to assert on the resulting json path