MediaWiki REL1_30
ObjectFactoryTest Class Reference
Inheritance diagram for ObjectFactoryTest:
Collaboration diagram for ObjectFactoryTest:

Public Member Functions

 testClosureExpansionDisabled ()
 ObjectFactory::getObjectFromSpec.
 
 testClosureExpansionEnabled ()
 ObjectFactory::getObjectFromSpec ObjectFactory::expandClosures.
 
 testConstructClassInstance ( $args)
 ObjectFactory::constructClassInstance provideConstructClassInstance.
 
 testGetObjectFromClass ( $args)
 ObjectFactory::getObjectFromSpec provideConstructClassInstance.
 
 testGetObjectFromFactory ()
 ObjectFactory::getObjectFromSpec.
 
 testGetObjectFromInvalid ()
 ObjectFactory::getObjectFromSpec InvalidArgumentException.
 
 testNamedArgs ()
 ObjectFactory::constructClassInstance InvalidArgumentException.
 

Static Public Member Functions

static provideConstructClassInstance ()
 

Detailed Description

Definition at line 21 of file ObjectFactoryTest.php.

Member Function Documentation

◆ provideConstructClassInstance()

static ObjectFactoryTest::provideConstructClassInstance ( )
static

Definition at line 141 of file ObjectFactoryTest.php.

◆ testClosureExpansionDisabled()

ObjectFactoryTest::testClosureExpansionDisabled ( )

ObjectFactory::getObjectFromSpec.

Definition at line 26 of file ObjectFactoryTest.php.

◆ testClosureExpansionEnabled()

ObjectFactoryTest::testClosureExpansionEnabled ( )

ObjectFactory::getObjectFromSpec ObjectFactory::expandClosures.

Definition at line 53 of file ObjectFactoryTest.php.

◆ testConstructClassInstance()

ObjectFactoryTest::testConstructClassInstance ( $args)

ObjectFactory::constructClassInstance provideConstructClassInstance.

Definition at line 134 of file ObjectFactoryTest.php.

References $args.

◆ testGetObjectFromClass()

ObjectFactoryTest::testGetObjectFromClass ( $args)

ObjectFactory::getObjectFromSpec provideConstructClassInstance.

Definition at line 122 of file ObjectFactoryTest.php.

References $args.

◆ testGetObjectFromFactory()

ObjectFactoryTest::testGetObjectFromFactory ( )

ObjectFactory::getObjectFromSpec.

Definition at line 95 of file ObjectFactoryTest.php.

References $args.

◆ testGetObjectFromInvalid()

ObjectFactoryTest::testGetObjectFromInvalid ( )

ObjectFactory::getObjectFromSpec InvalidArgumentException.

Definition at line 110 of file ObjectFactoryTest.php.

References $args.

◆ testNamedArgs()

ObjectFactoryTest::testNamedArgs ( )

ObjectFactory::constructClassInstance InvalidArgumentException.

Definition at line 163 of file ObjectFactoryTest.php.

References $args.


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