SpanExporterTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\Contrib\Otlp\SpanExporter::class
Table of Contents
Properties
- $exporter : SpanExporter
- $transport : MockObject
Methods
- setUp() : void
- test_export_success() : void
- test_export_with_invalid_response() : void
- test_export_with_transport_failure() : void
- test_force_flush() : void
- test_json_invalid_utf8_sequence_is_encoded_as_bytes_value() : void
- test_json_span_and_trace_id_hex_format() : void
- test_shutdown() : void
Properties
$exporter
private
SpanExporter
$exporter
$transport
private
MockObject
$transport
Methods
setUp()
public
setUp() : void
test_export_success()
public
test_export_success() : void
test_export_with_invalid_response()
public
test_export_with_invalid_response() : void
test_export_with_transport_failure()
public
test_export_with_transport_failure() : void
test_force_flush()
public
test_force_flush() : void
test_json_invalid_utf8_sequence_is_encoded_as_bytes_value()
public
test_json_invalid_utf8_sequence_is_encoded_as_bytes_value() : void
test_json_span_and_trace_id_hex_format()
public
test_json_span_and_trace_id_hex_format() : void
test_shutdown()
public
test_shutdown() : void