PHP Class Thunder\Shortcode\Tests\ProcessorTest

Author: Tomasz Kowalczyk ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
ファイルを表示 Open project: thunderer/shortcode

Public Methods

Method Description
provideBuiltInTests ( )
provideTexts ( )
testBaseOffset ( )
testBuiltInHandlers ( $text, $result )
testDefaultHandler ( )
testExceptionOnInvalidAutoProcessFlag ( )
testExceptionOnInvalidMaxIterations ( )
testExceptionOnInvalidRecursionDepth ( )
testMultipleParent ( )
testOriginalContent ( )
testPreventInfiniteLoop ( )
testProcessContentIfHasChildHandlerButNotParent ( )
testProcessorDeclare ( )
testProcessorIterative ( )
testProcessorParentContext ( )
testProcessorProcess ( string $text, string $result )
testProcessorShortcodePositions ( )
testProcessorWithoutContentAutoProcessing ( )
testProcessorWithoutRecursion ( )
testReplaceWithoutContentOffset ( )
testReplacesLongerThanInputText ( )
testStripOuter ( )
testValidProcessAfterHandlerRemoval ( )

Private Methods

Method Description
getHandlers ( )

Method Details

provideBuiltInTests() public method

public provideBuiltInTests ( )

provideTexts() public method

public provideTexts ( )

testBaseOffset() public method

public testBaseOffset ( )

testBuiltInHandlers() public method

public testBuiltInHandlers ( $text, $result )

testDefaultHandler() public method

public testDefaultHandler ( )

testExceptionOnInvalidAutoProcessFlag() public method

testExceptionOnInvalidMaxIterations() public method

testExceptionOnInvalidRecursionDepth() public method

testMultipleParent() public method

public testMultipleParent ( )

testOriginalContent() public method

public testOriginalContent ( )

testPreventInfiniteLoop() public method

testProcessContentIfHasChildHandlerButNotParent() public method

testProcessorDeclare() public method

testProcessorIterative() public method

testProcessorParentContext() public method

testProcessorProcess() public method

public testProcessorProcess ( string $text, string $result )
$text string
$result string

testProcessorShortcodePositions() public method

testProcessorWithoutContentAutoProcessing() public method

testProcessorWithoutRecursion() public method

testReplaceWithoutContentOffset() public method

testReplacesLongerThanInputText() public method

testStripOuter() public method

public testStripOuter ( )

testValidProcessAfterHandlerRemoval() public method