MediaWiki  1.33.0
preprocessorFuzzTest.php File Reference

Performs fuzz-style testing of MediaWiki's preprocessor. More...

Go to the source code of this file.

Classes

class  PPFuzzTest
 
class  PPFuzzTester
 
class  PPFuzzUser
 

Variables

 $optionsWithoutArgs = [ 'verbose' ]
 
 $wgHooks ['BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook'
 
if(isset( $args[0])) else
 
$tester verbose = isset( $options['verbose'] )
 

Detailed Description

Performs fuzz-style testing of MediaWiki's preprocessor.

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 preprocessorFuzzTest.php.

Variable Documentation

◆ $optionsWithoutArgs

$optionsWithoutArgs = [ 'verbose' ]

Definition at line 26 of file preprocessorFuzzTest.php.

◆ $wgHooks

$wgHooks[ 'BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook'

Definition at line 29 of file preprocessorFuzzTest.php.

◆ else

if (isset($args[0])) else
Initial value:
{
$tester = new PPFuzzTester

Definition at line 271 of file preprocessorFuzzTest.php.

◆ verbose

$tester verbose = isset( $options['verbose'] )

Definition at line 273 of file preprocessorFuzzTest.php.

Referenced by PPFuzzTester\execute().

PPFuzzTester
Definition: preprocessorFuzzTest.php:31