MediaWiki
REL1_24
|
Public Member Functions | |
testConstructor ($prefix) | |
GlobalVarConfig::__construct provideConstructor | |
testGet ($name, $prefix, $expected) | |
testHas () | |
GlobalVarConfig::has | |
testNewInstance () | |
GlobalVarConfig::newInstance | |
testSet ($name, $prefix, $var) | |
provideSet GlobalVarConfig::set GlobalVarConfig::setWithPrefix | |
Static Public Member Functions | |
static | provideConstructor () |
static | provideGet () |
static | provideSet () |
Private Member Functions | |
maybeStashGlobal ($var) |
Definition at line 3 of file GlobalVarConfigTest.php.
GlobalVarConfigTest::maybeStashGlobal | ( | $ | var | ) | [private] |
Definition at line 99 of file GlobalVarConfigTest.php.
References $GLOBALS, and MediaWikiTestCase\stashMwGlobals().
Referenced by testConstructor(), testHas(), testNewInstance(), and testSet().
static GlobalVarConfigTest::provideConstructor | ( | ) | [static] |
Definition at line 31 of file GlobalVarConfigTest.php.
References array().
static GlobalVarConfigTest::provideGet | ( | ) | [static] |
static GlobalVarConfigTest::provideSet | ( | ) | [static] |
Definition at line 90 of file GlobalVarConfigTest.php.
References array().
GlobalVarConfigTest::testConstructor | ( | $ | prefix | ) |
GlobalVarConfig::__construct provideConstructor
Definition at line 21 of file GlobalVarConfigTest.php.
References $GLOBALS, maybeStashGlobal(), and wfRandomString().
GlobalVarConfigTest::testGet | ( | $ | name, |
$ | prefix, | ||
$ | expected | ||
) |
string | $name | |
string | $prefix | |
string | $expected | provideGet GlobalVarConfig::get GlobalVarConfig::getWithPrefix |
Definition at line 82 of file GlobalVarConfigTest.php.
References $name.
Definition at line 44 of file GlobalVarConfigTest.php.
References $GLOBALS, maybeStashGlobal(), and wfRandomString().
Definition at line 8 of file GlobalVarConfigTest.php.
References $GLOBALS, maybeStashGlobal(), and GlobalVarConfig\newInstance().
GlobalVarConfigTest::testSet | ( | $ | name, |
$ | prefix, | ||
$ | var | ||
) |
provideSet GlobalVarConfig::set GlobalVarConfig::setWithPrefix
Definition at line 111 of file GlobalVarConfigTest.php.
References $GLOBALS, $name, MediaWikiTestCase\hideDeprecated(), maybeStashGlobal(), and wfRandomString().