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

Public Member Functions

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

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
Steffen Gebert steff.nosp@m.en.g.nosp@m.ebert.nosp@m.@typ.nosp@m.o3.or.nosp@m.g

Definition at line 22 of file LogRecordTest.php.

Member Function Documentation

◆ constructorSetsCorrectComponent()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::constructorSetsCorrectComponent ( )
Test:

Definition at line 39 of file LogRecordTest.php.

◆ constructorSetsCorrectData()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::constructorSetsCorrectData ( )
Test:

Definition at line 66 of file LogRecordTest.php.

◆ constructorSetsCorrectLogLevel()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::constructorSetsCorrectLogLevel ( )
Test:

Definition at line 48 of file LogRecordTest.php.

References TYPO3\CMS\Core\Log\LogLevel\CRITICAL.

◆ constructorSetsCorrectMessage()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::constructorSetsCorrectMessage ( )
Test:

Definition at line 57 of file LogRecordTest.php.

◆ setComponentSetsComponent()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::setComponentSetsComponent ( )
Test:

Definition at line 77 of file LogRecordTest.php.

◆ setCreatedSetsCreated()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::setCreatedSetsCreated ( )
Test:

Definition at line 113 of file LogRecordTest.php.

◆ setLevelSetsLevel()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::setLevelSetsLevel ( )
Test:

Definition at line 86 of file LogRecordTest.php.

References TYPO3\CMS\Core\Log\LogLevel\EMERGENCY.

◆ setLevelValidatesLevel()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::setLevelValidatesLevel ( )
Test:
Psr

Definition at line 96 of file LogRecordTest.php.

◆ setMessageSetsMessage()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::setMessageSetsMessage ( )
Test:

Definition at line 104 of file LogRecordTest.php.

◆ setRequestIdSetsRequestId()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::setRequestIdSetsRequestId ( )
Test:

Definition at line 122 of file LogRecordTest.php.

References TYPO3\CMS\Core\Log\LogLevel\DEBUG.

◆ toStringIncludesDataAsJson()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::toStringIncludesDataAsJson ( )
Test:

Definition at line 148 of file LogRecordTest.php.

◆ toStringIncludesExceptionDataAsJson()

TYPO3\CMS\Core\Tests\Unit\Log\LogRecordTest::toStringIncludesExceptionDataAsJson ( )
Test:

Definition at line 157 of file LogRecordTest.php.