diff options
author | addshore <addshorewiki@gmail.com> | 2013-10-24 11:54:02 +0100 |
---|---|---|
committer | addshore <addshorewiki@gmail.com> | 2013-10-24 11:54:02 +0100 |
commit | 9c540db2df03b2b689a7237a84ac1aaa78e92dba (patch) | |
tree | 49c5a9770ad10f5913ec09b6a695329c93460fe8 /tests/phpunit/includes/FormOptionsTest.php | |
parent | 96a9a3e1019e158b4935b1e61934be8a4d926d82 (diff) | |
download | mediawikicore-9c540db2df03b2b689a7237a84ac1aaa78e92dba.tar.gz mediawikicore-9c540db2df03b2b689a7237a84ac1aaa78e92dba.zip |
@covers tags for inclues/*Test
Change-Id: Id28acdd8fe0028bf1e46344cfed131076c8f4c95
Diffstat (limited to 'tests/phpunit/includes/FormOptionsTest.php')
-rw-r--r-- | tests/phpunit/includes/FormOptionsTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/phpunit/includes/FormOptionsTest.php b/tests/phpunit/includes/FormOptionsTest.php index 0a13cfec5902..08d6ba895644 100644 --- a/tests/phpunit/includes/FormOptionsTest.php +++ b/tests/phpunit/includes/FormOptionsTest.php @@ -60,6 +60,7 @@ class FormOptionsTest extends MediaWikiTestCase { /** * Reuse helpers above assertGuessBoolean assertGuessInt assertGuessString + * @covers FormOptions::guessType */ public function testGuessTypeDetection() { $this->assertGuessBoolean( true ); @@ -78,12 +79,14 @@ class FormOptionsTest extends MediaWikiTestCase { /** * @expectedException MWException + * @covers FormOptions::guessType */ public function testGuessTypeOnArrayThrowException() { $this->object->guessType( array( 'foo' ) ); } /** * @expectedException MWException + * @covers FormOptions::guessType */ public function testGuessTypeOnNullThrowException() { $this->object->guessType( null ); |