���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/phpunit/unit/includes/cache/CacheKeyHelperTest.php
���ѧ٧ѧ�
<?php use MediaWiki\Cache\CacheKeyHelper; use MediaWiki\Page\PageIdentityValue; use MediaWiki\Page\PageReference; use MediaWiki\Page\PageReferenceValue; /** * @group Cache */ class CacheKeyHelperTest extends MediaWikiUnitTestCase { public function provideKeyForPage() { // NOTE: code changes that break these test cases // will result in incompatible cache keys when deployed! yield [ new PageReferenceValue( NS_USER, 'Yulduz', PageReference::LOCAL ), 'ns2:Yulduz' ]; yield [ new PageIdentityValue( 7, NS_USER, 'Yulduz', PageReference::LOCAL ), 'ns2:Yulduz' ]; yield [ Title::makeTitle( NS_USER, 'Yulduz' ), 'ns2:Yulduz' ]; yield [ new TitleValue( NS_USER, 'Yulduz' ), 'ns2:Yulduz' ]; } /** * @dataProvider provideKeyForPage * @covers MediaWiki\Cache\CacheKeyHelper::getKeyForPage */ public function testKeyForPage( $page, $key ) { $this->assertSame( $key, CacheKeyHelper::getKeyForPage( $page ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�