PHP 클래스 Eko\FeedBundle\Tests\Formatter\RSSFormatterTest

This is the RSS formatter test class
저자: Vincent Composieux ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: eko/feedbundle

보호된 프로퍼티들

프로퍼티 타입 설명
$manager A feed manager instance

공개 메소드들

메소드 설명
setUp ( ) Sets up elements used in test case.
testAddCustomChannelField ( ) Check if a custom channel field is properly rendered.
testAddCustomGroupChannelFieldWithAttributes ( ) Check if a custom group channel field is properly rendered with attributes.
testAddCustomGroupChannelFieldWithItemInterface ( ) Check if a custom group channel field is properly rendered with GroupFieldInterface.
testAddCustomGroupItemFieldWithAttributes ( ) Check if a custom group item field with attributes is properly rendered.
testAddCustomGroupItemFieldWithAttributesFromMethod ( ) Check if a custom group item field with attributes from method is properly rendered.
testAddCustomGroupItemFieldWithItemInterface ( ) Check if a custom group item field is properly rendered with ItemInterface.
testAddCustomGroupMediaItemsFieldsWithItemInterface ( ) Check if a custom group media items field is properly rendered with ItemInterface.
testAddCustomGroupMultipleItemFieldWithItemInterface ( ) Check if a custom group item field with multiple item fields is properly rendered with ItemInterface.
testAddCustomItemFieldWithItemInterface ( ) Check if a custom item field is properly rendered with ItemInterface.
testAddCustomItemFieldWithOneAttributeOnly ( ) Check if a custom item field with one attribute only is properly rendered with ItemInterface.
testAddCustomItemFieldWithRoutedItemInterface ( ) Check if a custom item field is properly rendered with RoutedItemInterface.
testAddCustomMediaItemFieldWithItemInterface ( ) Check if a custom media item field is properly rendered with ItemInterface.
testAnchorIsAppendedToLinkWithRoutedItemInterface ( ) Check if anchors are really appended to generated url of RouterItemInterface.
testNonExistantCustomItemFieldWithRoutedItemInterface ( ) Check if an exception is thrown when trying to render a non-existant method with RoutedItemInterface.
testRenderCorrectRootNodes ( ) Check if RSS formatter output item.
testRenderItem ( ) Check if RSS formatter output item.
testRenderValidXML ( ) Check if RSS formatter output a valid XML.
testTranslatableValue ( ) Check if values are well translated with "translatable" option.

메소드 상세

setUp() 공개 메소드

Sets up elements used in test case.
public setUp ( )

testAddCustomChannelField() 공개 메소드

Check if a custom channel field is properly rendered.

testAddCustomGroupChannelFieldWithAttributes() 공개 메소드

Check if a custom group channel field is properly rendered with attributes.

testAddCustomGroupChannelFieldWithItemInterface() 공개 메소드

Check if a custom group channel field is properly rendered with GroupFieldInterface.

testAddCustomGroupItemFieldWithAttributes() 공개 메소드

Check if a custom group item field with attributes is properly rendered.

testAddCustomGroupItemFieldWithAttributesFromMethod() 공개 메소드

Check if a custom group item field with attributes from method is properly rendered.

testAddCustomGroupItemFieldWithItemInterface() 공개 메소드

Check if a custom group item field is properly rendered with ItemInterface.

testAddCustomGroupMediaItemsFieldsWithItemInterface() 공개 메소드

Check if a custom group media items field is properly rendered with ItemInterface.

testAddCustomGroupMultipleItemFieldWithItemInterface() 공개 메소드

Check if a custom group item field with multiple item fields is properly rendered with ItemInterface.

testAddCustomItemFieldWithItemInterface() 공개 메소드

Check if a custom item field is properly rendered with ItemInterface.

testAddCustomItemFieldWithOneAttributeOnly() 공개 메소드

Check if a custom item field with one attribute only is properly rendered with ItemInterface.

testAddCustomItemFieldWithRoutedItemInterface() 공개 메소드

Check if a custom item field is properly rendered with RoutedItemInterface.

testAddCustomMediaItemFieldWithItemInterface() 공개 메소드

Check if a custom media item field is properly rendered with ItemInterface.

testAnchorIsAppendedToLinkWithRoutedItemInterface() 공개 메소드

Check if anchors are really appended to generated url of RouterItemInterface.

testNonExistantCustomItemFieldWithRoutedItemInterface() 공개 메소드

Check if an exception is thrown when trying to render a non-existant method with RoutedItemInterface.

testRenderCorrectRootNodes() 공개 메소드

Check if RSS formatter output item.

testRenderItem() 공개 메소드

Check if RSS formatter output item.
public testRenderItem ( )

testRenderValidXML() 공개 메소드

Check if RSS formatter output a valid XML.
public testRenderValidXML ( )

testTranslatableValue() 공개 메소드

Check if values are well translated with "translatable" option.

프로퍼티 상세

$manager 보호되어 있는 프로퍼티

A feed manager instance
protected $manager