PHP Класс Eko\FeedBundle\Tests\Formatter\RSSFormatterTest

This is the RSS formatter test class
Автор: Vincent Composieux ([email protected])
Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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