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

Public Member Functions

 getNameGetsLoggerName ()
 
 loggerDoesNotLogRecordsLessCriticalThanLogLevel ()
 
 loggerReturnsItselfAfterLogging ()
 
 loggerReturnsItselfAfterLoggingWithoutWriter ()
 
 loggerReturnsItselfAfterLoggingLessCritical ()
 
 loggerLogsRecordsAtLeastAsCriticalAsLogLevel ()
 
 loggerLogsRecordsThroughShorthandMethodDataProvider ()
 
 loggerLogsRecordsThroughShorthandMethod ($shorthandMethod)
 
 loggerLogsRecordsMoreCriticalThanLogLevel ()
 
 addWriterAddsWriterToTheSpecifiedLevel ()
 
 addWriterAddsWriterAlsoToHigherLevelsThanSpecified ()
 

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 26 of file LoggerTest.php.

Member Function Documentation

addWriterAddsWriterAlsoToHigherLevelsThanSpecified ( )
Test:

Definition at line 191 of file LoggerTest.php.

References LogLevel\EMERGENCY, and LogLevel\NOTICE.

addWriterAddsWriterToTheSpecifiedLevel ( )
Test:

Definition at line 179 of file LoggerTest.php.

References LogLevel\NOTICE.

getNameGetsLoggerName ( )
Test:

Definition at line 31 of file LoggerTest.php.

loggerDoesNotLogRecordsLessCriticalThanLogLevel ( )
Test:

Definition at line 40 of file LoggerTest.php.

References LogLevel\ERROR, and LogLevel\WARNING.

loggerLogsRecordsAtLeastAsCriticalAsLogLevel ( )
Test:

Definition at line 122 of file LoggerTest.php.

References LogLevel\NOTICE.

loggerLogsRecordsMoreCriticalThanLogLevel ( )
Test:

Definition at line 166 of file LoggerTest.php.

References LogLevel\NOTICE, and LogLevel\WARNING.

loggerLogsRecordsThroughShorthandMethod (   $shorthandMethod)
Test:
Parameters
string$shorthandMethodloggerLogsRecordsThroughShorthandMethodDataProvider

Definition at line 154 of file LoggerTest.php.

References LogLevel\DEBUG.

loggerLogsRecordsThroughShorthandMethodDataProvider ( )
Returns
array

Definition at line 135 of file LoggerTest.php.

loggerReturnsItselfAfterLogging ( )
Test:

Definition at line 53 of file LoggerTest.php.

References LogLevel\DEBUG, and LogLevel\WARNING.

loggerReturnsItselfAfterLoggingLessCritical ( )
Test:

Definition at line 75 of file LoggerTest.php.

References LogLevel\EMERGENCY, and LogLevel\WARNING.

loggerReturnsItselfAfterLoggingWithoutWriter ( )
Test:

Definition at line 65 of file LoggerTest.php.

References LogLevel\WARNING.