TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Test case

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 22 of file LogLevelTest.php.

Member Function Documentation

◆ isValidLevelDoesNotValidateInvalidLevels()

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

Definition at line 37 of file LogLevelTest.php.

◆ isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo()

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

Definition at line 65 of file LogLevelTest.php.

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

◆ isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSoDataProvider()

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

Data provider or isValidLevelThrowsExceptionOnInvalidLevelIfAskedToDoSo

Definition at line 47 of file LogLevelTest.php.

◆ isValidLevelValidatesValidLevels()

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

Definition at line 27 of file LogLevelTest.php.

◆ normalizeLevelConvertsValidLevelFromStringToInteger()

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

Definition at line 72 of file LogLevelTest.php.

◆ normalizeLevelDoesNotConvertInvalidLevel()

TYPO3\CMS\Core\Tests\Unit\Log\LogLevelTest::normalizeLevelDoesNotConvertInvalidLevel ( )
Test:

Definition at line 79 of file LogLevelTest.php.