Maintenance script used to fetch page text in a subprocess.
assertFilter( $input, $expectedOutput)
Helper to relate FetchText's input and output.
testFloatingPointNumberNonExisting()
Exception null $exceptionFromAddDBData
As the current MediaWikiTestCase::run is not robust enough to recover from thrown exceptions directly...
mockGetInvocations()
Gets invocation counters for mocked methods.
testExistingSimpleWithNewline()
static factory(Title $title)
Create a WikiPage object of the appropriate class for the given title.
static makeContent( $text, Title $title=null, $modelId=null, $format=null)
Convenience function for creating a Content object from a given textual representation.
addRevision( $page, $text, $summary)
Adds a revision to a page, while returning the resuting text's id.
Mock for the input/output of FetchText.
Array $mockInvocations
Invocation counters for the mocked aspects.
String null $mockStdinText
Text to pass as stdin.
testFloatingPointNumberExisting()
FetchText $fetchText
the (mocked) FetchText that is to test
bool $mockSetUp
Whether or not a text for stdin has been provided.