MediaWiki  master
ServiceContainerTest Class Reference

Wikimedia\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

Wikimedia\Services\ServiceContainer.

Definition at line 8 of file ServiceContainerTest.php.

Member Function Documentation

◆ newServiceContainer()

◆ testAddServiceManipulator()

ServiceContainerTest::testAddServiceManipulator ( )

Definition at line 345 of file ServiceContainerTest.php.

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

◆ testAddServiceManipulator_fail_in_use()

ServiceContainerTest::testAddServiceManipulator_fail_in_use ( )

Definition at line 392 of file ServiceContainerTest.php.

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

◆ testAddServiceManipulator_fail_undefined()

ServiceContainerTest::testAddServiceManipulator_fail_undefined ( )

Definition at line 379 of file ServiceContainerTest.php.

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

◆ testApplyWiring()

ServiceContainerTest::testApplyWiring ( )

Definition at line 153 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testDefineService()

ServiceContainerTest::testDefineService ( )

Definition at line 121 of file ServiceContainerTest.php.

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

◆ testDefineService_fail_duplicate()

ServiceContainerTest::testDefineService_fail_duplicate ( )

Definition at line 136 of file ServiceContainerTest.php.

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

◆ testDestroy()

ServiceContainerTest::testDestroy ( )

Definition at line 471 of file ServiceContainerTest.php.

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

◆ testDisableService()

ServiceContainerTest::testDisableService ( )

Definition at line 412 of file ServiceContainerTest.php.

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

◆ testDisableService_fail_undefined()

ServiceContainerTest::testDisableService_fail_undefined ( )

Definition at line 458 of file ServiceContainerTest.php.

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

◆ testGetService()

ServiceContainerTest::testGetService ( )

Definition at line 46 of file ServiceContainerTest.php.

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

◆ testGetService_fail_unknown()

ServiceContainerTest::testGetService_fail_unknown ( )

Definition at line 69 of file ServiceContainerTest.php.

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

◆ testGetServiceNames()

ServiceContainerTest::testGetServiceNames ( )

Definition at line 17 of file ServiceContainerTest.php.

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

◆ testHasService()

ServiceContainerTest::testHasService ( )

Definition at line 33 of file ServiceContainerTest.php.

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

◆ testImportWiring()

ServiceContainerTest::testImportWiring ( )

Definition at line 171 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles()

ServiceContainerTest::testLoadWiringFiles ( )

Definition at line 237 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testLoadWiringFiles_fail_duplicate()

ServiceContainerTest::testLoadWiringFiles_fail_duplicate ( )

Definition at line 251 of file ServiceContainerTest.php.

References $services, class, and newServiceContainer().

◆ testPeekService()

ServiceContainerTest::testPeekService ( )

Definition at line 79 of file ServiceContainerTest.php.

References $services, and newServiceContainer().

◆ testPeekService_fail_unknown()

ServiceContainerTest::testPeekService_fail_unknown ( )

Definition at line 111 of file ServiceContainerTest.php.

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

◆ testRedefineService()

ServiceContainerTest::testRedefineService ( )

Definition at line 265 of file ServiceContainerTest.php.

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

◆ testRedefineService_disabled()

ServiceContainerTest::testRedefineService_disabled ( )

Definition at line 291 of file ServiceContainerTest.php.

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

◆ testRedefineService_fail_in_use()

ServiceContainerTest::testRedefineService_fail_in_use ( )

Definition at line 325 of file ServiceContainerTest.php.

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

◆ testRedefineService_fail_undefined()

ServiceContainerTest::testRedefineService_fail_undefined ( )

Definition at line 312 of file ServiceContainerTest.php.

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


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