PHP Class eZ\Publish\Core\FieldType\Tests\RichTextTest

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

Public Methods

Method Description
provideDataForGetName ( )
providerForTestAcceptValueInvalidFormat ( )
providerForTestAcceptValueValidFormat ( )
providerForTestGetName ( )
providerForTestValidate ( )
testAcceptValueInvalidFormat ( $input, Exception $expectedException )
testAcceptValueInvalidType ( )
testAcceptValueValidFormat ( $input )
testGetName ( $xmlString, $expectedName )
testGetRelations ( )
testSettingsSchema ( )
testToPersistenceValue ( )
testValidate ( string $xmlString, array $expectedValidationErrors )
testValidatorConfigurationSchema ( )

Protected Methods

Method Description
getAbsolutePath ( string $relativePath ) : string
getFieldType ( ) : Type
getInstallationDir ( ) : string
getTransformationProcessorMock ( ) : PHPUnit_Framework_MockObject_MockObject
provideFieldTypeIdentifier ( )

Method Details

getAbsolutePath() protected method

protected getAbsolutePath ( string $relativePath ) : string
$relativePath string
return string

getFieldType() protected method

protected getFieldType ( ) : Type
return eZ\Publish\Core\FieldType\RichText\Type

getInstallationDir() protected static method

protected static getInstallationDir ( ) : string
return string

getTransformationProcessorMock() protected method

protected getTransformationProcessorMock ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

provideDataForGetName() public method

provideFieldTypeIdentifier() protected method

providerForTestAcceptValueInvalidFormat() public static method

providerForTestAcceptValueValidFormat() public static method

providerForTestGetName() public static method

public static providerForTestGetName ( )

providerForTestValidate() public method

testAcceptValueInvalidFormat() public method

public testAcceptValueInvalidFormat ( $input, Exception $expectedException )
$expectedException Exception

testAcceptValueInvalidType() public method

testAcceptValueValidFormat() public method

public testAcceptValueValidFormat ( $input )

testGetName() public method

public testGetName ( $xmlString, $expectedName )

testGetRelations() public method

public testGetRelations ( )

testSettingsSchema() public method

public testSettingsSchema ( )

testToPersistenceValue() public method

testValidate() public method

public testValidate ( string $xmlString, array $expectedValidationErrors )
$xmlString string
$expectedValidationErrors array

testValidatorConfigurationSchema() public method