PHP 클래스 Neos\FluidAdaptor\Tests\Unit\View\TemplatePathsTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
expandGenericPathPatternDataProvider ( )
expandGenericPathPatternTests ( string $package, string $subPackage, string $controller, string $format, string $templateRootPath, array $templateRootPaths = null, string $partialRootPath, array $partialRootPaths = null, string $layoutRootPath, array $layoutRootPaths = null, boolean $bubbleControllerAndSubpackage, boolean $formatIsOptional, string $pattern, string $expectedResult )
expandGenericPathPatternWorksWithBubblingDisabledAndFormatNotOptional ( )
expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatNotOptional ( )
expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatOptional ( )
expandGenericPathPatternWorksWithSubpackageAndBubblingEnabledAndFormatOptional ( )
getLayoutPathAndFilenameThrowsExceptionIfNoPathCanBeResolved ( )
getLayoutPathAndFilenameThrowsExceptionIfResolvedPathPointsToADirectory ( )
getPartialPathAndFilenameThrowsExceptionIfNoPathCanBeResolved ( )
getPartialPathAndFilenameThrowsExceptionIfResolvedPathPointsToADirectory ( )
getTemplatePathAndFilenameThrowsExceptionIfNoPathCanBeResolved ( )
getTemplatePathAndFilenameThrowsExceptionIfResolvedPathPointsToADirectory ( )
getTemplateSourceChecksDifferentPathPatternsAndReturnsTheFirstPathWhichExists ( )
pathToPartialIsResolvedCorrectly ( )
resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename ( )

보호된 메소드들

메소드 설명
setupMockControllerContextForPathResolving ( string $packageKey, string $subPackageKey, string $controllerName, string $format ) : ControllerContext Helper to build mock controller context needed to test expandGenericPathPattern.

메소드 상세

expandGenericPathPatternDataProvider() 공개 메소드

expandGenericPathPatternTests() 공개 메소드

public expandGenericPathPatternTests ( string $package, string $subPackage, string $controller, string $format, string $templateRootPath, array $templateRootPaths = null, string $partialRootPath, array $partialRootPaths = null, string $layoutRootPath, array $layoutRootPaths = null, boolean $bubbleControllerAndSubpackage, boolean $formatIsOptional, string $pattern, string $expectedResult )
$package string
$subPackage string
$controller string
$format string
$templateRootPath string
$templateRootPaths array
$partialRootPath string
$partialRootPaths array
$layoutRootPath string
$layoutRootPaths array
$bubbleControllerAndSubpackage boolean
$formatIsOptional boolean
$pattern string
$expectedResult string

expandGenericPathPatternWorksWithBubblingDisabledAndFormatNotOptional() 공개 메소드

expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatNotOptional() 공개 메소드

expandGenericPathPatternWorksWithSubpackageAndBubblingDisabledAndFormatOptional() 공개 메소드

expandGenericPathPatternWorksWithSubpackageAndBubblingEnabledAndFormatOptional() 공개 메소드

getLayoutPathAndFilenameThrowsExceptionIfNoPathCanBeResolved() 공개 메소드

getLayoutPathAndFilenameThrowsExceptionIfResolvedPathPointsToADirectory() 공개 메소드

getPartialPathAndFilenameThrowsExceptionIfNoPathCanBeResolved() 공개 메소드

getPartialPathAndFilenameThrowsExceptionIfResolvedPathPointsToADirectory() 공개 메소드

getTemplatePathAndFilenameThrowsExceptionIfNoPathCanBeResolved() 공개 메소드

getTemplatePathAndFilenameThrowsExceptionIfResolvedPathPointsToADirectory() 공개 메소드

getTemplateSourceChecksDifferentPathPatternsAndReturnsTheFirstPathWhichExists() 공개 메소드

pathToPartialIsResolvedCorrectly() 공개 메소드

resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename() 공개 메소드

setupMockControllerContextForPathResolving() 보호된 메소드

Helper to build mock controller context needed to test expandGenericPathPattern.
protected setupMockControllerContextForPathResolving ( string $packageKey, string $subPackageKey, string $controllerName, string $format ) : ControllerContext
$packageKey string
$subPackageKey string
$controllerName string
$format string
리턴 Neos\Flow\Mvc\Controller\ControllerContext