Fix broken links in phpunit covers annotations
Phpunit now checks if the coverage annotations are reasonable. This fix corrects unresolvable references in phpunit covers annotations. Change-Id: I7eba10bd7dc445b175df750465bb80bd5ef0f4c6
This commit is contained in:
parent
4831953040
commit
26e9f00c2a
|
@ -61,8 +61,8 @@ class MathDatabaseTest extends MediaWikiTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks database access. Writes an entry and reads it back.
|
* Checks database access. Writes an entry and reads it back.
|
||||||
* @covers MathRenderer::writeDatabaseEntry()
|
* @covers MathRenderer::writeToDatabase
|
||||||
* @covers MathRenderer::readDatabaseEntry()
|
* @covers MathRenderer::readFromDatabase
|
||||||
*/
|
*/
|
||||||
public function testDBBasics() {
|
public function testDBBasics() {
|
||||||
$this->setValues();
|
$this->setValues();
|
||||||
|
|
|
@ -87,7 +87,7 @@ class MathInputCheckTexvcTest extends MediaWikiTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers MathInputCheckTexvc::testGetError
|
* @covers MathInputCheckTexvc::getError
|
||||||
*/
|
*/
|
||||||
public function testGetError() {
|
public function testGetError() {
|
||||||
$this->assertNull( $this->GoodObject->getError() );
|
$this->assertNull( $this->GoodObject->getError() );
|
||||||
|
|
|
@ -95,8 +95,8 @@ class MathLaTeXMLDatabaseTest extends MediaWikiTestCase {
|
||||||
/**
|
/**
|
||||||
* Checks database access. Writes an entry and reads it back.
|
* Checks database access. Writes an entry and reads it back.
|
||||||
* @depends testCreateTable
|
* @depends testCreateTable
|
||||||
* @covers MathRenderer::writeDatabaseEntry()
|
* @covers MathRenderer::writeToDatabase
|
||||||
* @covers MathRenderer::readDatabaseEntry()
|
* @covers MathRenderer::readFromDatabase
|
||||||
*/
|
*/
|
||||||
public function testDBBasics() {
|
public function testDBBasics() {
|
||||||
$this->setValues();
|
$this->setValues();
|
||||||
|
|
|
@ -33,7 +33,7 @@ class MathMathMLTest extends MediaWikiTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests behavior of makeRequest() that communicates with the host.
|
* Tests behavior of makeRequest() that communicates with the host.
|
||||||
* Testcase: Invalid request.
|
* Testcase: Invalid request.
|
||||||
* @covers MathTexvc::makeRequest
|
* @covers MathMathML::makeRequest
|
||||||
*/
|
*/
|
||||||
public function testMakeRequestInvalid() {
|
public function testMakeRequestInvalid() {
|
||||||
self::setMockValues( false, false, false );
|
self::setMockValues( false, false, false );
|
||||||
|
@ -57,7 +57,7 @@ class MathMathMLTest extends MediaWikiTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests behavior of makeRequest() that communicates with the host.
|
* Tests behavior of makeRequest() that communicates with the host.
|
||||||
* Testcase: Valid request.
|
* Testcase: Valid request.
|
||||||
* @covers MathTexvc::makeRequest
|
* @covers MathMathML::makeRequest
|
||||||
*/
|
*/
|
||||||
public function testMakeRequestSuccess() {
|
public function testMakeRequestSuccess() {
|
||||||
self::setMockValues( true, true, false );
|
self::setMockValues( true, true, false );
|
||||||
|
@ -96,9 +96,9 @@ class MathMathMLTest extends MediaWikiTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if a String is a valid MathML element
|
* Checks if a String is a valid MathML element
|
||||||
* @covers MathMathML::isValidXML
|
* @covers MathMathML::isValidMathML
|
||||||
*/
|
*/
|
||||||
public function testisValidXML() {
|
public function testisValidMathML() {
|
||||||
$renderer = $this->getMockBuilder( 'MathMathML' )
|
$renderer = $this->getMockBuilder( 'MathMathML' )
|
||||||
->setMethods( null )
|
->setMethods( null )
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
|
|
|
@ -171,7 +171,7 @@ class MathTexvcTest extends MediaWikiTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test behavior $change when the rendered hash was changed
|
* Test behavior $change when the rendered hash was changed
|
||||||
* @covers MathRenderer::setHash()
|
* @covers MathTexvc::setHash
|
||||||
*/
|
*/
|
||||||
public function testChangeHash() {
|
public function testChangeHash() {
|
||||||
$renderer = $this->getMockBuilder( 'MathTexvc' )
|
$renderer = $this->getMockBuilder( 'MathTexvc' )
|
||||||
|
|
Loading…
Reference in New Issue