MediaWiki
1.27.2
|
PHPUnit tests for XMLTypeCheck. More...
Public Member Functions | |
testMalFormedXML () | |
XMLTypeCheck::newFromString. More... | |
testProcessingInstructionHandler () | |
XMLTypeCheck::processingInstructionHandler. More... | |
testWellFormedXML () | |
XMLTypeCheck::newFromString XMLTypeCheck::getRootElement. More... | |
Public Attributes | |
const | MAL_FORMED_XML = "<root><child /></error>" |
const | WELL_FORMED_XML = "<root><child /></root>" |
const | XML_WITH_PIH = '<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/w/index.php"?><svg><child /></svg>' |
PHPUnit tests for XMLTypeCheck.
Definition at line 8 of file XmlTypeCheckTest.php.
XmlTypeCheckTest::testMalFormedXML | ( | ) |
XMLTypeCheck::newFromString.
Definition at line 28 of file XmlTypeCheckTest.php.
References XmlTypeCheck\newFromString().
XmlTypeCheckTest::testProcessingInstructionHandler | ( | ) |
XMLTypeCheck::processingInstructionHandler.
Definition at line 36 of file XmlTypeCheckTest.php.
References use.
XmlTypeCheckTest::testWellFormedXML | ( | ) |
XMLTypeCheck::newFromString XMLTypeCheck::getRootElement.
Definition at line 19 of file XmlTypeCheckTest.php.
References XmlTypeCheck\newFromString().
const XmlTypeCheckTest::MAL_FORMED_XML = "<root><child /></error>" |
Definition at line 10 of file XmlTypeCheckTest.php.
const XmlTypeCheckTest::WELL_FORMED_XML = "<root><child /></root>" |
Definition at line 9 of file XmlTypeCheckTest.php.
const XmlTypeCheckTest::XML_WITH_PIH = '<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/w/index.php"?><svg><child /></svg>' |
Definition at line 12 of file XmlTypeCheckTest.php.