PHP 클래스 eZ\Publish\Core\FieldType\Tests\RichText\Converter\Xslt\EzxmlToDocbookTest

상속: extends BaseTest
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
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.
getConverter ( ) : Xslt
getCustomConversionTransformationStylesheets ( ) : array Return custom XSLT stylesheets configuration.
setUp ( )

메소드 상세

getConversionTransformationStylesheet() 보호된 메소드

Return the absolute path to conversion transformation stylesheet.

getConversionValidationSchema() 보호된 메소드

Return an array of absolute paths to conversion result validation schemas.
protected getConversionValidationSchema ( ) : string[]
리턴 string[]

getConverter() 보호된 메소드

protected getConverter ( ) : Xslt
리턴 eZ\Publish\Core\FieldType\RichText\Converter\Xslt

getCustomConversionTransformationStylesheets() 보호된 메소드

Stylesheet paths must be absolute. Code example: array( array( "path" => __DIR__ . "/core.xsl", "priority" => 100 ), array( "path" => __DIR__ . "/custom.xsl", "priority" => 99 ), )

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

setUp() 보호된 메소드

protected setUp ( )