MediaWiki  1.28.0
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

ServiceContainerTest::testApplyWiring ( )

Definition at line 151 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

ServiceContainerTest::testDefineService ( )

Definition at line 119 of file ServiceContainerTest.php.

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

ServiceContainerTest::testDefineService_fail_duplicate ( )

Definition at line 134 of file ServiceContainerTest.php.

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

ServiceContainerTest::testDestroy ( )

Definition at line 384 of file ServiceContainerTest.php.

References $services, newServiceContainer(), and use.

ServiceContainerTest::testDisableService ( )

Definition at line 326 of file ServiceContainerTest.php.

References $services, newServiceContainer(), and use.

ServiceContainerTest::testDisableService_fail_undefined ( )

Definition at line 371 of file ServiceContainerTest.php.

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

ServiceContainerTest::testGetService ( )

Definition at line 44 of file ServiceContainerTest.php.

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

ServiceContainerTest::testGetService_fail_unknown ( )

Definition at line 67 of file ServiceContainerTest.php.

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

ServiceContainerTest::testGetServiceNames ( )

Definition at line 15 of file ServiceContainerTest.php.

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

ServiceContainerTest::testHasService ( )

Definition at line 31 of file ServiceContainerTest.php.

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

ServiceContainerTest::testImportWiring ( )

Definition at line 169 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

ServiceContainerTest::testLoadWiringFiles ( )

Definition at line 218 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

ServiceContainerTest::testLoadWiringFiles_fail_duplicate ( )

Definition at line 232 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

ServiceContainerTest::testPeekService ( )

Definition at line 77 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

ServiceContainerTest::testPeekService_fail_unknown ( )

Definition at line 109 of file ServiceContainerTest.php.

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

ServiceContainerTest::testRedefineService ( )

Definition at line 246 of file ServiceContainerTest.php.

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

ServiceContainerTest::testRedefineService_disabled ( )

Definition at line 272 of file ServiceContainerTest.php.

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

ServiceContainerTest::testRedefineService_fail_in_use ( )

Definition at line 306 of file ServiceContainerTest.php.

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

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: