AbstractExporterTestCase
extends MockeryTestCase
in package
AbstractYes
Tags
Table of Contents
Properties
Methods
- createExporterWithTransport() : SpanExporterInterface
- Must be implemented by concrete TestCases
- futureProvider() : array<string|int, mixed>
- getExporterClass() : string
- Must be implemented by concrete TestCases
- setUp() : void
- test_export() : void
- test_force_flush() : void
- test_shutdown() : void
- createExporter() : SpanExporterInterface
Properties
$future
protected
FutureInterface
$future
$transport
protected
TransportInterface
$transport
Methods
createExporterWithTransport()
Must be implemented by concrete TestCases
public
abstract createExporterWithTransport(TransportInterface $transport) : SpanExporterInterface
Parameters
- $transport : TransportInterface
Return values
SpanExporterInterfacefutureProvider()
public
static futureProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>getExporterClass()
Must be implemented by concrete TestCases
public
abstract getExporterClass() : string
Return values
stringsetUp()
public
setUp() : void
test_export()
public
test_export(FutureInterface $future, bool $expected) : void
Parameters
- $future : FutureInterface
- $expected : bool
Attributes
- #[DataProvider]
- 'futureProvider'
test_force_flush()
public
test_force_flush() : void
test_shutdown()
public
test_shutdown() : void
createExporter()
protected
createExporter() : SpanExporterInterface