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

Public Member Functions

 renderAppliesCorrectTimestampConversionDataProvider ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- 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

 $timezoneBackup = ''
 
- 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 24 of file InputTextElementTest.php.

Member Function Documentation

renderAppliesCorrectTimestampConversionDataProvider ( )

Data provider for renderAppliesCorrectTimestampConversion

Returns
array

Definition at line 56 of file InputTextElementTest.php.

setUp ( )
protected

We're fiddling with hard timestamps in the tests, but time methods in the system under test do use timezone settings. Therefore we backup the current timezone setting, set it to UTC explicitly and reconstitute it again in tearDown()

Definition at line 37 of file InputTextElementTest.php.

tearDown ( )
protected

Tear down

Definition at line 45 of file InputTextElementTest.php.

Member Data Documentation

$timezoneBackup = ''
protected

Definition at line 29 of file InputTextElementTest.php.