MediaWiki REL1_31
ServiceContainerTest Class Reference

MediaWiki\Services\ServiceContainer. More...

Inheritance diagram for ServiceContainerTest:
Collaboration diagram for ServiceContainerTest:

Public Member Functions

 testApplyWiring ()
 
 testDefineService ()
 
 testDefineService_fail_duplicate ()
 
 testDestroy ()
 
 testDisableService ()
 
 testDisableService_fail_undefined ()
 
 testGetService ()
 
 testGetService_fail_unknown ()
 
 testGetServiceNames ()
 
 testHasService ()
 
 testImportWiring ()
 
 testLoadWiringFiles ()
 
 testLoadWiringFiles_fail_duplicate ()
 
 testPeekService ()
 
 testPeekService_fail_unknown ()
 
 testRedefineService ()
 
 testRedefineService_disabled ()
 
 testRedefineService_fail_in_use ()
 
 testRedefineService_fail_undefined ()
 

Private Member Functions

 newServiceContainer ( $extraArgs=[])
 

Detailed Description

MediaWiki\Services\ServiceContainer.

MediaWiki

Definition at line 9 of file ServiceContainerTest.php.

Member Function Documentation

◆ newServiceContainer()

◆ testApplyWiring()

ServiceContainerTest::testApplyWiring ( )

Definition at line 154 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDefineService()

ServiceContainerTest::testDefineService ( )

Definition at line 122 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDefineService_fail_duplicate()

ServiceContainerTest::testDefineService_fail_duplicate ( )

Definition at line 137 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDestroy()

ServiceContainerTest::testDestroy ( )

Definition at line 388 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDisableService()

ServiceContainerTest::testDisableService ( )

Definition at line 329 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDisableService_fail_undefined()

ServiceContainerTest::testDisableService_fail_undefined ( )

Definition at line 375 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testGetService()

ServiceContainerTest::testGetService ( )

Definition at line 47 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testGetService_fail_unknown()

ServiceContainerTest::testGetService_fail_unknown ( )

Definition at line 70 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testGetServiceNames()

ServiceContainerTest::testGetServiceNames ( )

Definition at line 18 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testHasService()

ServiceContainerTest::testHasService ( )

Definition at line 34 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testImportWiring()

ServiceContainerTest::testImportWiring ( )

Definition at line 172 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles()

ServiceContainerTest::testLoadWiringFiles ( )

Definition at line 221 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles_fail_duplicate()

ServiceContainerTest::testLoadWiringFiles_fail_duplicate ( )

Definition at line 235 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testPeekService()

ServiceContainerTest::testPeekService ( )

Definition at line 80 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testPeekService_fail_unknown()

ServiceContainerTest::testPeekService_fail_unknown ( )

Definition at line 112 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testRedefineService()

ServiceContainerTest::testRedefineService ( )

Definition at line 249 of file ServiceContainerTest.php.

References $services, newServiceContainer(), and use.

◆ testRedefineService_disabled()

ServiceContainerTest::testRedefineService_disabled ( )

Definition at line 275 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testRedefineService_fail_in_use()

ServiceContainerTest::testRedefineService_fail_in_use ( )

Definition at line 309 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testRedefineService_fail_undefined()

ServiceContainerTest::testRedefineService_fail_undefined ( )

Definition at line 296 of file ServiceContainerTest.php.

References $services, and newServiceContainer().


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