TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 addDataFetchesParentPageRowOfRecordIfNeighbourGiven ()
 
 addDataSetsNeigborRowIfNegativeUidGiven ()
 
 addDataSetsParentPageRowToNullIfParentIsRoot ()
 
 addDataSetsParentPageToGivenPageIdIfCommandIsNew ()
 
 addDataSetsParentPageRowOnParentIfCommandIsEdit ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $subject
 
 $dbProphecy
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 26 of file DatabaseParentPageRowTest.php.

Member Function Documentation

◆ addDataFetchesParentPageRowOfRecordIfNeighbourGiven()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::addDataFetchesParentPageRowOfRecordIfNeighbourGiven ( )
Test:

Definition at line 49 of file DatabaseParentPageRowTest.php.

◆ addDataSetsNeigborRowIfNegativeUidGiven()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::addDataSetsNeigborRowIfNegativeUidGiven ( )
Test:

Definition at line 72 of file DatabaseParentPageRowTest.php.

◆ addDataSetsParentPageRowOnParentIfCommandIsEdit()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::addDataSetsParentPageRowOnParentIfCommandIsEdit ( )
Test:

Definition at line 135 of file DatabaseParentPageRowTest.php.

◆ addDataSetsParentPageRowToNullIfParentIsRoot()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::addDataSetsParentPageRowToNullIfParentIsRoot ( )
Test:

Definition at line 95 of file DatabaseParentPageRowTest.php.

◆ addDataSetsParentPageToGivenPageIdIfCommandIsNew()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::addDataSetsParentPageToGivenPageIdIfCommandIsNew ( )
Test:

Definition at line 113 of file DatabaseParentPageRowTest.php.

◆ setUp()

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::setUp ( )
protected

Definition at line 38 of file DatabaseParentPageRowTest.php.

References $GLOBALS.

Member Data Documentation

◆ $dbProphecy

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::$dbProphecy
protected

Definition at line 36 of file DatabaseParentPageRowTest.php.

◆ $subject

TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseParentPageRowTest::$subject
protected

Definition at line 31 of file DatabaseParentPageRowTest.php.