UtilTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\SDK\Common\Dev\Compatibility\Util::class
Table of Contents
Methods
-
errorLevelProvider()
: Generator
-
setUp()
: void
-
tearDown()
: void
-
test_set_error_level()
: void
-
test_set_error_level_throws_exception_on_incorrect_level()
: void
-
test_trigger_class_deprecation_notice()
: void
-
test_trigger_method_deprecation_notice_with_class()
: void
-
test_trigger_method_deprecation_notice_without_class()
: void
-
test_turn_errors_off()
: void
errorLevelProvider()
public
static errorLevelProvider() : Generator
setUp()
public
setUp() : void
tearDown()
public
tearDown() : void
test_set_error_level()
public
test_set_error_level(int $level) : void
Parameters
-
$level
: int
-
-
#[DataProvider]
-
'errorLevelProvider'
test_set_error_level_throws_exception_on_incorrect_level()
public
test_set_error_level_throws_exception_on_incorrect_level() : void
test_trigger_class_deprecation_notice()
public
test_trigger_class_deprecation_notice(int $level) : void
Parameters
-
$level
: int
-
-
#[DataProvider]
-
'errorLevelProvider'
test_trigger_method_deprecation_notice_with_class()
public
test_trigger_method_deprecation_notice_with_class(int $level) : void
Parameters
-
$level
: int
-
-
#[DataProvider]
-
'errorLevelProvider'
test_trigger_method_deprecation_notice_without_class()
public
test_trigger_method_deprecation_notice_without_class(int $level) : void
Parameters
-
$level
: int
-
-
#[DataProvider]
-
'errorLevelProvider'
test_turn_errors_off()
public
test_turn_errors_off() : void