SpanBuilderTest
extends MockeryTestCase
in package
Attributes
- #[CoversNothing]
Table of Contents
Constants
- SPAN_NAME = 'span_name'
Properties
- $sampledSpanContext : SpanContextInterface
- $spanProcessor : MockInterface|SpanProcessorInterface
- $tracer : TracerInterface
- $tracerProvider : TracerProviderInterface
Methods
- test_add_attributes_via_sampler() : void
- test_add_link() : void
- test_add_link_after_span_creation() : void
- test_add_link_dropping_links() : void
- test_add_link_invalid() : void
- test_add_link_no_effect_after_start_span() : void
- test_add_link_truncate_link_attribute_value() : void
- test_add_link_truncate_link_attributes() : void
- test_get_kind() : void
- test_get_kind_default() : void
- test_is_recording_default() : void
- test_is_recording_sampler() : void
- test_set_attribute() : void
- test_set_attribute_dropping() : void
- test_set_attribute_no_effect_after_end() : void
- test_set_attribute_no_effect_after_start_span() : void
- test_set_attribute_only_null_string_value_should_not_be_set() : void
- test_set_attributes() : void
- test_set_attributes_merges_attributes_correctly() : void
- test_set_attributes_overrides_values() : void
- test_set_no_parent() : void
- test_set_no_parent_override() : void
- test_set_parent_current_span() : void
- test_set_parent_empty_context() : void
- test_set_parent_invalid_context() : void
- test_start_timestamp() : void
- setUp() : void
Constants
SPAN_NAME
private
mixed
SPAN_NAME
= 'span_name'
Properties
$sampledSpanContext
private
SpanContextInterface
$sampledSpanContext
$spanProcessor
private
MockInterface|SpanProcessorInterface
$spanProcessor
$tracer
private
TracerInterface
$tracer
$tracerProvider
private
TracerProviderInterface
$tracerProvider
Methods
test_add_attributes_via_sampler()
public
test_add_attributes_via_sampler() : void
test_add_link()
public
test_add_link() : void
Attributes
- #[Group]
- 'trace-compliance'
test_add_link_after_span_creation()
public
test_add_link_after_span_creation() : void
Attributes
- #[Group]
- 'trace-compliance'
test_add_link_dropping_links()
public
test_add_link_dropping_links() : void
test_add_link_invalid()
public
test_add_link_invalid() : void
test_add_link_no_effect_after_start_span()
public
test_add_link_no_effect_after_start_span() : void
Attributes
- #[Group]
- 'trace-compliance'
test_add_link_truncate_link_attribute_value()
public
test_add_link_truncate_link_attribute_value() : void
test_add_link_truncate_link_attributes()
public
test_add_link_truncate_link_attributes() : void
test_get_kind()
public
test_get_kind() : void
test_get_kind_default()
public
test_get_kind_default() : void
test_is_recording_default()
public
test_is_recording_default() : void
test_is_recording_sampler()
public
test_is_recording_sampler() : void
test_set_attribute()
public
test_set_attribute() : void
Attributes
- #[Group]
- 'trace-compliance'
test_set_attribute_dropping()
public
test_set_attribute_dropping() : void
test_set_attribute_no_effect_after_end()
public
test_set_attribute_no_effect_after_end() : void
Attributes
- #[Group]
- 'trace-compliance'
test_set_attribute_no_effect_after_start_span()
public
test_set_attribute_no_effect_after_start_span() : void
Attributes
- #[Group]
- 'trace-compliance'
test_set_attribute_only_null_string_value_should_not_be_set()
public
test_set_attribute_only_null_string_value_should_not_be_set() : void
Attributes
- #[Group]
- 'trace-compliance'
test_set_attributes()
public
test_set_attributes() : void
test_set_attributes_merges_attributes_correctly()
public
test_set_attributes_merges_attributes_correctly() : void
Attributes
- #[Group]
- 'trace-compliance'
test_set_attributes_overrides_values()
public
test_set_attributes_overrides_values() : void
test_set_no_parent()
public
test_set_no_parent() : void
test_set_no_parent_override()
public
test_set_no_parent_override() : void
test_set_parent_current_span()
public
test_set_parent_current_span() : void
test_set_parent_empty_context()
public
test_set_parent_empty_context() : void
test_set_parent_invalid_context()
public
test_set_parent_invalid_context() : void
test_start_timestamp()
public
test_start_timestamp() : void
setUp()
protected
setUp() : void