MediaWiki
master
|
Public Member Functions | |
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. | |
Static Public Member Functions | |
static | provideConstructionParameters () |
Provide parameters for testConstructParameters() which use three parameters: | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () | |
Protected Attributes | |
$select |
Definition at line 4 of file XmlSelectTest.php.
static XmlSelectTest::provideConstructionParameters | ( | ) | [static] |
Provide parameters for testConstructParameters() which use three parameters:
Definition at line 40 of file XmlSelectTest.php.
XmlSelectTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 7 of file XmlSelectTest.php.
References select().
XmlSelectTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 11 of file XmlSelectTest.php.
References select().
Definition at line 60 of file XmlSelectTest.php.
References select().
Definition at line 64 of file XmlSelectTest.php.
References select().
Definition at line 68 of file XmlSelectTest.php.
References select().
Definition at line 72 of file XmlSelectTest.php.
References select().
XmlSelectTest::testConstructParameters | ( | $ | name, |
$ | id, | ||
$ | default, | ||
$ | expected | ||
) |
Parameters are $name (false), $id (false), $default (false) provideConstructionParameters.
Definition at line 26 of file XmlSelectTest.php.
Definition at line 18 of file XmlSelectTest.php.
References select().
Definition at line 105 of file XmlSelectTest.php.
References select().
Definition at line 78 of file XmlSelectTest.php.
References select().
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 94 of file XmlSelectTest.php.
XmlSelectTest::$select [protected] |
Definition at line 5 of file XmlSelectTest.php.