MediaWiki  master
XmlTest Class Reference

Xml. More...

Inheritance diagram for XmlTest:
Collaboration diagram for XmlTest:

Public Member Functions

 provideMonthSelector ()
 
 testBuildTable ()
 Xml::buildTable. More...
 
 testBuildTableRow ()
 Xml::buildTableRow. More...
 
 testCloseElement ()
 Xml::closeElement. More...
 
 testDateMenu ()
 Xml::dateMenu. More...
 
 testElementAttributes ()
 Xml::element. More...
 
 testElementEmpty ()
 Xml::element. More...
 
 testElementEscaping ()
 Xml::element. More...
 
 testElementInputCanHaveAValueOfZero ()
 Xml::input. More...
 
 testElementOpen ()
 Xml::element. More...
 
 testEncodeJsVarArray ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarBoolean ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarFloat ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarFloatString ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarInt ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarIntString ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarNull ()
 Xml::encodeJsVar. More...
 
 testEncodeJsVarObject ()
 Xml::encodeJsVar. More...
 
 testEncodeObject ()
 Xml::encodeJsVar XmlJsCode::encodeObject. More...
 
 testEscapeTagsOnly ()
 Xml::escapeTagsOnly. More...
 
 testExpandAttributes ()
 Xml::expandAttributes. More...
 
 testExpandAttributesException ()
 Xml::expandAttributes. More...
 
 testFieldset ()
 Xml::fieldset. More...
 
 testLabelAttributeCanOnlyBeClassOrTitle ()
 Xml::label. More...
 
 testLabelCreation ()
 Xml::label. More...
 
 testLanguageSelector ()
 Xml::languageSelector. More...
 
 testListDropDown ()
 Xml::listDropDown. More...
 
 testListDropDownOptions ()
 Xml::listDropDownOptions. More...
 
 testListDropDownOptionsOoui ()
 Xml::listDropDownOptionsOoui. More...
 
 testMonthSelector ( $expected, $selected, $allmonths, $id)
 Xml::monthSelector provideMonthSelector. More...
 
 testOpenElement ()
 Xml::openElement. More...
 
 testSpan ()
 Xml::span. More...
 
 testTextareaAttribs ()
 Xml::textarea. More...
 
 testTextareaNoContent ()
 Xml::textarea. More...
 
 testXmlJsCode ()
 Xml::encodeJsVar. More...
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Detailed Description

Xml.

Definition at line 6 of file XmlTest.php.

Member Function Documentation

◆ provideMonthSelector()

XmlTest::provideMonthSelector ( )

Definition at line 144 of file XmlTest.php.

References $header, $wgLang, and null.

◆ setUp()

XmlTest::setUp ( )
protected

Definition at line 8 of file XmlTest.php.

References Language\factory().

◆ tearDown()

XmlTest::tearDown ( )
protected

Definition at line 37 of file XmlTest.php.

References Language\factory().

◆ testBuildTable()

XmlTest::testBuildTable ( )

Xml::buildTable.

Definition at line 619 of file XmlTest.php.

References Xml\buildTable().

◆ testBuildTableRow()

XmlTest::testBuildTableRow ( )

Xml::buildTableRow.

Definition at line 639 of file XmlTest.php.

References Xml\buildTableRow().

◆ testCloseElement()

XmlTest::testCloseElement ( )

Xml::closeElement.

Definition at line 140 of file XmlTest.php.

References Xml\closeElement().

◆ testDateMenu()

XmlTest::testDateMenu ( )

Xml::dateMenu.

Definition at line 198 of file XmlTest.php.

References Xml\dateMenu().

◆ testElementAttributes()

XmlTest::testElementAttributes ( )

Xml::element.

Definition at line 118 of file XmlTest.php.

References Xml\element(), and null.

◆ testElementEmpty()

XmlTest::testElementEmpty ( )

Xml::element.

Definition at line 76 of file XmlTest.php.

References Xml\element(), and null.

◆ testElementEscaping()

XmlTest::testElementEscaping ( )

Xml::element.

Definition at line 98 of file XmlTest.php.

References Xml\element(), and null.

◆ testElementInputCanHaveAValueOfZero()

XmlTest::testElementInputCanHaveAValueOfZero ( )

Xml::input.

Definition at line 87 of file XmlTest.php.

References Xml\input().

◆ testElementOpen()

XmlTest::testElementOpen ( )

Xml::element.

Definition at line 65 of file XmlTest.php.

References Xml\element(), and null.

◆ testEncodeJsVarArray()

XmlTest::testEncodeJsVarArray ( )

Xml::encodeJsVar.

Definition at line 389 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeJsVarBoolean()

XmlTest::testEncodeJsVarBoolean ( )

Xml::encodeJsVar.

Definition at line 367 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeJsVarFloat()

XmlTest::testEncodeJsVarFloat ( )

Xml::encodeJsVar.

Definition at line 427 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeJsVarFloatString()

XmlTest::testEncodeJsVarFloatString ( )

Xml::encodeJsVar.

Definition at line 449 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeJsVarInt()

XmlTest::testEncodeJsVarInt ( )

Xml::encodeJsVar.

Definition at line 416 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeJsVarIntString()

XmlTest::testEncodeJsVarIntString ( )

Xml::encodeJsVar.

Definition at line 438 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeJsVarNull()

XmlTest::testEncodeJsVarNull ( )

Xml::encodeJsVar.

Definition at line 378 of file XmlTest.php.

References Xml\encodeJsVar(), and null.

◆ testEncodeJsVarObject()

XmlTest::testEncodeJsVarObject ( )

Xml::encodeJsVar.

Definition at line 405 of file XmlTest.php.

References Xml\encodeJsVar().

◆ testEncodeObject()

XmlTest::testEncodeObject ( )

◆ testEscapeTagsOnly()

XmlTest::testEscapeTagsOnly ( )

Xml::escapeTagsOnly.

Definition at line 109 of file XmlTest.php.

References Xml\escapeTagsOnly().

◆ testExpandAttributes()

XmlTest::testExpandAttributes ( )

Xml::expandAttributes.

Definition at line 45 of file XmlTest.php.

References Xml\expandAttributes(), and null.

◆ testExpandAttributesException()

XmlTest::testExpandAttributesException ( )

Xml::expandAttributes.

Definition at line 57 of file XmlTest.php.

References class, and Xml\expandAttributes().

◆ testFieldset()

XmlTest::testFieldset ( )

Xml::fieldset.

Definition at line 568 of file XmlTest.php.

References Xml\fieldset().

◆ testLabelAttributeCanOnlyBeClassOrTitle()

XmlTest::testLabelAttributeCanOnlyBeClassOrTitle ( )

Xml::label.

Definition at line 323 of file XmlTest.php.

References Xml\label().

◆ testLabelCreation()

XmlTest::testLabelCreation ( )

Xml::label.

Definition at line 312 of file XmlTest.php.

References Xml\label().

◆ testLanguageSelector()

XmlTest::testLanguageSelector ( )

Xml::languageSelector.

Definition at line 355 of file XmlTest.php.

References Xml\languageSelector(), null, and wfMessage().

◆ testListDropDown()

XmlTest::testListDropDown ( )

Xml::listDropDown.

Definition at line 488 of file XmlTest.php.

References Xml\listDropDown().

◆ testListDropDownOptions()

XmlTest::testListDropDownOptions ( )

Xml::listDropDownOptions.

Definition at line 520 of file XmlTest.php.

References Xml\listDropDownOptions().

◆ testListDropDownOptionsOoui()

XmlTest::testListDropDownOptionsOoui ( )

◆ testMonthSelector()

XmlTest::testMonthSelector (   $expected,
  $selected,
  $allmonths,
  $id 
)

Xml::monthSelector provideMonthSelector.

Definition at line 178 of file XmlTest.php.

References Xml\monthSelector().

◆ testOpenElement()

XmlTest::testOpenElement ( )

Xml::openElement.

Definition at line 129 of file XmlTest.php.

References Xml\openElement().

◆ testSpan()

XmlTest::testSpan ( )

Xml::span.

Definition at line 188 of file XmlTest.php.

References Xml\span().

◆ testTextareaAttribs()

XmlTest::testTextareaAttribs ( )

Xml::textarea.

Definition at line 301 of file XmlTest.php.

References Xml\textarea().

◆ testTextareaNoContent()

XmlTest::testTextareaNoContent ( )

Xml::textarea.

Definition at line 290 of file XmlTest.php.

References Xml\textarea().

◆ testXmlJsCode()

XmlTest::testXmlJsCode ( )

Xml::encodeJsVar.

Definition at line 460 of file XmlTest.php.

References $code, and Xml\encodeJsVar().


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