Update @covers annotation for PortableInfobox tests

This commit is contained in:
marzjan 2016-02-25 15:51:47 +00:00
parent 515e24f213
commit a874af74af
5 changed files with 18 additions and 18 deletions

View file

@ -7,7 +7,7 @@ class NodeDataTest extends WikiaBaseTest {
}
/**
* @covers Node::getSource
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::getSource
* @dataProvider sourceDataProvider
*
* @param $markup
@ -39,8 +39,8 @@ class NodeDataTest extends WikiaBaseTest {
}
/**
* @covers Node::getExternalParser
* @covers Node::setExternalParser
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::getExternalParser
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::setExternalParser
* @dataProvider parserTestDataProvider
*
* @param $parser
@ -60,7 +60,7 @@ class NodeDataTest extends WikiaBaseTest {
}
/**
* @covers NodeData::getData
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeData::getData
* @dataProvider dataProvider
*
* @param $markup
@ -98,7 +98,7 @@ class NodeDataTest extends WikiaBaseTest {
}
/**
* @covers Node::getRenderData
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::getRenderData
* @dataProvider dataRenderProvider
*
* @param $markup
@ -121,7 +121,7 @@ class NodeDataTest extends WikiaBaseTest {
}
/**
* @covers Node::isType
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::isType
* @dataProvider isTypeDataProvider
*
* @param $markup
@ -143,7 +143,7 @@ class NodeDataTest extends WikiaBaseTest {
}
/**
* @covers Node::getType
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::getType
* @dataProvider typeDataProvider
*
* @param $markup

View file

@ -7,7 +7,7 @@ class NodeGroupTest extends WikiaBaseTest {
}
/**
* @covers NodeGroup::getData
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeGroup::getData
* @dataProvider groupNodeCollapseTestProvider
*
* @param $markup
@ -28,7 +28,7 @@ class NodeGroupTest extends WikiaBaseTest {
}
/**
* @covers NodeGroup::getData
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeGroup::getData
* @dataProvider groupNodeTestProvider
*
* @param $markup

View file

@ -7,7 +7,7 @@ class NodeImageTest extends WikiaBaseTest {
}
/**
* @covers NodeImage::getGalleryData
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeImage::getGalleryData
*/
public function testGalleryData() {
$input = '<div data-model="[{&quot;caption&quot;:&quot;_caption_&quot;,&quot;title&quot;:&quot;_title_&quot;}]"></div>';
@ -21,7 +21,7 @@ class NodeImageTest extends WikiaBaseTest {
}
/**
* @covers NodeImage::getTabberData
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeImage::getTabberData
*/
public function testTabberData() {
$input = '<div class="tabber"><div class="tabbertab" title="_title_"><p><a><img data-image-key="_data-image-key_"></a></p></div></div>';
@ -35,7 +35,7 @@ class NodeImageTest extends WikiaBaseTest {
}
/**
* @covers NodeImage::getMarkers
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeImage::getMarkers
* @dataProvider markersProvider
*
* @param $markup
@ -64,7 +64,7 @@ class NodeImageTest extends WikiaBaseTest {
/**
* @covers NodeImage::getData
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeImage::getData
* @dataProvider dataProvider
*
* @param $markup
@ -109,7 +109,7 @@ class NodeImageTest extends WikiaBaseTest {
}
/**
* @covers NodeImage::isEmpty
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeImage::isEmpty
* @dataProvider isEmptyProvider
*
* @param $markup
@ -129,7 +129,7 @@ class NodeImageTest extends WikiaBaseTest {
}
/**
* @covers NodeImage::getSource
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeImage::getSource
* @dataProvider sourceProvider
*
* @param $markup

View file

@ -7,7 +7,7 @@ class NodeInfoboxTest extends WikiaBaseTest {
}
/**
* @covers NodeInfobox::getParams
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeInfobox::getParams
* @dataProvider paramsProvider
*
* @param $markup

View file

@ -7,8 +7,8 @@ class NodeNavigationTest extends WikiaBaseTest {
}
/**
* @covers Nodenavigation::getData
* @covers Node::getInnerValue
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeNavigation::getData
* @covers \Wikia\PortableInfobox\Parser\Nodes\Node::getInnerValue
* @dataProvider dataProvider
*
* @param $markup