MediaWiki REL1_34
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 33 of file preprocessorFuzzTest.php.

Member Function Documentation

◆ execute()

PPFuzzTester::execute ( )

Definition at line 59 of file preprocessorFuzzTest.php.

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

◆ makeInputText()

PPFuzzTester::makeInputText ( $max = false)

Definition at line 116 of file preprocessorFuzzTest.php.

References $maxLength, and $s.

◆ makeTitle()

PPFuzzTester::makeTitle ( )

Definition at line 135 of file preprocessorFuzzTest.php.

◆ pickEntryPoint()

PPFuzzTester::pickEntryPoint ( )

Definition at line 145 of file preprocessorFuzzTest.php.

Member Data Documentation

◆ $currentTest

bool PPFuzzTest PPFuzzTester::$currentTest = false
staticprivate

Definition at line 57 of file preprocessorFuzzTest.php.

◆ $entryPoints

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

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

◆ $maxLength

PPFuzzTester::$maxLength = 20

Definition at line 48 of file preprocessorFuzzTest.php.

Referenced by makeInputText().

◆ $maxTemplates

PPFuzzTester::$maxTemplates = 5

Definition at line 49 of file preprocessorFuzzTest.php.

◆ $minLength

PPFuzzTester::$minLength = 0

Definition at line 47 of file preprocessorFuzzTest.php.

◆ $verbose

PPFuzzTester::$verbose = false

Definition at line 52 of file preprocessorFuzzTest.php.


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