MediaWiki
REL1_19
|
Public Member Functions | |
provideConstructionParameters () | |
Provide parameters for testConstructParameters() which use three parameters: | |
testAddOption () | |
testAddOptionWithDefault () | |
testAddOptionWithFalse () | |
testAddOptionWithValueZero () | |
testConstructParameters ($name, $id, $default, $expected) | |
Parameters are $name (false), $id (false), $default (false) provideConstructionParameters. | |
testConstructWithoutParameters () | |
testGetAttributes () | |
testSetDefault () | |
testSetDefaultAfterAddingOptions () | |
Adding default later on should set the correct selection or raise an exception. | |
Protected Member Functions | |
setUp () | |
tearDown () | |
Protected Attributes | |
$select |
Definition at line 4 of file XmlSelectTest.php.
Provide parameters for testConstructParameters() which use three parameters:
Definition at line 38 of file XmlSelectTest.php.
XmlSelectTest::setUp | ( | ) | [protected] |
Definition at line 7 of file XmlSelectTest.php.
XmlSelectTest::tearDown | ( | ) | [protected] |
Definition at line 10 of file XmlSelectTest.php.
Definition at line 58 of file XmlSelectTest.php.
Definition at line 62 of file XmlSelectTest.php.
Definition at line 66 of file XmlSelectTest.php.
Definition at line 70 of file XmlSelectTest.php.
XmlSelectTest::testConstructParameters | ( | $ | name, |
$ | id, | ||
$ | default, | ||
$ | expected | ||
) |
Parameters are $name (false), $id (false), $default (false) provideConstructionParameters.
Definition at line 24 of file XmlSelectTest.php.
Definition at line 16 of file XmlSelectTest.php.
Definition at line 103 of file XmlSelectTest.php.
Definition at line 76 of file XmlSelectTest.php.
Adding default later on should set the correct selection or raise an exception.
To handle this, we need to render the options in getHtml()
Definition at line 92 of file XmlSelectTest.php.
XmlSelectTest::$select [protected] |
Definition at line 5 of file XmlSelectTest.php.