TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
LogLevelTest Class Reference
Inheritance diagram for LogLevelTest:
UnitTestCase BaseTestCase

Public Member Functions

 isValidLevelValidatesValidLevels ()
 
 isValidLevelDoesNotValidateInvalidLevels ()
 
 isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider ()
 
 isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo ($inputValue)
 
 normalizeLevelConvertsValidLevelFromStringToInteger ()
 
 normalizeLevelDoesNotConvertInvalidLevel ()
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 20 of file LogLevelTest.php.

Member Function Documentation

isValidLevelDoesNotValidateInvalidLevels ( )
Test:

Definition at line 36 of file LogLevelTest.php.

References LogLevel\isValidLevel().

isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo (   $inputValue)
Test:
isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider

Definition at line 65 of file LogLevelTest.php.

References LogLevel\validateLevel().

isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider ( )

Data provider or isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo

Definition at line 47 of file LogLevelTest.php.

isValidLevelValidatesValidLevels ( )
Test:

Definition at line 25 of file LogLevelTest.php.

References LogLevel\isValidLevel().

normalizeLevelConvertsValidLevelFromStringToInteger ( )
Test:

Definition at line 76 of file LogLevelTest.php.

References LogLevel\normalizeLevel().

normalizeLevelDoesNotConvertInvalidLevel ( )
Test:

Definition at line 84 of file LogLevelTest.php.

References LogLevel\normalizeLevel().