[MediaWiki-commits] [Gerrit] mediawiki...ConfirmEdit[master]: Add @covers tags

2018-01-23 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/406002 )

Change subject: Add @covers tags
..


Add @covers tags

Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
---
M tests/phpunit/CaptchaAuthenticationRequestTest.php
M tests/phpunit/CaptchaPreAuthenticationProviderTest.php
M tests/phpunit/HTMLFancyCaptchaFieldTest.php
M tests/phpunit/HTMLReCaptchaFieldTest.php
M tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
M tests/phpunit/HTMLSubmittedValueFieldTest.php
M tests/phpunit/QuestyCaptchaTest.php
M tests/phpunit/ReCaptchaAuthenticationRequestTest.php
M tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
M tests/phpunit/SimpleCaptcha/CaptchaTest.php
10 files changed, 28 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/tests/phpunit/CaptchaAuthenticationRequestTest.php 
b/tests/phpunit/CaptchaAuthenticationRequestTest.php
index 31f8ab0..380716f 100644
--- a/tests/phpunit/CaptchaAuthenticationRequestTest.php
+++ b/tests/phpunit/CaptchaAuthenticationRequestTest.php
@@ -2,6 +2,9 @@
 
 use MediaWiki\Auth\AuthenticationRequestTestCase;
 
+/**
+ * @covers CaptchaAuthenticationRequest
+ */
 class CaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase {
public function setUp() {
parent::setUp();
diff --git a/tests/phpunit/CaptchaPreAuthenticationProviderTest.php 
b/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
index eb06f5a..8e56c36 100644
--- a/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
+++ b/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
@@ -5,6 +5,7 @@
 use Wikimedia\TestingAccessWrapper;
 
 /**
+ * @covers CaptchaPreAuthenticationProvider
  * @group Database
  */
 class CaptchaPreAuthenticationProviderTest extends MediaWikiTestCase {
diff --git a/tests/phpunit/HTMLFancyCaptchaFieldTest.php 
b/tests/phpunit/HTMLFancyCaptchaFieldTest.php
index 9c3bbe3..37fa727 100644
--- a/tests/phpunit/HTMLFancyCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLFancyCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../FancyCaptcha/HTMLFancyCaptchaField.php';
 
+/**
+ * @covers HTMLFancyCaptchaField
+ */
 class HTMLFancyCaptchaFieldTest extends PHPUnit_Framework_TestCase {
public function testGetHTML() {
$html = $this->getForm( [ 'imageUrl' => 'https://example.com/' 
] )->getHTML( false );
diff --git a/tests/phpunit/HTMLReCaptchaFieldTest.php 
b/tests/phpunit/HTMLReCaptchaFieldTest.php
index 0ec600f..0754cd7 100644
--- a/tests/phpunit/HTMLReCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLReCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/HTMLReCaptchaField.php';
 
+/**
+ * @covers HTMLReCaptchaField
+ */
 class HTMLReCaptchaFieldTest extends PHPUnit_Framework_TestCase {
public function testSubmit() {
$form = new HTMLForm( [
diff --git a/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php 
b/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
index 206f8fa..cc14e36 100644
--- a/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . 
'/../../ReCaptchaNoCaptcha/HTMLReCaptchaNoCaptchaField.php';
 
+/**
+ * @covers HTMLReCaptchaNoCaptchaField
+ */
 class HTMLReCaptchaNoCaptchaFieldTest extends PHPUnit_Framework_TestCase {
public function testSubmit() {
$form = new HTMLForm( [
diff --git a/tests/phpunit/HTMLSubmittedValueFieldTest.php 
b/tests/phpunit/HTMLSubmittedValueFieldTest.php
index 8fa114c..4029a8c 100644
--- a/tests/phpunit/HTMLSubmittedValueFieldTest.php
+++ b/tests/phpunit/HTMLSubmittedValueFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/HTMLSubmittedValueField.php';
 
+/**
+ * @covers HTMLSubmittedValueField
+ */
 class HTMLSubmittedValueFieldTest extends PHPUnit_Framework_TestCase {
public function testSubmit() {
$form = new HTMLForm( [
diff --git a/tests/phpunit/QuestyCaptchaTest.php 
b/tests/phpunit/QuestyCaptchaTest.php
index 5a9480a..e76469b 100644
--- a/tests/phpunit/QuestyCaptchaTest.php
+++ b/tests/phpunit/QuestyCaptchaTest.php
@@ -1,5 +1,8 @@
 https://gerrit.wikimedia.org/r/406002
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: master
Gerrit-Owner: Legoktm 
Gerrit-Reviewer: Jforrester 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...ConfirmEdit[master]: Add @covers tags

2018-01-23 Thread Legoktm (Code Review)
Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/406002 )

Change subject: Add @covers tags
..

Add @covers tags

Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
---
M tests/phpunit/CaptchaAuthenticationRequestTest.php
M tests/phpunit/CaptchaPreAuthenticationProviderTest.php
M tests/phpunit/HTMLFancyCaptchaFieldTest.php
M tests/phpunit/HTMLReCaptchaFieldTest.php
M tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
M tests/phpunit/HTMLSubmittedValueFieldTest.php
M tests/phpunit/QuestyCaptchaTest.php
M tests/phpunit/ReCaptchaAuthenticationRequestTest.php
M tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
M tests/phpunit/SimpleCaptcha/CaptchaTest.php
10 files changed, 28 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ConfirmEdit 
refs/changes/02/406002/1

diff --git a/tests/phpunit/CaptchaAuthenticationRequestTest.php 
b/tests/phpunit/CaptchaAuthenticationRequestTest.php
index 31f8ab0..380716f 100644
--- a/tests/phpunit/CaptchaAuthenticationRequestTest.php
+++ b/tests/phpunit/CaptchaAuthenticationRequestTest.php
@@ -2,6 +2,9 @@
 
 use MediaWiki\Auth\AuthenticationRequestTestCase;
 
+/**
+ * @covers CaptchaAuthenticationRequest
+ */
 class CaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase {
public function setUp() {
parent::setUp();
diff --git a/tests/phpunit/CaptchaPreAuthenticationProviderTest.php 
b/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
index eb06f5a..8e56c36 100644
--- a/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
+++ b/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
@@ -5,6 +5,7 @@
 use Wikimedia\TestingAccessWrapper;
 
 /**
+ * @covers CaptchaPreAuthenticationProvider
  * @group Database
  */
 class CaptchaPreAuthenticationProviderTest extends MediaWikiTestCase {
diff --git a/tests/phpunit/HTMLFancyCaptchaFieldTest.php 
b/tests/phpunit/HTMLFancyCaptchaFieldTest.php
index 9c3bbe3..37fa727 100644
--- a/tests/phpunit/HTMLFancyCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLFancyCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../FancyCaptcha/HTMLFancyCaptchaField.php';
 
+/**
+ * @covers HTMLFancyCaptchaField
+ */
 class HTMLFancyCaptchaFieldTest extends PHPUnit_Framework_TestCase {
public function testGetHTML() {
$html = $this->getForm( [ 'imageUrl' => 'https://example.com/' 
] )->getHTML( false );
diff --git a/tests/phpunit/HTMLReCaptchaFieldTest.php 
b/tests/phpunit/HTMLReCaptchaFieldTest.php
index 0ec600f..0754cd7 100644
--- a/tests/phpunit/HTMLReCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLReCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/HTMLReCaptchaField.php';
 
+/**
+ * @covers HTMLReCaptchaField
+ */
 class HTMLReCaptchaFieldTest extends PHPUnit_Framework_TestCase {
public function testSubmit() {
$form = new HTMLForm( [
diff --git a/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php 
b/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
index 206f8fa..cc14e36 100644
--- a/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . 
'/../../ReCaptchaNoCaptcha/HTMLReCaptchaNoCaptchaField.php';
 
+/**
+ * @covers HTMLReCaptchaNoCaptchaField
+ */
 class HTMLReCaptchaNoCaptchaFieldTest extends PHPUnit_Framework_TestCase {
public function testSubmit() {
$form = new HTMLForm( [
diff --git a/tests/phpunit/HTMLSubmittedValueFieldTest.php 
b/tests/phpunit/HTMLSubmittedValueFieldTest.php
index 8fa114c..4029a8c 100644
--- a/tests/phpunit/HTMLSubmittedValueFieldTest.php
+++ b/tests/phpunit/HTMLSubmittedValueFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/HTMLSubmittedValueField.php';
 
+/**
+ * @covers HTMLSubmittedValueField
+ */
 class HTMLSubmittedValueFieldTest extends PHPUnit_Framework_TestCase {
public function testSubmit() {
$form = new HTMLForm( [
diff --git a/tests/phpunit/QuestyCaptchaTest.php 
b/tests/phpunit/QuestyCaptchaTest.php
index 5a9480a..e76469b 100644
--- a/tests/phpunit/QuestyCaptchaTest.php
+++ b/tests/phpunit/QuestyCaptchaTest.php
@@ -1,5 +1,8 @@
 https://gerrit.wikimedia.org/r/406002
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: master
Gerrit-Owner: Legoktm 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits