LogRecordProcessorFactoryTest
extends TestCase
uses
TestState
-
#[CoversClass]
-
\OpenTelemetry\SDK\Logs\LogRecordProcessorFactory::class
Table of Contents
Properties
-
$environmentVariables
: array<string|int, mixed>
Methods
-
exporterProvider()
: array<string|int, mixed>
-
test_create()
: void
-
test_create_from_environment()
: void
-
test_create_invalid()
: void
-
test_create_multiple()
: void
-
restoreEnvironmentVariables()
: void
-
setEnvironmentVariable()
: void
-
tearDownSharedState()
: void
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
exporterProvider()
public
static exporterProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
test_create()
public
test_create(string $name, class-string $expected) : void
Parameters
-
$name
: string
-
-
$expected
: class-string
-
-
#[DataProvider]
-
'exporterProvider'
test_create_from_environment()
public
test_create_from_environment() : void
test_create_invalid()
public
test_create_invalid() : void
test_create_multiple()
public
test_create_multiple() : void
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
-
$variable
: string
-
-
$value
: mixed
-
tearDownSharedState()
protected
tearDownSharedState() : void