From fa214b82b915f4db338ddd38093ed0f1cc4ef92e Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 26 Aug 2016 11:01:07 +1000 Subject: [PATCH] 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 --- .../includes/parser/PreprocessorTest.php | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) 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 ), -- 2.20.1