SimpleSpanProcessorTest
extends MockeryTestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Trace\SpanProcessor\SimpleSpanProcessor::class
Table of Contents
Properties
- $logWriter : LogWriterInterface|MockObject
- $nonSampledSpanContext : SpanContextInterface
- $readableSpan : MockInterface|ReadableSpanInterface
- $readWriteSpan : MockInterface|ReadWriteSpanInterface
- $sampledSpanContext : SpanContextInterface
- $simpleSpanProcessor : SimpleSpanProcessor
- $spanExporter : MockInterface|SpanExporterInterface
Methods
- test_does_not_trigger_concurrent_export() : void
- test_force_flush() : void
- test_force_flush_after_shutdown() : void
- test_on_end_after_shutdown() : void
- test_on_end_non_sampled_span() : void
- test_on_end_sampled_span() : void
- test_on_start() : void
- test_shutdown() : void
- test_throwing_exporter_export() : void
- test_throwing_exporter_flush() : void
- setUp() : void
Properties
$logWriter
private
LogWriterInterface|MockObject
$logWriter
$nonSampledSpanContext
private
SpanContextInterface
$nonSampledSpanContext
$readableSpan
private
MockInterface|ReadableSpanInterface
$readableSpan
$readWriteSpan
private
MockInterface|ReadWriteSpanInterface
$readWriteSpan
$sampledSpanContext
private
SpanContextInterface
$sampledSpanContext
$simpleSpanProcessor
private
SimpleSpanProcessor
$simpleSpanProcessor
$spanExporter
private
MockInterface|SpanExporterInterface
$spanExporter
Methods
test_does_not_trigger_concurrent_export()
public
test_does_not_trigger_concurrent_export() : void
Tags
test_force_flush()
public
test_force_flush() : void
test_force_flush_after_shutdown()
public
test_force_flush_after_shutdown() : void
test_on_end_after_shutdown()
public
test_on_end_after_shutdown() : void
test_on_end_non_sampled_span()
public
test_on_end_non_sampled_span() : void
test_on_end_sampled_span()
public
test_on_end_sampled_span() : void
test_on_start()
public
test_on_start() : void
test_shutdown()
public
test_shutdown() : void
test_throwing_exporter_export()
public
test_throwing_exporter_export() : void
test_throwing_exporter_flush()
public
test_throwing_exporter_flush() : void
setUp()
protected
setUp() : void