PHP Class eZ\Publish\Core\FieldType\Tests\RichText\Converter\LinkTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Mostrar archivo Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
providerBadContentLink ( ) : array
providerBadLocationLink ( ) : array
providerContentLink ( ) : array
providerLinkXmlSample ( ) : array
providerLocationLink ( ) : array
testConvertBadContentLink ( $input, $output, $contentId, $exception, $logType, $logMessage ) Test logging of bad content links.
testConvertBadLocationLink ( $input, $output, $locationId, $exception, $logType, $logMessage ) Test logging of bad location links.
testConvertContentLink ( $input, $output, $contentId, $urlResolved ) Test conversion of ezcontent:// links.
testConvertLocationLink ( $input, $output, $locationId, $urlResolved ) Test conversion of ezlocation:// links.
testLink ( $input, $output ) Test conversion of ezurl:// links.

Protected Methods

Method Description
getMockContentService ( ) : PHPUnit_Framework_MockObject_MockObject
getMockLocationService ( ) : PHPUnit_Framework_MockObject_MockObject
getMockUrlAliasRouter ( ) : PHPUnit_Framework_MockObject_MockObject

Method Details

getMockContentService() protected method

protected getMockContentService ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getMockLocationService() protected method

protected getMockLocationService ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getMockUrlAliasRouter() protected method

protected getMockUrlAliasRouter ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

providerLinkXmlSample() public method

public providerLinkXmlSample ( ) : array
return array