Class mozilla.components.concept.fetch.ResponseTest

17

tests

0

failures

0

ignored

1.437s

duration

100%

successful

Tests

Test Duration Result
Closing Body closes stream 0.001s passed
Closing body closes stream of body 0.002s passed
Closing response closes stream of body 0.001s passed
Creating Body with invalid charset falls back to UTF-8 0.013s passed
Creating BufferedReader from Body 0.002s passed
Creating BufferedReader from Body with custom Charset 0.006s passed
Creating String from Body 0.001s passed
Creating String from Body with custom Charset 0.001s passed
Creating string closes stream 1.139s passed
Empty body 0.001s passed
Fully configured Response 0s passed
Stream throwing on close 0.028s passed
Using InputStream from Body 0.071s passed
Using buffered reader closes stream 0.002s passed
Using stream closes stream 0.004s passed
clientError() extension function returns true for 4xx response codes 0.163s passed
success() extension function returns true for 2xx response codes 0.002s passed