PHP Класс eZ\Publish\Core\FieldType\Tests\RichText\Converter\Xslt\DocbookToEzxmlTest

Наследование: extends BaseTest
Показать файл Открыть проект

Открытые методы

Метод Описание
getFixtureSubdirectories ( ) : array Returns subdirectories for input and output fixtures.

Защищенные методы

Метод Описание
getConversionTransformationStylesheet ( ) : string Return the absolute path to conversion transformation stylesheet.
getConversionValidationSchema ( ) : string[] Return an array of absolute paths to conversion result validation schemas.
getCustomConversionTransformationStylesheets ( ) : array Return custom XSLT stylesheets configuration.

Описание методов

getConversionTransformationStylesheet() защищенный Метод

Return the absolute path to conversion transformation stylesheet.
protected getConversionTransformationStylesheet ( ) : string
Результат string

getConversionValidationSchema() защищенный Метод

Return an array of absolute paths to conversion result validation schemas.
protected getConversionValidationSchema ( ) : string[]
Результат string[]

getCustomConversionTransformationStylesheets() защищенный Метод

Stylesheet paths must be absolute. Code example: array( array( "path" => __DIR__ . "/core.xsl", "priority" => 100 ), array( "path" => __DIR__ . "/custom.xsl", "priority" => 99 ), )
protected getCustomConversionTransformationStylesheets ( ) : array
Результат array

getFixtureSubdirectories() публичный Метод

The test will try to match each XML file in input directory with the file of the same name in the output directory. It is possible to test lossy conversion as well (say legacy ezxml). To use this file name of the fixture that is converted with data loss needs to end with .lossy.xml. As input test with this fixture will be skipped, but as output fixture it will be matched to the input fixture file of the same name but without .lossy part. Comments in fixtures are removed before conversion, so be free to use comments inside fixtures for documentation as needed.
public getFixtureSubdirectories ( ) : array
Результат array