MediaWiki  1.32.5
ServiceContainerTest Class Reference

MediaWiki\Services\ServiceContainer. More...

Inheritance diagram for ServiceContainerTest:
Collaboration diagram for ServiceContainerTest:

Public Member Functions

 testAddServiceManipulator ()
 
 testAddServiceManipulator_fail_in_use ()
 
 testAddServiceManipulator_fail_undefined ()
 
 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()

◆ testAddServiceManipulator()

ServiceContainerTest::testAddServiceManipulator ( )

Definition at line 346 of file ServiceContainerTest.php.

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

◆ testAddServiceManipulator_fail_in_use()

ServiceContainerTest::testAddServiceManipulator_fail_in_use ( )

Definition at line 393 of file ServiceContainerTest.php.

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

◆ testAddServiceManipulator_fail_undefined()

ServiceContainerTest::testAddServiceManipulator_fail_undefined ( )

Definition at line 380 of file ServiceContainerTest.php.

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

◆ 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 $name, $services, newServiceContainer(), and use.

◆ testDefineService_fail_duplicate()

ServiceContainerTest::testDefineService_fail_duplicate ( )

Definition at line 137 of file ServiceContainerTest.php.

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

◆ testDestroy()

ServiceContainerTest::testDestroy ( )

Definition at line 472 of file ServiceContainerTest.php.

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

◆ testDisableService()

ServiceContainerTest::testDisableService ( )

Definition at line 413 of file ServiceContainerTest.php.

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

◆ testDisableService_fail_undefined()

ServiceContainerTest::testDisableService_fail_undefined ( )

Definition at line 459 of file ServiceContainerTest.php.

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

◆ testGetService()

ServiceContainerTest::testGetService ( )

Definition at line 47 of file ServiceContainerTest.php.

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

◆ testGetService_fail_unknown()

ServiceContainerTest::testGetService_fail_unknown ( )

Definition at line 70 of file ServiceContainerTest.php.

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

◆ testGetServiceNames()

ServiceContainerTest::testGetServiceNames ( )

Definition at line 18 of file ServiceContainerTest.php.

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

◆ testHasService()

ServiceContainerTest::testHasService ( )

Definition at line 34 of file ServiceContainerTest.php.

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

◆ testImportWiring()

ServiceContainerTest::testImportWiring ( )

Definition at line 172 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles()

ServiceContainerTest::testLoadWiringFiles ( )

Definition at line 238 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles_fail_duplicate()

ServiceContainerTest::testLoadWiringFiles_fail_duplicate ( )

Definition at line 252 of file ServiceContainerTest.php.

References $services, class, 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 $name, $services, class, and newServiceContainer().

◆ testRedefineService()

ServiceContainerTest::testRedefineService ( )

Definition at line 266 of file ServiceContainerTest.php.

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

◆ testRedefineService_disabled()

ServiceContainerTest::testRedefineService_disabled ( )

Definition at line 292 of file ServiceContainerTest.php.

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

◆ testRedefineService_fail_in_use()

ServiceContainerTest::testRedefineService_fail_in_use ( )

Definition at line 326 of file ServiceContainerTest.php.

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

◆ testRedefineService_fail_undefined()

ServiceContainerTest::testRedefineService_fail_undefined ( )

Definition at line 313 of file ServiceContainerTest.php.

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


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