‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest:
TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 setUp ()
 
 singleRootTemplate ()
 
 singleRootTemplateLoadsFromGlobals ()
 
 singleRootTemplateLoadConstantFromSite ()
 
 twoPagesTwoTemplates ()
 
 twoPagesTwoTemplatesWithoutClearForConstantsStillLoadsFromGlobals ()
 
 twoPagesTwoTemplatesWithoutClearForSetupStillLoadsFromGlobals ()
 
 twoPagesTwoTemplatesBothClear ()
 
 twoTemplatesOnPagePrefersTheOneWithLowerSorting ()
 
 basedOnSimple ()
 
 basedOnAfterIncludeStatic ()
 
 basedOnBeforeIncludeStatic ()
 

Protected Attributes

const LANGUAGE_PRESETS
 

Private Member Functions

 getAst (RootInclude $rootInclude)
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
 buildSiteConfiguration (int $rootPageId, string $base='')
 
 buildDefaultLanguageConfiguration (string $identifier, string $base)
 
 buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
 
 buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
 applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
 mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
static failIfArrayIsNotEmpty (array $items)
 

Detailed Description

Definition at line 33 of file SysTemplateTreeBuilderTest.php.

Member Function Documentation

◆ basedOnAfterIncludeStatic()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::basedOnAfterIncludeStatic ( )

◆ basedOnBeforeIncludeStatic()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::basedOnBeforeIncludeStatic ( )

◆ basedOnSimple()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::basedOnSimple ( )

◆ getAst()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::getAst ( RootInclude  $rootInclude)
private

Helper to calculate AST from given includeTree. Asserting AST details is easier than looking up streams on the IncludeTree, and we can test the Traverser and AstVisitor along the way.

Definition at line 323 of file SysTemplateTreeBuilderTest.php.

Referenced by TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\basedOnAfterIncludeStatic(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\basedOnBeforeIncludeStatic(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\basedOnSimple(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\singleRootTemplate(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\singleRootTemplateLoadConstantFromSite(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\singleRootTemplateLoadsFromGlobals(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\twoPagesTwoTemplates(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\twoPagesTwoTemplatesBothClear(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\twoPagesTwoTemplatesWithoutClearForConstantsStillLoadsFromGlobals(), TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\twoPagesTwoTemplatesWithoutClearForSetupStillLoadsFromGlobals(), and TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest\twoTemplatesOnPagePrefersTheOneWithLowerSorting().

◆ setUp()

◆ singleRootTemplate()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::singleRootTemplate ( )

◆ singleRootTemplateLoadConstantFromSite()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::singleRootTemplateLoadConstantFromSite ( )

◆ singleRootTemplateLoadsFromGlobals()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::singleRootTemplateLoadsFromGlobals ( )

◆ twoPagesTwoTemplates()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::twoPagesTwoTemplates ( )

◆ twoPagesTwoTemplatesBothClear()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::twoPagesTwoTemplatesBothClear ( )

◆ twoPagesTwoTemplatesWithoutClearForConstantsStillLoadsFromGlobals()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::twoPagesTwoTemplatesWithoutClearForConstantsStillLoadsFromGlobals ( )

◆ twoPagesTwoTemplatesWithoutClearForSetupStillLoadsFromGlobals()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::twoPagesTwoTemplatesWithoutClearForSetupStillLoadsFromGlobals ( )

◆ twoTemplatesOnPagePrefersTheOneWithLowerSorting()

TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::twoTemplatesOnPagePrefersTheOneWithLowerSorting ( )

Member Data Documentation

◆ LANGUAGE_PRESETS

const TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree\SysTemplateTreeBuilderTest::LANGUAGE_PRESETS
protected
Initial value:
= [
'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8'],
]

Definition at line 39 of file SysTemplateTreeBuilderTest.php.