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

Public Member Functions

 getPathFromRootLineForEmptyRootLineReturnsEmptyString ()
 
 getExtUrlForDokType3AndUrlType1AddsHttpSchemeToUrl ()
 
 getExtUrlForDokType3AndUrlType0PrependsSiteUrl ()
 
 shouldFieldBeOverlaid ($field, $table, $value, $expected, $comment= '')
 
 getShouldFieldBeOverlaidData ()
 

Protected Member Functions

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

 $pageSelectObject
 
 $defaultTcaForPages
 
- 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 20 of file Unit/Page/PageRepositoryTest.php.

Member Function Documentation

getExtUrlForDokType3AndUrlType0PrependsSiteUrl ( )
Test:

Definition at line 84 of file Unit/Page/PageRepositoryTest.php.

getExtUrlForDokType3AndUrlType1AddsHttpSchemeToUrl ( )
Test:

Definition at line 72 of file Unit/Page/PageRepositoryTest.php.

getPathFromRootLineForEmptyRootLineReturnsEmptyString ( )
Test:

Definition at line 61 of file Unit/Page/PageRepositoryTest.php.

getShouldFieldBeOverlaidData ( )

Data provider for shouldFieldBeOverlaid

Definition at line 138 of file Unit/Page/PageRepositoryTest.php.

setUp ( )
protected

Sets up this testcase

Definition at line 49 of file Unit/Page/PageRepositoryTest.php.

References BaseTestCase\getAccessibleMock().

shouldFieldBeOverlaid (   $field,
  $table,
  $value,
  $expected,
  $comment = '' 
)
Test:
getShouldFieldBeOverlaidData

Definition at line 100 of file Unit/Page/PageRepositoryTest.php.

References $GLOBALS.

Member Data Documentation

$defaultTcaForPages
protected
Initial value:
= [
'ctrl' => [
'label' => 'title'

Definition at line 27 of file Unit/Page/PageRepositoryTest.php.

$pageSelectObject
protected

Definition at line 25 of file Unit/Page/PageRepositoryTest.php.