PsrTransportTest
extends TestCase
in package
FinalYes
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Common\Export\Http\PsrTransportFactory::class
- #[CoversClass]
- \OpenTelemetry\SDK\Common\Export\Http\PsrTransport::class
Table of Contents
Properties
- $client : MockObject
- $factory : PsrTransportFactory
Methods
- setUp() : void
- test_force_flush_closed_returns_false() : void
- test_force_flush_returns_true() : void
- test_invalid_endpoint_throws_exception() : void
- test_send_applies_compression() : void
- test_send_closed_returns_error() : void
- test_send_decode_unknown_encoding_returns_error() : void
- test_send_decodes_response_body() : void
- test_send_exception_returns_error() : void
- test_send_number_of_retries() : void
- test_send_propagates_body_and_content_type() : void
- test_send_returns_error_if_retry_limit_exceeded() : void
- test_send_returns_response_body() : void
- test_send_sets_headers() : void
- test_send_status_code4xx_returns_error() : void
- test_send_status_code5xx_retries() : void
- test_shutdown_closed_returns_false() : void
- test_shutdown_returns_true() : void
Properties
$client
private
MockObject
$client
$factory
private
PsrTransportFactory
$factory
Methods
setUp()
public
setUp() : void
test_force_flush_closed_returns_false()
public
test_force_flush_closed_returns_false() : void
test_force_flush_returns_true()
public
test_force_flush_returns_true() : void
test_invalid_endpoint_throws_exception()
public
test_invalid_endpoint_throws_exception() : void
test_send_applies_compression()
public
test_send_applies_compression() : void
test_send_closed_returns_error()
public
test_send_closed_returns_error() : void
test_send_decode_unknown_encoding_returns_error()
public
test_send_decode_unknown_encoding_returns_error() : void
test_send_decodes_response_body()
public
test_send_decodes_response_body() : void
test_send_exception_returns_error()
public
test_send_exception_returns_error() : void
test_send_number_of_retries()
public
test_send_number_of_retries() : void
test_send_propagates_body_and_content_type()
public
test_send_propagates_body_and_content_type() : void
test_send_returns_error_if_retry_limit_exceeded()
public
test_send_returns_error_if_retry_limit_exceeded() : void
test_send_returns_response_body()
public
test_send_returns_response_body() : void
test_send_sets_headers()
public
test_send_sets_headers() : void
test_send_status_code4xx_returns_error()
public
test_send_status_code4xx_returns_error() : void
test_send_status_code5xx_retries()
public
test_send_status_code5xx_retries() : void
test_shutdown_closed_returns_false()
public
test_shutdown_closed_returns_false() : void
test_shutdown_returns_true()
public
test_shutdown_returns_true() : void