PHP 클래스 Neos\Fusion\Tests\Unit\Core\ParserTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$mockObjectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$parser Neos\Fusion\Core\Parser

공개 메소드들

메소드 설명
objectManagerCallback ( ) : object call back for mocking the object factory
objectManagerIsRegisteredCallback ( ) : boolean Call back for mocking the object manager's isRegistered() method
parserCorrectlyParsesComments01 ( ) Checks if comments in comments are parsed correctly
parserCorrectlyParsesFixture01 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 01
parserCorrectlyParsesFixture02 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 02
parserCorrectlyParsesFixture03 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 03
parserCorrectlyParsesFixture04 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 04
parserCorrectlyParsesFixture05 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 05
parserCorrectlyParsesFixture07 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 07
parserCorrectlyParsesFixture08 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 08
parserCorrectlyParsesFixture10 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 10
parserCorrectlyParsesFixture13 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 13
parserCorrectlyParsesFixture14 ( ) checks if the object tree returned by the TypoScript parser reflects source code fixture 14
parserCorrectlyParsesFixture15 ( )
parserCorrectlyParsesFixture16 ( )
parserCorrectlyParsesFixture17 ( )
parserCorrectlyParsesFixture18 ( ) Checks if namespace declarations are expanded correctly
parserCorrectlyParsesFixture19 ( ) Checks if simple values (string, boolean, integer) are parsed correctly
parserCorrectlyParsesFixture20 ( ) Checks if path with an underscore is parsed correctly
parserThrowsExceptionOnFixture16b ( )
parserThrowsTypoScriptExceptionIfNamespaceDeclarationIsInvalid ( ) Checks if a leading slash in the namespace declaration throws an exception

보호된 메소드들

메소드 설명
getExpectedParseTreeForFixture16 ( )
readTypoScriptFixture ( string $fixtureName ) : string
setUp ( ) Sets up this test case

메소드 상세

getExpectedParseTreeForFixture16() 보호된 메소드

objectManagerCallback() 공개 메소드

call back for mocking the object factory
public objectManagerCallback ( ) : object
리턴 object fixture objects ...

objectManagerIsRegisteredCallback() 공개 메소드

Call back for mocking the object manager's isRegistered() method

parserCorrectlyParsesComments01() 공개 메소드

Checks if comments in comments are parsed correctly

parserCorrectlyParsesFixture01() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 01

parserCorrectlyParsesFixture02() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 02

parserCorrectlyParsesFixture03() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 03

parserCorrectlyParsesFixture04() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 04

parserCorrectlyParsesFixture05() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 05

parserCorrectlyParsesFixture07() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 07

parserCorrectlyParsesFixture08() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 08

parserCorrectlyParsesFixture10() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 10

parserCorrectlyParsesFixture13() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 13

parserCorrectlyParsesFixture14() 공개 메소드

checks if the object tree returned by the TypoScript parser reflects source code fixture 14

parserCorrectlyParsesFixture15() 공개 메소드

parserCorrectlyParsesFixture16() 공개 메소드

parserCorrectlyParsesFixture17() 공개 메소드

parserCorrectlyParsesFixture18() 공개 메소드

Checks if namespace declarations are expanded correctly

parserCorrectlyParsesFixture19() 공개 메소드

Checks if simple values (string, boolean, integer) are parsed correctly

parserCorrectlyParsesFixture20() 공개 메소드

Checks if path with an underscore is parsed correctly

parserThrowsExceptionOnFixture16b() 공개 메소드

parserThrowsTypoScriptExceptionIfNamespaceDeclarationIsInvalid() 공개 메소드

Checks if a leading slash in the namespace declaration throws an exception

readTypoScriptFixture() 보호된 메소드

protected readTypoScriptFixture ( string $fixtureName ) : string
$fixtureName string File name of the TypoScript fixture to be read (without .fusion)
리턴 string The content of the fixture

setUp() 보호된 메소드

Sets up this test case
protected setUp ( )

프로퍼티 상세

$mockObjectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $mockObjectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

$parser 보호되어 있는 프로퍼티

protected Parser,Neos\Fusion\Core $parser
리턴 Neos\Fusion\Core\Parser