MediaWiki REL1_35
PPFuzzTester Class Reference
Collaboration diagram for PPFuzzTester:

Public Member Functions

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

Public Attributes

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

Static Private Attributes

static bool PPFuzzTest $currentTest = false
 

Detailed Description

Definition at line 31 of file preprocessorFuzzTest.php.

Member Function Documentation

◆ execute()

PPFuzzTester::execute ( )

Definition at line 57 of file preprocessorFuzzTest.php.

References $t, MWException\getText(), print, serialize(), and verbose.

◆ makeInputText()

PPFuzzTester::makeInputText (   $max = false)

Definition at line 115 of file preprocessorFuzzTest.php.

References $maxLength, and $s.

◆ makeTitle()

PPFuzzTester::makeTitle ( )

Definition at line 134 of file preprocessorFuzzTest.php.

◆ pickEntryPoint()

PPFuzzTester::pickEntryPoint ( )

Definition at line 144 of file preprocessorFuzzTest.php.

Member Data Documentation

◆ $currentTest

bool PPFuzzTest PPFuzzTester::$currentTest = false
staticprivate

Definition at line 55 of file preprocessorFuzzTest.php.

◆ $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: