TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 expandGenericPathPatternWorksWithOldNamingSchemeOfSubPackage ()
 
 expandGenericPathPatternWorksWithNewNamingSchemeOfSubPackage ()
 
 expandGenericPathPatternDataProvider ()
 
 expandGenericPathPatternWorksWithBubblingDisabledAndFormatNotOptional ()
 
 expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatNotOptional ()
 
 expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatOptional ()
 
 expandGenericPathPatternWorksWithSubpackageAndBubblingEnabledAndFormatOptional ()
 
 resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename ()
 

Protected Member Functions

 setupMockControllerContextForPathResolving ($packageKey, $subPackageKey, $controllerName, $format)
 
- 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='')
 

Additional Inherited Members

- 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 38 of file TemplateViewTest.php.

Member Function Documentation

◆ expandGenericPathPatternDataProvider()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternDataProvider ( )

◆ expandGenericPathPatternWorksWithBubblingDisabledAndFormatNotOptional()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternWorksWithBubblingDisabledAndFormatNotOptional ( )

◆ expandGenericPathPatternWorksWithNewNamingSchemeOfSubPackage()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternWorksWithNewNamingSchemeOfSubPackage ( )

Test for #42123 "Widgets with underscores in class names do not work because the subpackage key is not handled correctly."

Test:

Definition at line 60 of file TemplateViewTest.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath(), TYPO3\CMS\Core\Tests\BaseTestCase\getAccessibleMock(), and TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest\setupMockControllerContextForPathResolving().

◆ expandGenericPathPatternWorksWithOldNamingSchemeOfSubPackage()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternWorksWithOldNamingSchemeOfSubPackage ( )

Test for #42123 "Widgets with underscores in class names do not work because the subpackage key is not handled correctly."

Test:

Definition at line 45 of file TemplateViewTest.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath(), TYPO3\CMS\Core\Tests\BaseTestCase\getAccessibleMock(), and TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest\setupMockControllerContextForPathResolving().

◆ expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatNotOptional()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatNotOptional ( )

◆ expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatOptional()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatOptional ( )

◆ expandGenericPathPatternWorksWithSubpackageAndBubblingEnabledAndFormatOptional()

TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest::expandGenericPathPatternWorksWithSubpackageAndBubblingEnabledAndFormatOptional ( )

◆ resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename()

◆ setupMockControllerContextForPathResolving()