MediaWiki  master
MediaWiki\Tests\Revision\SlotRoleRegistryTest Class Reference

\MediaWiki\Revision\SlotRoleRegistry More...

Inheritance diagram for MediaWiki\Tests\Revision\SlotRoleRegistryTest:
Collaboration diagram for MediaWiki\Tests\Revision\SlotRoleRegistryTest:

Public Member Functions

 testDefineRole ()
 \MediaWiki\Revision\SlotRoleRegistry::defineRole() \MediaWiki\Revision\SlotRoleRegistry::getDefinedRoles() \MediaWiki\Revision\SlotRoleRegistry::getKnownRoles() \MediaWiki\Revision\SlotRoleRegistry::getRoleHandler() More...
 
 testDefineRoleFailsForDupe ()
 \MediaWiki\Revision\SlotRoleRegistry::defineRole() More...
 
 testDefineRoleWithContentModel ()
 \MediaWiki\Revision\SlotRoleRegistry::defineRoleWithModel() \MediaWiki\Revision\SlotRoleRegistry::getDefinedRoles() \MediaWiki\Revision\SlotRoleRegistry::getKnownRoles() \MediaWiki\Revision\SlotRoleRegistry::getRoleHandler() More...
 
 testGetAllowedRoles ()
 \MediaWiki\Revision\SlotRoleRegistry::getAllowedRoles() More...
 
 testGetKnownRoles ()
 \MediaWiki\Revision\SlotRoleRegistry::getKnownRoles() \MediaWiki\Revision\SlotRoleRegistry::isKnownRole() More...
 
 testGetRequiredRoles ()
 \MediaWiki\Revision\SlotRoleRegistry::getRequiredRoles() More...
 
 testGetRoleHandlerFallbackHandler ()
 \MediaWiki\Revision\SlotRoleRegistry::getRoleHandler() More...
 
 testGetRoleHandlerForUnknownModel ()
 \MediaWiki\Revision\SlotRoleRegistry::getRoleHandler() More...
 
 testGetRoleHandlerWithBadInstantiator ()
 \MediaWiki\Revision\SlotRoleRegistry::getRoleHandler() More...
 

Private Member Functions

 makeBlankTitleObject ()
 
 makeNameTableStore (array $names=[])
 
 newSlotRoleRegistry (NameTableStore $roleNameStore=null)
 

Detailed Description

\MediaWiki\Revision\SlotRoleRegistry

Definition at line 18 of file SlotRoleRegistryTest.php.

Member Function Documentation

◆ makeBlankTitleObject()

◆ makeNameTableStore()

MediaWiki\Tests\Revision\SlotRoleRegistryTest::makeNameTableStore ( array  $names = [])
private

◆ newSlotRoleRegistry()

◆ testDefineRole()

◆ testDefineRoleFailsForDupe()

MediaWiki\Tests\Revision\SlotRoleRegistryTest::testDefineRoleFailsForDupe ( )

◆ testDefineRoleWithContentModel()

◆ testGetAllowedRoles()

◆ testGetKnownRoles()

◆ testGetRequiredRoles()

◆ testGetRoleHandlerFallbackHandler()

◆ testGetRoleHandlerForUnknownModel()

MediaWiki\Tests\Revision\SlotRoleRegistryTest::testGetRoleHandlerForUnknownModel ( )

◆ testGetRoleHandlerWithBadInstantiator()

MediaWiki\Tests\Revision\SlotRoleRegistryTest::testGetRoleHandlerWithBadInstantiator ( )

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