mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
Add missing @covers tags to tests
We forgot about these when restructuring the code and introducing these new methods. Change-Id: If856a7857f2d50d1dc66a57999d98baa8b924d51
This commit is contained in:
parent
0d7e04e1ee
commit
92607eecfd
|
@ -48,6 +48,7 @@ class CiteParserTagHooksTest extends \MediaWikiUnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @covers ::citeForParser
|
||||||
* @covers ::ref
|
* @covers ::ref
|
||||||
*/
|
*/
|
||||||
public function testRef() {
|
public function testRef() {
|
||||||
|
@ -91,6 +92,7 @@ class CiteParserTagHooksTest extends \MediaWikiUnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @covers ::citeForParser
|
||||||
* @covers ::references
|
* @covers ::references
|
||||||
*/
|
*/
|
||||||
public function testReferences() {
|
public function testReferences() {
|
||||||
|
|
|
@ -613,6 +613,7 @@ class CiteUnitTest extends \MediaWikiUnitTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers ::__clone
|
* @covers ::__clone
|
||||||
|
* @covers ::__construct
|
||||||
*/
|
*/
|
||||||
public function testClone() {
|
public function testClone() {
|
||||||
$original = $this->newCite();
|
$original = $this->newCite();
|
||||||
|
|
|
@ -17,8 +17,9 @@ use ParserOptions;
|
||||||
class ErrorReporterTest extends \MediaWikiUnitTestCase {
|
class ErrorReporterTest extends \MediaWikiUnitTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers ::plain
|
|
||||||
* @covers ::__construct
|
* @covers ::__construct
|
||||||
|
* @covers ::getInterfaceLanguageAndSplitCache
|
||||||
|
* @covers ::plain
|
||||||
* @dataProvider provideErrors
|
* @dataProvider provideErrors
|
||||||
*/
|
*/
|
||||||
public function testPlain(
|
public function testPlain(
|
||||||
|
|
|
@ -20,6 +20,7 @@ class ReferencesFormatterTest extends \MediaWikiUnitTestCase {
|
||||||
/**
|
/**
|
||||||
* @covers ::__construct
|
* @covers ::__construct
|
||||||
* @covers ::formatReferences
|
* @covers ::formatReferences
|
||||||
|
* @covers ::formatRefsList
|
||||||
* @dataProvider provideFormatReferences
|
* @dataProvider provideFormatReferences
|
||||||
*/
|
*/
|
||||||
public function testFormatReferences( array $refs, string $expectedOutput ) {
|
public function testFormatReferences( array $refs, string $expectedOutput ) {
|
||||||
|
|
Loading…
Reference in a new issue