MediaWiki  1.29.2
PPFuzzTester Class Reference
Collaboration diagram for PPFuzzTester:

Public Member Functions

 execute ()
 
 makeInputText ( $max=false)
 
 makeTitle ()
 
 pickEntryPoint ()
 

Public Attributes

 $entryPoints = [ 'testSrvus', 'testPst', 'testPreprocess' ]
 
 $hairs
 
 $maxLength = 20
 
 $maxTemplates = 5
 
 $minLength = 0
 
 $verbose = false
 

Static Private Attributes

static bool PPFuzzTest $currentTest = false
 

Detailed Description

Definition at line 29 of file preprocessorFuzzTest.php.

Member Function Documentation

◆ execute()

PPFuzzTester::execute ( )

Definition at line 55 of file preprocessorFuzzTest.php.

References $e, $t, serialize(), and verbose.

◆ makeInputText()

PPFuzzTester::makeInputText (   $max = false)

Definition at line 112 of file preprocessorFuzzTest.php.

References $maxLength, $s, $wgContLang, captcha-old\count, and global.

◆ makeTitle()

PPFuzzTester::makeTitle ( )

Definition at line 132 of file preprocessorFuzzTest.php.

References Title\newFromText().

◆ pickEntryPoint()

PPFuzzTester::pickEntryPoint ( )

Definition at line 142 of file preprocessorFuzzTest.php.

References captcha-old\count.

Member Data Documentation

◆ $currentTest

bool PPFuzzTest PPFuzzTester::$currentTest = false
staticprivate

Definition at line 53 of file preprocessorFuzzTest.php.

◆ $entryPoints

PPFuzzTester::$entryPoints = [ 'testSrvus', 'testPst', 'testPreprocess' ]

Definition at line 47 of file preprocessorFuzzTest.php.

◆ $hairs

PPFuzzTester::$hairs
Initial value:
= [
'[[', ']]', '{{', '{{', '}}', '}}', '{{{', '}}}',
'<', '>', '<nowiki', '<gallery', '</nowiki>', '</gallery>', '<nOwIkI>', '</NoWiKi>',
'<!--', '-->',
"\n==", "==\n",
'|', '=', "\n", ' ', "\t", "\x7f",
'~~', '~~~', '~~~~', 'subst:',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
]

Definition at line 30 of file preprocessorFuzzTest.php.

◆ $maxLength

PPFuzzTester::$maxLength = 20

Definition at line 44 of file preprocessorFuzzTest.php.

Referenced by makeInputText().

◆ $maxTemplates

PPFuzzTester::$maxTemplates = 5

Definition at line 45 of file preprocessorFuzzTest.php.

◆ $minLength

PPFuzzTester::$minLength = 0

Definition at line 43 of file preprocessorFuzzTest.php.

◆ $verbose

PPFuzzTester::$verbose = false

Definition at line 48 of file preprocessorFuzzTest.php.


The documentation for this class was generated from the following file: