MediaWiki  master
MediaWikiServicesTest Class Reference

MediaWiki\MediaWikiServices. More...

Inheritance diagram for MediaWikiServicesTest:
Collaboration diagram for MediaWikiServicesTest:

Public Member Functions

 provideGetService ()
 
 provideGetters ()
 
 testDefaultServiceInstantiation ()
 
 testDefaultServiceWiringServicesHaveTests ()
 
 testDisableStorageBackend ()
 
 testForceGlobalInstance ()
 
 testGetInstance ()
 
 testGetService ( $name, $type)
 provideGetService More...
 
 testGetters ( $getter, $type, $isDeprecated=false)
 provideGetters More...
 
 testGettersAreSorted ()
 
 testResetChildProcessServices ()
 
 testResetGlobalInstance ()
 
 testResetGlobalInstance_quick ()
 
 testResetServiceForTesting ()
 
 testResetServiceForTesting_noDestroy ()
 

Private Member Functions

 newMediaWikiServices (Config $config=null)
 
 newTestConfig ()
 

Private Attributes

 $deprecatedServices = []
 

Detailed Description

MediaWiki\MediaWikiServices.

MediaWiki

Definition at line 13 of file MediaWikiServicesTest.php.

Member Function Documentation

◆ newMediaWikiServices()

◆ newTestConfig()

MediaWikiServicesTest::newTestConfig ( )
private

◆ provideGetService()

MediaWikiServicesTest::provideGetService ( )

◆ provideGetters()

MediaWikiServicesTest::provideGetters ( )

Definition at line 266 of file MediaWikiServicesTest.php.

References $name, as, list, and provideGetService().

◆ testDefaultServiceInstantiation()

MediaWikiServicesTest::testDefaultServiceInstantiation ( )

Definition at line 327 of file MediaWikiServicesTest.php.

References $name, $services, and as.

◆ testDefaultServiceWiringServicesHaveTests()

MediaWikiServicesTest::testDefaultServiceWiringServicesHaveTests ( )

Definition at line 341 of file MediaWikiServicesTest.php.

References $IP, and provideGetService().

◆ testDisableStorageBackend()

MediaWikiServicesTest::testDisableStorageBackend ( )

Definition at line 140 of file MediaWikiServicesTest.php.

References class, newMediaWikiServices(), and use.

◆ testForceGlobalInstance()

MediaWikiServicesTest::testForceGlobalInstance ( )

Definition at line 51 of file MediaWikiServicesTest.php.

References class, and newMediaWikiServices().

◆ testGetInstance()

MediaWikiServicesTest::testGetInstance ( )

Definition at line 46 of file MediaWikiServicesTest.php.

References $services, and class.

◆ testGetService()

MediaWikiServicesTest::testGetService (   $name,
  $type 
)

provideGetService

Definition at line 319 of file MediaWikiServicesTest.php.

References $name, $services, and $type.

◆ testGetters()

MediaWikiServicesTest::testGetters (   $getter,
  $type,
  $isDeprecated = false 
)

provideGetters

Definition at line 290 of file MediaWikiServicesTest.php.

References $services, $type, and class.

◆ testGettersAreSorted()

MediaWikiServicesTest::testGettersAreSorted ( )

Definition at line 352 of file MediaWikiServicesTest.php.

References $name, class, provideGetService(), and use.

◆ testResetChildProcessServices()

MediaWikiServicesTest::testResetChildProcessServices ( )

Definition at line 177 of file MediaWikiServicesTest.php.

References class, newMediaWikiServices(), and use.

◆ testResetGlobalInstance()

MediaWikiServicesTest::testResetGlobalInstance ( )

Definition at line 67 of file MediaWikiServicesTest.php.

References class, newMediaWikiServices(), newTestConfig(), and use.

◆ testResetGlobalInstance_quick()

MediaWikiServicesTest::testResetGlobalInstance_quick ( )

Definition at line 100 of file MediaWikiServicesTest.php.

References class, newMediaWikiServices(), newTestConfig(), and use.

◆ testResetServiceForTesting()

MediaWikiServicesTest::testResetServiceForTesting ( )

Definition at line 214 of file MediaWikiServicesTest.php.

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

◆ testResetServiceForTesting_noDestroy()

MediaWikiServicesTest::testResetServiceForTesting_noDestroy ( )

Definition at line 245 of file MediaWikiServicesTest.php.

References $services, class, and newMediaWikiServices().

Member Data Documentation

◆ $deprecatedServices

MediaWikiServicesTest::$deprecatedServices = []
private

Definition at line 14 of file MediaWikiServicesTest.php.


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