Tobias Gritschacher has submitted this change and it was merged.

Change subject: Remove obsolete test files
......................................................................


Remove obsolete test files

Change-Id: Iebe0a098ec8371b4fc5a5b21f186fa1304fbaa9a
---
D repo/tests/phpunit/bootstrap.php
D repo/tests/phpunit/suite.xml
2 files changed, 0 insertions(+), 63 deletions(-)

Approvals:
  Tobias Gritschacher: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/repo/tests/phpunit/bootstrap.php b/repo/tests/phpunit/bootstrap.php
deleted file mode 100644
index 2386d06..0000000
--- a/repo/tests/phpunit/bootstrap.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-/**
- * Bootstrapping for MediaWiki PHPUnit tests
- * This file is included by phpunit and is NOT in the global scope.
- *
- * @file
- */
-
-if ( !defined( 'MW_PHPUNIT_TEST' ) ) {
-       echo <<<EOF
-You are running these tests directly from phpunit. You may not have all 
globals correctly set.
-Running phpunit.php instead is recommended.
-EOF;
-       require_once ( __DIR__ . "/phpunit.php" );
-}
-
-// Output a notice when running with older versions of PHPUnit
-if ( !version_compare( PHPUnit_Runner_Version::id(), "3.4.1", ">" ) ) {
-  echo <<<EOF
-********************************************************************************
-
-These tests run best with version PHPUnit 3.4.2 or better. Earlier versions may
-show failures because earlier versions of PHPUnit do not properly implement
-dependencies.
-
-********************************************************************************
-
-EOF;
-}
-
-/** @todo Check if this is really needed */
-MessageCache::destroyInstance();
diff --git a/repo/tests/phpunit/suite.xml b/repo/tests/phpunit/suite.xml
deleted file mode 100644
index b5554a4..0000000
--- a/repo/tests/phpunit/suite.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- colors don't work on Windows! -->
-<phpunit bootstrap="./bootstrap.php"
-         colors="true"
-         backupGlobals="false"
-         convertErrorsToExceptions="true"
-         convertNoticesToExceptions="true"
-         convertWarningsToExceptions="true"
-         stopOnFailure="false"
-         strict="false"
-                verbose="true">
-       <testsuites>
-               <testsuite name="includes">
-                       <directory>includes</directory>
-               </testsuite>
-               <testsuite name="WikibaseItem">
-                       <file>includes/WikibaseItem/WikibaseItemTests.php</file>
-                       
<file>includes/WikibaseItem/WikibaseItemNewEmptyTests.php</file>
-                       
<file>includes/WikibaseItem/WikibaseItemNewFromArrayTests.php</file>
-                       
<file>includes/WikibaseItem/WikibaseItemContentHandlerTests.php</file>
-               </testsuite>
-       </testsuites>
-       <groups>
-               <exclude>
-                       <group>Utility</group>
-                       <group>Broken</group>
-                       <group>ParserFuzz</group>
-                       <group>Stub</group>
-               </exclude>
-       </groups>
-</phpunit>
\ No newline at end of file

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iebe0a098ec8371b4fc5a5b21f186fa1304fbaa9a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Daniel Werner <daniel.wer...@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