* @group medium
* ^--- tell phpunit that these test cases may take longer than 2 seconds.
*/
-class TestPageProps extends MediaWikiLangTestCase {
+class PagePropsTest extends MediaWikiLangTestCase {
/**
* @var Title $title1
<?php
-class TestSample extends MediaWikiLangTestCase {
+class SampleTest extends MediaWikiLangTestCase {
/**
* Anything that needs to happen before your tests should go here.
/**
* @group Xml
*/
-class XmlJs extends PHPUnit_Framework_TestCase {
+class XmlJsTest extends PHPUnit_Framework_TestCase {
/**
* @covers XmlJsCode::__construct
use Wikimedia\TestingAccessWrapper;
-class EtcConfigTest extends PHPUnit_Framework_TestCase {
+class EtcdConfigTest extends PHPUnit_Framework_TestCase {
private function createConfigMock( array $options = [] ) {
return $this->getMockBuilder( EtcdConfig::class )
*
* @covers HTMLAutoCompleteSelectField
*/
-class HtmlAutoCompleteSelectFieldTest extends MediaWikiTestCase {
+class HTMLAutoCompleteSelectFieldTest extends MediaWikiTestCase {
public $options = [
'Bulgaria' => 'BGR',
* Unit tests for the HTMLCheckMatrix
* @covers HTMLCheckMatrix
*/
-class HtmlCheckMatrixTest extends MediaWikiTestCase {
+class HTMLCheckMatrixTest extends MediaWikiTestCase {
static private $defaultOptions = [
'rows' => [ 'r1', 'r2' ],
'columns' => [ 'c1', 'c2' ],
* @group Media
* @covers MimeAnalyzer
*/
-class MimeMagicTest extends PHPUnit_Framework_TestCase {
+class MimeAnalyzerTest extends PHPUnit_Framework_TestCase {
/** @var MimeAnalyzer */
private $mimeAnalyzer;
/**
* @group Media
*/
-class SvgTest extends MediaWikiMediaTestCase {
+class SVGTest extends MediaWikiMediaTestCase {
/**
* @var SvgHandler
* @covers PPNode_Hash_Array
* @covers PPNode_Hash_Attr
*/
-class TagHookTest extends MediaWikiTestCase {
+class TagHooksTest extends MediaWikiTestCase {
public static function provideValidNames() {
return [
[ 'foo' ],