PHP Class eZ\Publish\Core\FieldType\Tests\RichText\Normalizer\DocumentTypeDefinitionTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
providerForTestNormalize ( )
providerForTestRefuse ( )
testAccept ( string $documentElement, string $namespace, string $dtdPath, string $input )
testAcceptNoXmlDeclaration ( string $documentElement, string $namespace, string $dtdPath, string $input )
testNormalize ( string $documentElement, string $namespace, string $dtdPath, string $input, string $expectedOutput, string $expectedSaved )
testRefuse ( string $documentElement, string $namespace, string $dtdPath, string $input )

Protected Methods

Method Description
getNormalizer ( $documentElement, $namespace, $dtdPath )

Method Details

getNormalizer() protected method

protected getNormalizer ( $documentElement, $namespace, $dtdPath )

providerForTestNormalize() public method

providerForTestRefuse() public method

testAccept() public method

public testAccept ( string $documentElement, string $namespace, string $dtdPath, string $input )
$documentElement string
$namespace string
$dtdPath string
$input string

testAcceptNoXmlDeclaration() public method

public testAcceptNoXmlDeclaration ( string $documentElement, string $namespace, string $dtdPath, string $input )
$documentElement string
$namespace string
$dtdPath string
$input string Ignored

testNormalize() public method

public testNormalize ( string $documentElement, string $namespace, string $dtdPath, string $input, string $expectedOutput, string $expectedSaved )
$documentElement string
$namespace string
$dtdPath string
$input string
$expectedOutput string
$expectedSaved string

testRefuse() public method

public testRefuse ( string $documentElement, string $namespace, string $dtdPath, string $input )
$documentElement string
$namespace string
$dtdPath string
$input string