Denny Vrandecic has submitted this change and it was merged.

Change subject: Remove obsolete test registration code
......................................................................


Remove obsolete test registration code

Change-Id: I5c75f1132b55db53617b8c0d406e51ca173d1b7d
---
M Ask.mw.php
1 file changed, 0 insertions(+), 42 deletions(-)

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



diff --git a/Ask.mw.php b/Ask.mw.php
index f1093d7..4ed858f 100644
--- a/Ask.mw.php
+++ b/Ask.mw.php
@@ -28,8 +28,6 @@
  * @author Jeroen De Dauw < jeroended...@gmail.com >
  */
 
-// @codeCoverageIgnoreStart
-
 if ( !defined( 'MEDIAWIKI' ) ) {
        die( 'Not an entry point.' );
 }
@@ -43,43 +41,3 @@
 if ( defined( 'MW_PHPUNIT_TEST' ) ) {
        require_once __DIR__ . '/Tests/testLoader.php';
 }
-
-/**
- * Hook to add PHPUnit test cases.
- * @see https://www.mediawiki.org/wiki/Manual:Hooks/UnitTestsList
- *
- * TODO: register the Tests directory itself so this list does not need to be 
maintained
- *
- * @since 0.1
- *
- * @param array $files
- *
- * @return boolean
- */
-$wgHooks['UnitTestsList'][]    = function( array &$files ) {
-
-       $testFiles = array(
-               'Language/Description/AnyValue',
-               'Language/Description/Conjunction',
-               'Language/Description/SomeProperty',
-               'Language/Description/Disjunction',
-               'Language/Description/ValueDescription',
-
-               'Language/Option/PropertyValueSortExpression',
-               'Language/Option/QueryOptions',
-               'Language/Option/SortOptions',
-
-               'Language/Selection/PropertySelection',
-               'Language/Selection/SubjectSelection',
-
-               'Language/Query',
-       );
-
-       foreach ( $testFiles as $file ) {
-               $files[] = __DIR__ . '/Tests/Phpunit/' . $file . 'Test.php';
-       }
-
-       return true;
-};
-
-// @codeCoverageIgnoreEnd

-- 
To view, visit https://gerrit.wikimedia.org/r/65539
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c75f1132b55db53617b8c0d406e51ca173d1b7d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Ask
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Anja Jentzsch <a...@anjeve.de>
Gerrit-Reviewer: Ataherivand <abraham.taheriv...@wikimedia.de>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de>
Gerrit-Reviewer: Daniel Werner <daniel.wer...@wikimedia.de>
Gerrit-Reviewer: Denny Vrandecic <denny.vrande...@wikimedia.de>
Gerrit-Reviewer: Henning Snater <henning.sna...@wikimedia.de>
Gerrit-Reviewer: Jens Ohlig <jens.oh...@wikimedia.de>
Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: John Erling Blad <jeb...@gmail.com>
Gerrit-Reviewer: Lydia Pintscher <lydia.pintsc...@wikimedia.de>
Gerrit-Reviewer: Markus Kroetzsch <mar...@semantic-mediawiki.org>
Gerrit-Reviewer: Nikola Smolenski <smole...@eunet.rs>
Gerrit-Reviewer: Silke Meyer <silke.me...@wikimedia.de>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to