Skip to content
GitHub Actions / Tests Results succeeded Aug 2, 2024 in 0s

145 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
core/build/test-results/test/TEST-EventParserTest.xml 11✅ 195ms
core/build/test-results/test/TEST-HeaderParametersTest.xml 8✅ 139ms
core/build/test-results/test/TEST-MediaTypeCodecTest$BinaryCodec.xml 4✅ 659ms
core/build/test-results/test/TEST-MediaTypeCodecTest$TextCodec.xml 4✅ 10ms
core/build/test-results/test/TEST-MediaTypeTest.xml 8✅ 43ms
core/build/test-results/test/TEST-PatchingTest.xml 1✅ 343ms
core/build/test-results/test/TEST-PathEncodersTest.xml 2✅ 4ms
core/build/test-results/test/TEST-URITemplateTest.xml 2✅ 12ms
core/build/test-results/test/TEST-WWWFormURLEncoderTest.xml 16✅ 90ms
jdk/build/test-results/test/TEST-io.outfoxx.sunday.jdk.JdkEventSourceTest.xml 11✅ 6s
jdk/build/test-results/test/TEST-io.outfoxx.sunday.jdk.JdkGeneratedAPITest.xml 3✅ 853ms
jdk/build/test-results/test/TEST-io.outfoxx.sunday.jdk.JdkRequestFactoryTest.xml 32✅ 700ms
okhttp/build/test-results/test/TEST-io.outfoxx.sunday.okhttp.OkHttpEventSourceTest.xml 11✅ 7s
okhttp/build/test-results/test/TEST-io.outfoxx.sunday.okhttp.OkHttpGeneratedAPITest.xml 3✅ 950ms
okhttp/build/test-results/test/TEST-io.outfoxx.sunday.okhttp.OkHttpRequestFactoryTest.xml 29✅ 725ms

✅ core/build/test-results/test/TEST-EventParserTest.xml

11 tests were completed in 195ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
EventParserTest 11✅ 195ms

✅ EventParserTest

✅ dispatches events with carriage-lines, lines-feed pairs()
✅ dispatches events with carriage-lines()
✅ handles chunked messages()
✅ dispatches multiple events()
✅ ignores comment lines()
✅ dispatches events with mixed carriage-lines and lines-feed pairs()
✅ allows empty values for fields()
✅ allows empty values for fields without colons()
✅ allows empty values for fields without spaces()
✅ dispatches events with line-feeds()
✅ concatenates data fields()

✅ core/build/test-results/test/TEST-HeaderParametersTest.xml

8 tests were completed in 139ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
HeaderParametersTest 8✅ 139ms

✅ HeaderParametersTest

✅ test fails on invalid header values()
✅ test encodes iterables as repeated headers()
✅ test encodes array values as repeated headers()
✅ test integer encoding()
✅ test null values are ignored()
✅ test nested null values are ignored()
✅ test decimal encoding()
✅ test string encoding()

✅ core/build/test-results/test/TEST-MediaTypeCodecTest$BinaryCodec.xml

4 tests were completed in 659ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
binary encoding/decoding 4✅ 659ms

✅ binary encoding/decoding

MediaTypeCodecTest$BinaryCodec
  ✅ test encoder fails to encode non binary values()
  ✅ test encoder encodes binary values()
  ✅ test decoder decodes binary values()
  ✅ test decoder fails to decode non binary()

✅ core/build/test-results/test/TEST-MediaTypeCodecTest$TextCodec.xml

4 tests were completed in 10ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
text encoding/decoding 4✅ 10ms

✅ text encoding/decoding

MediaTypeCodecTest$TextCodec
  ✅ test encoder fails to encode non text values()
  ✅ test encoder encodes text()
  ✅ test decoder fails to decode non text()
  ✅ test decoder decodes text()

✅ core/build/test-results/test/TEST-MediaTypeTest.xml

8 tests were completed in 43ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MediaTypeTest 8✅ 43ms

✅ MediaTypeTest

✅ test compatibility()
✅ extracts from headers()
✅ test sanity()
✅ test parameter override()
✅ test parse()
✅ test value()
✅ test parameter access()
✅ test equality()

✅ core/build/test-results/test/TEST-PatchingTest.xml

1 tests were completed in 343ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PatchingTest 1✅ 343ms

✅ PatchingTest

✅ simple()

✅ core/build/test-results/test/TEST-PathEncodersTest.xml

2 tests were completed in 4ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PathEncodersTest 2✅ 4ms

✅ PathEncodersTest

✅ adding explicitly typed encoders()
✅ adding implicitly typed encoders()

✅ core/build/test-results/test/TEST-URITemplateTest.xml

2 tests were completed in 12ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
URITemplateTest 2✅ 12ms

✅ URITemplateTest

✅ test enum encoding()
✅ test custom encoding()

✅ core/build/test-results/test/TEST-WWWFormURLEncoderTest.xml

16 tests were completed in 90ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
WWWFormURLEncoderTest 16✅ 90ms

✅ WWWFormURLEncoderTest

✅ encodes null values as flags()
✅ encodes date values in milliseconds since epoch form()
✅ encodes list values in unbracketed form()
✅ encodes array values in unbracketed form()
✅ percent encodes keys()
✅ encodes bool values in numeric form()
✅ encodes bool values in literal form()
✅ encodes to byte arrays()
✅ encodes set values in bracketed form()
✅ encodes date values in ISO form()
✅ encodes complex values()
✅ percent encodes values()
✅ encodes date values in seconds since epoch form()
✅ encodes list values in bracketed form()
✅ encodes set values in unbracketed form()
✅ encodes array values in bracketed form()

✅ jdk/build/test-results/test/TEST-io.outfoxx.sunday.jdk.JdkEventSourceTest.xml

11 tests were completed in 6s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.outfoxx.sunday.jdk.JdkEventSourceTest 11✅ 6s

✅ io.outfoxx.sunday.jdk.JdkEventSourceTest

✅ event timeout reconnects()
✅ test callbacks()
✅ test ignore double connect()
✅ cancellation closes connection()
✅ test simple data()
✅ test listener add & remove()
✅ reconnect with last-event-id ignores invalid ids()
✅ test JSON data()
✅ valid retry timeout update()
✅ reconnect with last-event-id()
✅ invalid retry timeout updates are ignored()

✅ jdk/build/test-results/test/TEST-io.outfoxx.sunday.jdk.JdkGeneratedAPITest.xml

3 tests were completed in 853ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.outfoxx.sunday.jdk.JdkGeneratedAPITest 3✅ 853ms

✅ io.outfoxx.sunday.jdk.JdkGeneratedAPITest

✅ generated style API unit result response method()
✅ generated style API result response method()
✅ generated style API result method()

✅ jdk/build/test-results/test/TEST-io.outfoxx.sunday.jdk.JdkRequestFactoryTest.xml

32 tests were completed in 700ms with 32 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.outfoxx.sunday.jdk.JdkRequestFactoryTest 32✅ 700ms

✅ io.outfoxx.sunday.jdk.JdkRequestFactoryTest

✅ encodes path parameters()
✅ fails url query parameter encoder is not a URLQueryParamsEncoder()
✅ adds accept headers()
✅ test problem responses fail with SundayError when no JSON decoder()
✅ fails when response content-type is invalid()
✅ set content-type when body is non-existent()
✅ test non problem error responses are translated to predefined problems()
✅ error responses with non standard status codes are handled()
✅ test decoding fails when no decoder for content-type()
✅ executes manual requests for responses()
✅ fails when no data and non empty result types()
✅ executes requests with empty responses()
✅ test problem responses with empty bodies are translated to predefined problems()
✅ test problem responses fail when registered JSON decoder is not a structured decoder()
✅ builds event sources()
✅ encodes query parameters()
✅ fails when a result is expected and no data is returned in response()
✅ builds event streams()
✅ allows overriding defaults constructor()
✅ fails if none of the accept types has a decoder()
✅ test unregistered problems decode as generic problems()
✅ test decoding errors are translated to SundayError()
✅ adds custom headers()
✅ fails if none of the content types has an encoder for the body()
✅ test registered problems decode as typed problems()
✅ attaches encoded body based on content-type()
✅ fetches typed results()
✅ fails when no query parameter encoder is registered and query params are provided()
✅ fails when response content-type is unsupported()
✅ adapt a an HTTP request()
✅ copying requests to builder()
✅ copying requests to builder without headers()

✅ okhttp/build/test-results/test/TEST-io.outfoxx.sunday.okhttp.OkHttpEventSourceTest.xml

11 tests were completed in 7s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.outfoxx.sunday.okhttp.OkHttpEventSourceTest 11✅ 7s

✅ io.outfoxx.sunday.okhttp.OkHttpEventSourceTest

✅ event timeout reconnects()
✅ test callbacks()
✅ test ignore double connect()
✅ cancellation closes connection()
✅ test simple data()
✅ test listener add & remove()
✅ reconnect with last-event-id ignores invalid ids()
✅ test JSON data()
✅ valid retry timeout update()
✅ reconnect with last-event-id()
✅ invalid retry timeout updates are ignored()

✅ okhttp/build/test-results/test/TEST-io.outfoxx.sunday.okhttp.OkHttpGeneratedAPITest.xml

3 tests were completed in 950ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.outfoxx.sunday.okhttp.OkHttpGeneratedAPITest 3✅ 950ms

✅ io.outfoxx.sunday.okhttp.OkHttpGeneratedAPITest

✅ generated style API unit result response method()
✅ generated style API result response method()
✅ generated style API result method()

✅ okhttp/build/test-results/test/TEST-io.outfoxx.sunday.okhttp.OkHttpRequestFactoryTest.xml

29 tests were completed in 725ms with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.outfoxx.sunday.okhttp.OkHttpRequestFactoryTest 29✅ 725ms

✅ io.outfoxx.sunday.okhttp.OkHttpRequestFactoryTest

✅ encodes path parameters()
✅ fails url query parameter encoder is not a URLQueryParamsEncoder()
✅ adds accept headers()
✅ test problem responses fail with SundayError when no JSON decoder()
✅ fails when response content-type is invalid()
✅ set content-type when body is non-existent()
✅ test non problem error responses are translated to predefined problems()
✅ error responses with non standard status codes are handled()
✅ test decoding fails when no decoder for content-type()
✅ executes manual requests for responses()
✅ fails when no data and non empty result types()
✅ executes requests with empty responses()
✅ test problem responses with empty bodies are translated to predefined problems()
✅ test problem responses fail when registered JSON decoder is not a structured decoder()
✅ builds event sources()
✅ encodes query parameters()
✅ fails when a result is expected and no data is returned in response()
✅ builds event streams()
✅ allows overriding defaults constructor()
✅ fails if none of the accept types has a decoder()
✅ test unregistered problems decode as generic problems()
✅ test decoding errors are translated to SundayError()
✅ adds custom headers()
✅ fails if none of the content types has an encoder for the body()
✅ test registered problems decode as typed problems()
✅ attaches encoded body based on content-type()
✅ fetches typed results()
✅ fails when no query parameter encoder is registered and query params are provided()
✅ fails when response content-type is unsupported()