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

Public Member Functions

 generateMetaTagHtmlGeneratesCorrectTagsDataProvider ()
 
 generateMetaTagHtmlGeneratesCorrectTags (array $typoScript, $xhtml, array $expectedTags)
 
 initializeSearchWordDataInTsfeBuildsCorrectRegexDataProvider ()
 
 initializeSearchWordDataInTsfeBuildsCorrectRegex (array $searchWordGetParameters, $enableStandaloneSearchWords, $expectedRegex)
 

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

 $pageGeneratorFixture
 
 $contentObjectRenderer
 
- 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 PageGeneratorTest.php.

Member Function Documentation

generateMetaTagHtmlGeneratesCorrectTags ( array  $typoScript,
  $xhtml,
array  $expectedTags 
)
Test:
generateMetaTagHtmlGeneratesCorrectTagsDataProvider
Parameters
array$typoScript
bool$xhtml
array$expectedTags

Definition at line 242 of file PageGeneratorTest.php.

generateMetaTagHtmlGeneratesCorrectTagsDataProvider ( )
Returns
array

Definition at line 47 of file PageGeneratorTest.php.

initializeSearchWordDataInTsfeBuildsCorrectRegex ( array  $searchWordGetParameters,
  $enableStandaloneSearchWords,
  $expectedRegex 
)
Test:
initializeSearchWordDataInTsfeBuildsCorrectRegexDataProvider
Parameters
array$searchWordGetParametersThe values that should be loaded in the sword_list GET parameter.
bool$enableStandaloneSearchWordsIf TRUE the sword_standAlone option will be enabled.
string$expectedRegexThe expected regex after processing the search words.

Definition at line 290 of file PageGeneratorTest.php.

References $GLOBALS.

initializeSearchWordDataInTsfeBuildsCorrectRegexDataProvider ( )
Returns
array

Definition at line 251 of file PageGeneratorTest.php.

setUp ( )
protected

Set up the helper objects

Definition at line 38 of file PageGeneratorTest.php.

Member Data Documentation

$contentObjectRenderer
protected

Definition at line 33 of file PageGeneratorTest.php.

$pageGeneratorFixture
protected

Definition at line 28 of file PageGeneratorTest.php.