MediaWiki
1.30.0
|
Public Member Functions | |
testClosureExpansionDisabled () | |
ObjectFactory::getObjectFromSpec. More... | |
testClosureExpansionEnabled () | |
ObjectFactory::getObjectFromSpec ObjectFactory::expandClosures. More... | |
testConstructClassInstance ( $args) | |
ObjectFactory::constructClassInstance provideConstructClassInstance. More... | |
testGetObjectFromClass ( $args) | |
ObjectFactory::getObjectFromSpec provideConstructClassInstance. More... | |
testGetObjectFromFactory () | |
ObjectFactory::getObjectFromSpec. More... | |
testGetObjectFromInvalid () | |
ObjectFactory::getObjectFromSpec InvalidArgumentException. More... | |
testNamedArgs () | |
ObjectFactory::constructClassInstance InvalidArgumentException. More... | |
Static Public Member Functions | |
static | provideConstructClassInstance () |
Definition at line 21 of file ObjectFactoryTest.php.
|
static |
Definition at line 141 of file ObjectFactoryTest.php.
ObjectFactoryTest::testClosureExpansionDisabled | ( | ) |
ObjectFactory::getObjectFromSpec.
Definition at line 26 of file ObjectFactoryTest.php.
References ObjectFactory\getObjectFromSpec().
ObjectFactoryTest::testClosureExpansionEnabled | ( | ) |
ObjectFactory::getObjectFromSpec ObjectFactory::expandClosures.
Definition at line 53 of file ObjectFactoryTest.php.
References ObjectFactory\getObjectFromSpec().
ObjectFactoryTest::testConstructClassInstance | ( | $args | ) |
ObjectFactory::constructClassInstance provideConstructClassInstance.
Definition at line 134 of file ObjectFactoryTest.php.
References $args, and ObjectFactory\constructClassInstance().
ObjectFactoryTest::testGetObjectFromClass | ( | $args | ) |
ObjectFactory::getObjectFromSpec provideConstructClassInstance.
Definition at line 122 of file ObjectFactoryTest.php.
References $args, and ObjectFactory\getObjectFromSpec().
ObjectFactoryTest::testGetObjectFromFactory | ( | ) |
ObjectFactory::getObjectFromSpec.
Definition at line 95 of file ObjectFactoryTest.php.
References $args, and ObjectFactory\getObjectFromSpec().
ObjectFactoryTest::testGetObjectFromInvalid | ( | ) |
ObjectFactory::getObjectFromSpec InvalidArgumentException.
Definition at line 110 of file ObjectFactoryTest.php.
References $args, and ObjectFactory\getObjectFromSpec().
ObjectFactoryTest::testNamedArgs | ( | ) |
ObjectFactory::constructClassInstance InvalidArgumentException.
Definition at line 163 of file ObjectFactoryTest.php.
References $args, and ObjectFactory\constructClassInstance().