From: Tim Starling Date: Fri, 26 Aug 2016 01:01:07 +0000 (+1000) Subject: Update and broaden @covers for PreprocessorTest X-Git-Tag: 1.31.0-rc.0~5879^2 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=fa214b82b915f4db338ddd38093ed0f1cc4ef92e Update and broaden @covers for PreprocessorTest This class is intended to be an integration test of both preprocessor implementations and their helper classes. Change-Id: Iefbd6d8828bbc3278503a0f85efd7d1230a9d66c --- diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index c557a6e1f1..6710b1929b 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -1,5 +1,29 @@ assertEquals( $this->normalizeXml( $expectedXml ), @@ -198,7 +221,6 @@ class PreprocessorTest extends MediaWikiTestCase { /** * @dataProvider provideFiles - * @covers Preprocessor_DOM::preprocessToXml */ public function testPreprocessorOutputFiles( $className, $filename ) { $folder = __DIR__ . "/../../../parser/preprocess"; @@ -264,7 +286,6 @@ class PreprocessorTest extends MediaWikiTestCase { /** * @dataProvider provideHeadings - * @covers Preprocessor_DOM::preprocessToXml */ public function testHeadings( $className, $wikiText, $expectedXml ) { $this->assertEquals( $this->normalizeXml( $expectedXml ),