MediaWiki  1.23.2
Go to the documentation of this file.
1 <?php
7 class ExtensionsTestSuite extends PHPUnit_Framework_TestSuite {
8  public function __construct() {
9  parent::__construct();
10  $files = array();
11  wfRunHooks( 'UnitTestsList', array( &$files ) );
12  foreach ( $files as $file ) {
13  $this->addTestFile( $file );
14  }
15  if ( !count( $files ) ) {
16  $this->addTest( new DummyExtensionsTest( 'testNothing' ) );
17  }
18  }
20  public static function suite() {
21  return new self;
22  }
23 }
30  public function testNothing() {
31  $this->assertTrue( true );
32  }
33 }
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
Definition: importImages.php:67
Definition: ExtensionsTestSuite.php:30
Definition: ExtensionsTestSuite.php:8
static suite()
Definition: ExtensionsTestSuite.php:20
Definition: MediaWikiTestCase.php:6
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
Definition: GlobalFunctions.php:4001
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
Needed to avoid warnings like 'No tests found in class "ExtensionsTestSuite".
Definition: ExtensionsTestSuite.php:29
if(PHP_SAPI !='cli') $file
Definition: UtfNormalTest2.php:30
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as
Definition: distributors.txt:9
This test suite runs unit tests registered by extensions.
Definition: ExtensionsTestSuite.php:7