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

Public Member Functions

 constructorSetsCorrectComponent ()
 
 constructorSetsCorrectLogLevel ()
 
 constructorSetsCorrectMessage ()
 
 constructorSetsCorrectData ()
 
 setComponentSetsComponent ()
 
 setLevelSetsLevel ()
 
 setLevelValidatesLevel ()
 
 setMessageSetsMessage ()
 
 setCreatedSetsCreated ()
 
 setRequestIdSetsRequestId ()
 
 toStringIncludesDataAsJson ()
 
 toStringIncludesExceptionDataAsJson ()
 

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 23 of file LogRecordTest.php.

Member Function Documentation

constructorSetsCorrectComponent ( )
Test:

Definition at line 41 of file LogRecordTest.php.

constructorSetsCorrectData ( )
Test:

Definition at line 71 of file LogRecordTest.php.

constructorSetsCorrectLogLevel ( )
Test:

Definition at line 51 of file LogRecordTest.php.

References LogLevel\CRITICAL.

constructorSetsCorrectMessage ( )
Test:

Definition at line 61 of file LogRecordTest.php.

setComponentSetsComponent ( )
Test:

Definition at line 83 of file LogRecordTest.php.

setCreatedSetsCreated ( )
Test:

Definition at line 125 of file LogRecordTest.php.

setLevelSetsLevel ( )
Test:

Definition at line 93 of file LogRecordTest.php.

References LogLevel\EMERGENCY.

setLevelValidatesLevel ( )
Test:

Definition at line 103 of file LogRecordTest.php.

setMessageSetsMessage ( )
Test:

Definition at line 115 of file LogRecordTest.php.

setRequestIdSetsRequestId ( )
Test:

Definition at line 135 of file LogRecordTest.php.

toStringIncludesDataAsJson ( )
Test:

Definition at line 163 of file LogRecordTest.php.

toStringIncludesExceptionDataAsJson ( )
Test:

Definition at line 173 of file LogRecordTest.php.