MediaWiki REL1_28
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 133 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 49 of file ObjectFactoryTest.php.

◆ testConstructClassInstance()

ObjectFactoryTest::testConstructClassInstance (   $args)

ObjectFactory::constructClassInstance provideConstructClassInstance.

Definition at line 126 of file ObjectFactoryTest.php.

References $args.

◆ testGetObjectFromClass()

ObjectFactoryTest::testGetObjectFromClass (   $args)

ObjectFactory::getObjectFromSpec provideConstructClassInstance.

Definition at line 114 of file ObjectFactoryTest.php.

References $args.

◆ testGetObjectFromFactory()

ObjectFactoryTest::testGetObjectFromFactory ( )

ObjectFactory::getObjectFromSpec.

Definition at line 87 of file ObjectFactoryTest.php.

References $args.

◆ testGetObjectFromInvalid()

ObjectFactoryTest::testGetObjectFromInvalid ( )

ObjectFactory::getObjectFromSpec InvalidArgumentException.

Definition at line 102 of file ObjectFactoryTest.php.

References $args.

◆ testNamedArgs()

ObjectFactoryTest::testNamedArgs ( )

ObjectFactory::constructClassInstance InvalidArgumentException.

Definition at line 155 of file ObjectFactoryTest.php.

References $args.


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