Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: BaseWicketTester and exception handling

...

junit.framework.Assert is deprecated. Due to this change org.junit.Assert#fail() throws now java.lang.AssertionError instead of junit.framework.AseertionFailedError

(Base)WicketTester can be reused after thrown exception

If an exception is thrown during processing in BaseWicketTester or the request was not processed by Wicket, you have to use #getLastRequest() to access this request (was #getRequest() previously).
WICKET-5389.

org.apache.wicket.Component#setMetaData() value could be only a Serializable WICKET-5227

...