MediaWiki  1.23.6
parserTests.php File Reference

MediaWiki parser test suite. More...

Go to the source code of this file.

Variables

 $optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' )
 
 $otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled', 'run-parsoid' )
 
 $tester = new ParserTest( $options )
 
 $version = SpecialVersion::getVersion()
 
if(isset( $options['help'])) if( $wgDBtype=='sqlite') $wgTitle = Title::newFromText( 'Parser test script do not use' )
 
if(isset( $options['file'])) else
 

Detailed Description

MediaWiki parser test suite.

Copyright © 2004 Brion Vibber brion.nosp@m.@pob.nosp@m.ox.co.nosp@m.m https://www.mediawiki.org/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file parserTests.php.

Variable Documentation

◆ $optionsWithArgs

$optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' )

Definition at line 28 of file parserTests.php.

◆ $otions

$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled', 'run-parsoid' )

Definition at line 27 of file parserTests.php.

◆ $tester

$tester = new ParserTest( $options )

Definition at line 76 of file parserTests.php.

Referenced by PPFuzzTest\__construct().

◆ $version

Definition at line 86 of file parserTests.php.

Referenced by DeprecatedGlobal\__construct(), IEContentAnalyzer\__construct(), OutputPage\addScriptFile(), ComposerVersionNormalizerTest\assertRemainsUnchanged(), ExifBitmapHandler\convertMetadataVersion(), File\convertMetadataVersion(), MWDebug\deprecated(), ContentHandler\deprecated(), IEContentAnalyzer\getDataFormat(), ApiQueryImageInfo\getInfo(), ComposerPackageModifier\getMediaWikiVersionConstraint(), MediaHandler\getMetadataVersion(), IEContentAnalyzer\getMimesFromData(), IEContentAnalyzer\getMimeTypeForVersion(), DatabaseMssql\getServerVersion(), DatabaseMysqlBase\getSoftwareLink(), ResourceLoaderStartUpModule\getStartupModulesUrl(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinkedSvn(), WikiStatsOutput\heading(), ResourceLoader\makeCustomLoaderScript(), ResourceLoader\makeLoaderQuery(), ResourceLoader\makeLoaderRegisterScript(), ResourceLoader\makeLoaderURL(), OutputPage\makeResourceLoaderLink(), ComposerPackageModifier\newMediaWikiLink(), ComposerVersionNormalizer\normalizeLevelCount(), ComposerVersionNormalizer\normalizeSuffix(), InfoAction\pageInfo(), ImageCleanup\pokeFile(), Preprocessor_Hash\preprocessToObj(), Preprocessor_DOM\preprocessToObj(), IEContentAnalyzer\sampleData(), SpecialVersion\softwareInformation(), PostgresInstaller\submitConnectForm(), OracleInstaller\submitConnectForm(), MysqlInstaller\submitConnectForm(), MssqlInstaller\submitConnectForm(), ExportDemoTest\testExportDemo(), ComposerVersionNormalizerTest\testGivenFewerLevels_levelCountNormalizationEnsuresFourLevels(), ComposerVersionNormalizerTest\testGivenFourLevels_levelCountNormalizationDoesNothing(), DatabaseSqliteTest\testUpgrades(), and OutputPage\versionRequired().

◆ $wgTitle

if (isset($options[ 'help'])) if ($wgDBtype=='sqlite') $wgTitle = Title::newFromText( 'Parser test script do not use' )

Definition at line 75 of file parserTests.php.

◆ else

if (isset($options[ 'fuzz'])) else
Initial value:
{
$files = $wgParserTestFiles

Definition at line 80 of file parserTests.php.

$files
$files
Definition: importImages.php:67