MediaWiki  REL1_22
ExportDemoTest Class Reference

Test for the demo xml. More...

Inheritance diagram for ExportDemoTest:
Collaboration diagram for ExportDemoTest:

List of all members.

Public Member Functions

 testExportDemo ()
 large

Protected Member Functions

 validateXmlFileAgainstXsd ($fname)
 Validates a xml file against the xsd.

Detailed Description

Test for the demo xml.

Dump

Definition at line 7 of file ExportDemoTest.php.


Member Function Documentation

large

Definition at line 12 of file ExportDemoTest.php.

References validateXmlFileAgainstXsd().

Validates a xml file against the xsd.

The validation is slow, because php has to read the xsd on each call.

Parameters:
$fnamestring: name of file to validate

Definition at line 23 of file ExportDemoTest.php.

References $fname, fail, and WikiExporter\schemaVersion().

Referenced by testExportDemo().


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