mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
Update @covers annotation for PortableInfobox tests
This commit is contained in:
parent
515e24f213
commit
a874af74af
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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="[{"caption":"_caption_","title":"_title_"}]"></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
|
||||
|
|
|
@ -7,7 +7,7 @@ class NodeInfoboxTest extends WikiaBaseTest {
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers NodeInfobox::getParams
|
||||
* @covers \Wikia\PortableInfobox\Parser\Nodes\NodeInfobox::getParams
|
||||
* @dataProvider paramsProvider
|
||||
*
|
||||
* @param $markup
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue