‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest:

Public Member Functions

 isValidLevelValidatesValidLevels ()
 
 isValidLevelDoesNotValidateInvalidLevels ()
 
 isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo ($inputValue)
 
 normalizeLevelConvertsValidLevelFromStringToInteger ()
 
 atLeastReturnsCorrectListOfLevels (string $level, array $expected)
 

Static Public Member Functions

static isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider ()
 
static atLeastReturnsCorrectListOfLevelsDataProvider ()
 

Detailed Description

Definition at line 26 of file LogLevelTest.php.

Member Function Documentation

◆ atLeastReturnsCorrectListOfLevels()

TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::atLeastReturnsCorrectListOfLevels ( string  $level,
array  $expected 
)

Definition at line 109 of file LogLevelTest.php.

References TYPO3\CMS\Core\Log\LogLevel\atLeast().

◆ atLeastReturnsCorrectListOfLevelsDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::atLeastReturnsCorrectListOfLevelsDataProvider ( )
static

Definition at line 73 of file LogLevelTest.php.

◆ isValidLevelDoesNotValidateInvalidLevels()

TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::isValidLevelDoesNotValidateInvalidLevels ( )

Definition at line 38 of file LogLevelTest.php.

References TYPO3\CMS\Core\Log\LogLevel\isValidLevel().

◆ isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo()

TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo (   $inputValue)

Definition at line 59 of file LogLevelTest.php.

References TYPO3\CMS\Core\Log\LogLevel\validateLevel().

◆ isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider ( )
static

Data provider or isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo

Definition at line 49 of file LogLevelTest.php.

◆ isValidLevelValidatesValidLevels()

TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::isValidLevelValidatesValidLevels ( )

Definition at line 29 of file LogLevelTest.php.

References TYPO3\CMS\Core\Log\LogLevel\isValidLevel().

◆ normalizeLevelConvertsValidLevelFromStringToInteger()

TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::normalizeLevelConvertsValidLevelFromStringToInteger ( )

Definition at line 68 of file LogLevelTest.php.

References TYPO3\CMS\Core\Log\LogLevel\normalizeLevel().