MediaWiki  1.27.2
parserTests.php File Reference

MediaWiki parser test suite. More...

Go to the source code of this file.

Variables

 $options
 
 $optionsWithArgs = [ 'regex', 'filter', 'seed', 'setversion', 'file' ]
 
if(isset($options['help'])) if($wgDBtype==
'sqlite') 
$tester = new ParserTest( $options )
 
 $version = SpecialVersion::getVersion( 'nodb' )
 
if(isset($options['file'])) else
 
const MW_PARSER_TEST true
 

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

Initial value:
= [ 'quick', 'color', 'quiet', 'help', 'show-output',
'record', 'run-disabled', 'run-parsoid' ]

Definition at line 29 of file parserTests.php.

$optionsWithArgs = [ 'regex', 'filter', 'seed', 'setversion', 'file' ]

Definition at line 31 of file parserTests.php.

if (isset($options['help'])) if ($wgDBtype== 'sqlite') $tester = new ParserTest( $options )

Definition at line 75 of file parserTests.php.

Referenced by PPFuzzTest\__construct().

Definition at line 85 of file parserTests.php.

Referenced by IEContentAnalyzer\__construct(), OutputPage\addScriptFile(), ComposerVersionNormalizerTest\assertRemainsUnchanged(), Preprocessor\cacheGetTree(), ExifBitmapHandler\convertMetadataVersion(), File\convertMetadataVersion(), MWDebug\deprecated(), ContentHandler\deprecated(), DeprecatedInterfaceFinder\enterNode(), ValidateRegistrationFile\execute(), CheckComposerLockUpToDate\execute(), FindDeprecated\execute(), IEContentAnalyzer\getDataFormat(), DeprecatedInterfaceFinder\getFoundNodes(), ApiQueryImageInfo\getInfo(), ComposerPackageModifier\getMediaWikiVersionConstraint(), MediaHandler\getMetadataVersion(), IEContentAnalyzer\getMimesFromData(), IEContentAnalyzer\getMimeTypeForVersion(), ComposerJson\getRequiredDependencies(), DatabaseMssql\getServerVersion(), DatabaseMysqlBase\getSoftwareLink(), SpecialVersion\getVersion(), HttpStatus\header(), WikiStatsOutput\heading(), OutputPage\makeResourceLoaderLink(), ComposerPackageModifier\newMediaWikiLink(), ComposerVersionNormalizer\normalizeLevelCount(), ComposerVersionNormalizer\normalizeSuffix(), ComposerJson\normalizeVersion(), RestbaseVirtualRESTService\onParsoid1Request(), ParsoidVirtualRESTService\onParsoid1Request(), RestbaseVirtualRESTService\onParsoid3Request(), RestbaseVirtualRESTService\onParsoidRequests(), ParsoidVirtualRESTService\onRequests(), ImageCleanup\pokeFile(), ExtensionRegistry\readFromQueue(), IEContentAnalyzer\sampleData(), FakeDatabaseUpdater\setAppliedUpdates(), SpecialVersion\softwareInformation(), PostgresInstaller\submitConnectForm(), OracleInstaller\submitConnectForm(), MysqlInstaller\submitConnectForm(), MssqlInstaller\submitConnectForm(), ExportDemoTest\testExportDemo(), ResourceLoaderModuleTest\testGetVersionHash(), ComposerVersionNormalizerTest\testGivenFewerLevels_levelCountNormalizationEnsuresFourLevels(), ComposerVersionNormalizerTest\testGivenFourLevels_levelCountNormalizationDoesNothing(), ExtensionJsonValidationTest\testPassesValidation(), DatabaseSqliteTest\testUpgrades(), ResourcesTest\testVersionHash(), and OutputPage\versionRequired().

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

Definition at line 79 of file parserTests.php.

const MW_PARSER_TEST true

Definition at line 27 of file parserTests.php.