X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Flibs%2Fobjectcache%2FMultiWriteBagOStuffTest.php;h=38d63e341c830f3b734033419454db28a8bbc551;hb=fba48c6dae69b7163580d936095b7dd16c9b3644;hp=6df74d6c39d0ded9618741d6a9b6a9e99e954f64;hpb=734ca2b4d2a1246fb0ea1e54b861ab423ab5e257;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/libs/objectcache/MultiWriteBagOStuffTest.php b/tests/phpunit/includes/libs/objectcache/MultiWriteBagOStuffTest.php index 6df74d6c39..38d63e341c 100644 --- a/tests/phpunit/includes/libs/objectcache/MultiWriteBagOStuffTest.php +++ b/tests/phpunit/includes/libs/objectcache/MultiWriteBagOStuffTest.php @@ -23,6 +23,10 @@ class MultiWriteBagOStuffTest extends MediaWikiTestCase { ] ); } + /** + * @covers MultiWriteBagOStuff::set + * @covers MultiWriteBagOStuff::doWrite + */ public function testSetImmediate() { $key = wfRandomString(); $value = wfRandomString(); @@ -34,6 +38,9 @@ class MultiWriteBagOStuffTest extends MediaWikiTestCase { $this->assertEquals( $value, $this->cache2->get( $key ), 'Written to tier 2' ); } + /** + * @covers MultiWriteBagOStuff + */ public function testSyncMerge() { $key = wfRandomString(); $value = wfRandomString(); @@ -69,6 +76,9 @@ class MultiWriteBagOStuffTest extends MediaWikiTestCase { $dbw->commit(); } + /** + * @covers MultiWriteBagOStuff::set + */ public function testSetDelayed() { $key = wfRandomString(); $value = wfRandomString();