Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Add some test coverage for `BlockingHttpServer`.

Add some test coverage for `BlockingHttpServer`.

Change `BlockingHttpServer` test fixture so that client reads the entire response from the server.

  1. … 2 more files in changeset.
Change `BlockingHttpServer` test fixture so that client reads the entire response from the server.

  1. … 2 more files in changeset.
Change `BlockingHttpServer` test fixture so that client reads the entire response from the server.

  1. … 2 more files in changeset.
Change `BlockingHttpServer` test fixture so that client reads the entire response from the server.

  1. … 2 more files in changeset.
Change `BlockingHttpServer` test fixture so that client reads the entire response from the server.

  1. … 2 more files in changeset.
Change `BlockingHttpServer` test fixture so that client reads the entire response from the server.

  1. … 2 more files in changeset.
Fixes for http server changes.

  1. … 9 more files in changeset.
Change `BlockingHttpServer` fixture to return a 400 response rather than 500 response when an unexpected HTTP request is received. Also improve diagnostic messages for certain kinds of failures.

  1. … 11 more files in changeset.
Change `BlockingHttpServer` fixture to return a 400 response rather than 500 response when an unexpected HTTP request is received. Also improve diagnostic messages for certain kinds of failures.

  1. … 11 more files in changeset.
Change `BlockingHttpServer` fixture to return a 400 response rather than 500 response when an unexpected HTTP request is received. Also improve diagnostic messages for certain kinds of failures.

  1. … 11 more files in changeset.
Change `BlockingHttpServer` fixture to return a 400 response rather than 500 response when an unexpected HTTP request is received. Also improve diagnostic messages for certain kinds of failures.

  1. … 11 more files in changeset.
Re-enable a test.

Ignore flaky BlockingHttpServerTest for now

Change `BlockingHttpServer.stop()` to wait for all current requests to complete before collecting failures, so as to not miss failures that are happening at the same time that the test calls `stop()`.

Also some tweaks to error messages.

    • -61
    • +165
    ./BlockingHttpServerTest.groovy
  1. … 7 more files in changeset.
Tweak the API of `BlockingHttpServer` and fix some flakiness in its error reporting.

Also replace the remaining usages of `CyclicBarrierHttpServer` with `BlockingHttpServer`.

  1. … 16 more files in changeset.
Rework `BlockingHttpServer` API to separate expected HTTP request from the action that should be performed when the request is received. Also remove usages of `HttpExchange` from tests (but not fixtures) as this is an internal detail of the fixture.

  1. … 22 more files in changeset.
Change `BlockingHttpServer` so that it can handle multiple concurrent requests to the same URL.

    • -29
    • +119
    ./BlockingHttpServerTest.groovy
  1. … 4 more files in changeset.
Changed `BlockingHttpServer` to optionally allow an action to be specified that can build the response for a GET request, and added support for POST requests.

  1. … 10 more files in changeset.
Fixed flaky test.

Added `BlockingHttpServer.put()` to allow a test to expect PUT requests, and `missing()` to allow a test to specify that a 404 response should be returned for an expected GET request.

    • -12
    • +138
    ./BlockingHttpServerTest.groovy
  1. … 12 more files in changeset.
Improved some error handling in `BlockingHttpServer`.

  1. … 4 more files in changeset.