MediaWiki REL1_39
PPFuzzTester Class Reference

Public Member Functions

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

Public Attributes

 $entryPoints = [ 'fuzzTestSrvus', 'fuzzTestPst', 'fuzzTestPreprocess' ]
 
 $hairs
 
 $maxLength = 20
 
 $maxTemplates = 5
 
 $minLength = 0
 
 $verbose = false
 

Detailed Description

Definition at line 31 of file preprocessorFuzzTest.php.

Member Function Documentation

◆ execute()

PPFuzzTester::execute ( )
Returns
void|never

Definition at line 60 of file preprocessorFuzzTest.php.

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

◆ makeInputText()

PPFuzzTester::makeInputText ( $max = false)

Definition at line 118 of file preprocessorFuzzTest.php.

References $maxLength, and $s.

◆ makeTitle()

PPFuzzTester::makeTitle ( )

Definition at line 137 of file preprocessorFuzzTest.php.

◆ pickEntryPoint()

PPFuzzTester::pickEntryPoint ( )

Definition at line 147 of file preprocessorFuzzTest.php.

Member Data Documentation

◆ $entryPoints

PPFuzzTester::$entryPoints = [ 'fuzzTestSrvus', 'fuzzTestPst', 'fuzzTestPreprocess' ]

Definition at line 49 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 32 of file preprocessorFuzzTest.php.

◆ $maxLength

PPFuzzTester::$maxLength = 20

Definition at line 46 of file preprocessorFuzzTest.php.

Referenced by makeInputText().

◆ $maxTemplates

PPFuzzTester::$maxTemplates = 5

Definition at line 47 of file preprocessorFuzzTest.php.

◆ $minLength

PPFuzzTester::$minLength = 0

Definition at line 45 of file preprocessorFuzzTest.php.

◆ $verbose

PPFuzzTester::$verbose = false

Definition at line 50 of file preprocessorFuzzTest.php.


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