MediaWiki REL1_28
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 151 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDefineService()

ServiceContainerTest::testDefineService ( )

Definition at line 119 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.

◆ testDefineService_fail_duplicate()

ServiceContainerTest::testDefineService_fail_duplicate ( )

Definition at line 134 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.

◆ testDestroy()

ServiceContainerTest::testDestroy ( )

Definition at line 384 of file ServiceContainerTest.php.

References $services, newServiceContainer(), and use.

◆ testDisableService()

ServiceContainerTest::testDisableService ( )

Definition at line 326 of file ServiceContainerTest.php.

References $services, newServiceContainer(), and use.

◆ testDisableService_fail_undefined()

ServiceContainerTest::testDisableService_fail_undefined ( )

Definition at line 371 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.

◆ testGetService()

ServiceContainerTest::testGetService ( )

Definition at line 44 of file ServiceContainerTest.php.

References $count, $name, $services, newServiceContainer(), and use.

◆ testGetService_fail_unknown()

ServiceContainerTest::testGetService_fail_unknown ( )

Definition at line 67 of file ServiceContainerTest.php.

References $name, $services, and newServiceContainer().

◆ testGetServiceNames()

ServiceContainerTest::testGetServiceNames ( )

Definition at line 15 of file ServiceContainerTest.php.

References $name, $services, and newServiceContainer().

◆ testHasService()

ServiceContainerTest::testHasService ( )

Definition at line 31 of file ServiceContainerTest.php.

References $name, $services, and newServiceContainer().

◆ testImportWiring()

ServiceContainerTest::testImportWiring ( )

Definition at line 169 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles()

ServiceContainerTest::testLoadWiringFiles ( )

Definition at line 218 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles_fail_duplicate()

ServiceContainerTest::testLoadWiringFiles_fail_duplicate ( )

Definition at line 232 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testPeekService()

ServiceContainerTest::testPeekService ( )

Definition at line 77 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testPeekService_fail_unknown()

ServiceContainerTest::testPeekService_fail_unknown ( )

Definition at line 109 of file ServiceContainerTest.php.

References $name, $services, and newServiceContainer().

◆ testRedefineService()

ServiceContainerTest::testRedefineService ( )

Definition at line 246 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.

◆ testRedefineService_disabled()

ServiceContainerTest::testRedefineService_disabled ( )

Definition at line 272 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.

◆ testRedefineService_fail_in_use()

ServiceContainerTest::testRedefineService_fail_in_use ( )

Definition at line 306 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.

◆ testRedefineService_fail_undefined()

ServiceContainerTest::testRedefineService_fail_undefined ( )

Definition at line 293 of file ServiceContainerTest.php.

References $name, $services, newServiceContainer(), and use.


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