MediaWiki  1.28.0
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

PPFuzzTester::execute ( )

Definition at line 55 of file preprocessorFuzzTest.php.

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

PPFuzzTester::makeInputText (   $max = false)

Definition at line 112 of file preprocessorFuzzTest.php.

References $maxLength, $s, $wgContLang, and global.

PPFuzzTester::makeTitle ( )

Definition at line 132 of file preprocessorFuzzTest.php.

References Title\newFromText().

PPFuzzTester::pickEntryPoint ( )

Definition at line 142 of file preprocessorFuzzTest.php.

References $count.

Member Data Documentation

bool PPFuzzTest PPFuzzTester::$currentTest = false
staticprivate

Definition at line 53 of file preprocessorFuzzTest.php.

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

Definition at line 47 of file preprocessorFuzzTest.php.

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.

PPFuzzTester::$maxLength = 20

Definition at line 44 of file preprocessorFuzzTest.php.

Referenced by makeInputText().

PPFuzzTester::$maxTemplates = 5

Definition at line 45 of file preprocessorFuzzTest.php.

PPFuzzTester::$minLength = 0

Definition at line 43 of file preprocessorFuzzTest.php.

PPFuzzTester::$verbose = false

Definition at line 48 of file preprocessorFuzzTest.php.


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