Html: Add a few @covers for HtmlTest
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 1 Apr 2017 01:13:09 +0000 (18:13 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 1 Apr 2017 01:13:24 +0000 (18:13 -0700)
Change-Id: I0804e87ebc732d7adf082915af6d137f82f310b6

tests/phpunit/includes/HtmlTest.php

index b7249e5..115a8cf 100644 (file)
@@ -41,6 +41,9 @@ class HtmlTest extends MediaWikiTestCase {
 
        /**
         * @covers Html::element
+        * @covers Html::rawElement
+        * @covers Html::openElement
+        * @covers Html::closeElement
         */
        public function testElementBasics() {
                $this->assertEquals(
@@ -302,6 +305,7 @@ class HtmlTest extends MediaWikiTestCase {
 
        /**
         * @covers Html::namespaceSelector
+        * @covers Html::namespaceSelectorOptions
         */
        public function testNamespaceSelector() {
                $this->assertEquals(