MediaWiki  REL1_24
ImportTest Class Reference

Test class for Import methods. More...

Inheritance diagram for ImportTest:
Collaboration diagram for ImportTest:

List of all members.

Public Member Functions

 getRedirectXML ()
 testHandlePageContainsRedirect ($xml, $redirectTitle)
 WikiImporter::handlePage getRedirectXML

Private Member Functions

 getInputStreamSource ($xml)

Detailed Description

Test class for Import methods.

Database

Author:
Sebastian Brückner < [email protected] >

Definition at line 10 of file ImportTest.php.


Member Function Documentation

ImportTest::getInputStreamSource ( xml) [private]

Definition at line 12 of file ImportTest.php.

References $file, and ImportStreamSource\newFromFile().

Referenced by testHandlePageContainsRedirect().

Definition at line 44 of file ImportTest.php.

References array(), format, page, redirect, text, and title.

ImportTest::testHandlePageContainsRedirect ( xml,
redirectTitle 
)

WikiImporter::handlePage getRedirectXML

Parameters:
string$xml
string | null$redirectTitle

Definition at line 27 of file ImportTest.php.

References $source, $title, and getInputStreamSource().


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