-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EXPERIMENTAL branch: Update to use alpha version of mockwebserver3-ju…
…nit5 This is an experimental branch, not intended to commit to main since it is using an alpha version of OkHttp's MockWebServer which is using experimental APIs, subject to change. This is mainly to show how we can change when OkHttp 5.0.0 is released. It is also to ensure we keep up with changes to the alpha APIs. Details: * Change POM to use mockwebserver3-junit5 5.0.0-alpha.14 instead of mockwebserver 4.12.0 * Fix imports in RecordedRequests/Test (they're now just "import mockwebserver3.*" * Update RecordedRequestsTest to use MockWebServerExtension and inject it into the setup method. No longer need to explicitly close it, since the extension handles that. Change instantiations of MockResponse since they've changed them such that the Kotlin code uses JvmOverloads to generate a bunch of constructors for use by Java code. * Revert KiwiXmlAssertTest to use isExactlyInstanceOf instead of isInstanceOf and add a TODO whether we should actually do that or leave as isInstanceOf.
- Loading branch information
1 parent
96b785a
commit eca2f79
Showing
4 changed files
with
38 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters