Fix @covers tags to use absolute class names in Storage tests
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 15 Dec 2017 03:20:51 +0000 (19:20 -0800)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 15 Dec 2017 03:20:51 +0000 (19:20 -0800)
PHPUnit doesn't support use statements when evaluating @covers tags.

Change-Id: I7f649afd3e417a6b71b2f61c6ff59be5f404be8f

tests/phpunit/includes/Storage/RevisionSlotsTest.php
tests/phpunit/includes/Storage/RevisionStoreDbTest.php
tests/phpunit/includes/Storage/RevisionStoreRecordTest.php
tests/phpunit/includes/Storage/SqlBlobStoreTest.php

index 288bf47..4dfae4b 100644 (file)
@@ -11,7 +11,7 @@ use WikitextContent;
 class RevisionSlotsTest extends MediaWikiTestCase {
 
        /**
 class RevisionSlotsTest extends MediaWikiTestCase {
 
        /**
-        * @covers RevisionSlots::getSlot
+        * @covers \MediaWiki\Storage\RevisionSlots::getSlot
         */
        public function testGetSlot() {
                $mainSlot = SlotRecord::newUnsaved( 'main', new WikitextContent( 'A' ) );
         */
        public function testGetSlot() {
                $mainSlot = SlotRecord::newUnsaved( 'main', new WikitextContent( 'A' ) );
@@ -25,7 +25,7 @@ class RevisionSlotsTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionSlots::getContent
+        * @covers \MediaWiki\Storage\RevisionSlots::getContent
         */
        public function testGetContent() {
                $mainContent = new WikitextContent( 'A' );
         */
        public function testGetContent() {
                $mainContent = new WikitextContent( 'A' );
@@ -41,7 +41,7 @@ class RevisionSlotsTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionSlots::getSlotRoles
+        * @covers \MediaWiki\Storage\RevisionSlots::getSlotRoles
         */
        public function testGetSlotRoles_someSlots() {
                $mainSlot = SlotRecord::newUnsaved( 'main', new WikitextContent( 'A' ) );
         */
        public function testGetSlotRoles_someSlots() {
                $mainSlot = SlotRecord::newUnsaved( 'main', new WikitextContent( 'A' ) );
@@ -52,7 +52,7 @@ class RevisionSlotsTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionSlots::getSlotRoles
+        * @covers \MediaWiki\Storage\RevisionSlots::getSlotRoles
         */
        public function testGetSlotRoles_noSlots() {
                $slots = new RevisionSlots( [] );
         */
        public function testGetSlotRoles_noSlots() {
                $slots = new RevisionSlots( [] );
@@ -61,7 +61,7 @@ class RevisionSlotsTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionSlots::getSlots
+        * @covers \MediaWiki\Storage\RevisionSlots::getSlots
         */
        public function testGetSlots() {
                $mainSlot = SlotRecord::newUnsaved( 'main', new WikitextContent( 'A' ) );
         */
        public function testGetSlots() {
                $mainSlot = SlotRecord::newUnsaved( 'main', new WikitextContent( 'A' ) );
@@ -80,7 +80,7 @@ class RevisionSlotsTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideComputeSize
 
        /**
         * @dataProvider provideComputeSize
-        * @covers RevisionSlots::computeSize
+        * @covers \MediaWiki\Storage\RevisionSlots::computeSize
         */
        public function testComputeSize( $expected, $contentStrings ) {
                $slotsArray = [];
         */
        public function testComputeSize( $expected, $contentStrings ) {
                $slotsArray = [];
@@ -100,7 +100,7 @@ class RevisionSlotsTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideComputeSha1
 
        /**
         * @dataProvider provideComputeSha1
-        * @covers RevisionSlots::computeSha1
+        * @covers \MediaWiki\Storage\RevisionSlots::computeSha1
         * @note this test is a bit brittle as the hashes are hardcoded, perhaps just check that strings
         *       are returned and different Slots objects return different strings?
         */
         * @note this test is a bit brittle as the hashes are hardcoded, perhaps just check that strings
         *       are returned and different Slots objects return different strings?
         */
index 69a50e2..695a6b3 100644 (file)
@@ -125,7 +125,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideInsertRevisionOn_successes
 
        /**
         * @dataProvider provideInsertRevisionOn_successes
-        * @covers RevisionStore::insertRevisionOn
+        * @covers \MediaWiki\Storage\RevisionStore::insertRevisionOn
         */
        public function testInsertRevisionOn_successes( Title $title, array $revDetails = [] ) {
                $rev = $this->getRevisionRecordFromDetailsArray( $title, $revDetails );
         */
        public function testInsertRevisionOn_successes( Title $title, array $revDetails = [] ) {
                $rev = $this->getRevisionRecordFromDetailsArray( $title, $revDetails );
@@ -138,7 +138,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::insertRevisionOn
+        * @covers \MediaWiki\Storage\RevisionStore::insertRevisionOn
         */
        public function testInsertRevisionOn_blobAddressExists() {
                $title = Title::newFromText( 'UTPage' );
         */
        public function testInsertRevisionOn_blobAddressExists() {
                $title = Title::newFromText( 'UTPage' );
@@ -228,7 +228,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideInsertRevisionOn_failures
 
        /**
         * @dataProvider provideInsertRevisionOn_failures
-        * @covers RevisionStore::insertRevisionOn
+        * @covers \MediaWiki\Storage\RevisionStore::insertRevisionOn
         */
        public function testInsertRevisionOn_failures(
                Title $title,
         */
        public function testInsertRevisionOn_failures(
                Title $title,
@@ -261,7 +261,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideNewNullRevision
 
        /**
         * @dataProvider provideNewNullRevision
-        * @covers RevisionStore::newNullRevision
+        * @covers \MediaWiki\Storage\RevisionStore::newNullRevision
         */
        public function testNewNullRevision( Title $title, $comment, $minor ) {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
         */
        public function testNewNullRevision( Title $title, $comment, $minor ) {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
@@ -282,7 +282,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::newNullRevision
+        * @covers \MediaWiki\Storage\RevisionStore::newNullRevision
         */
        public function testNewNullRevision_nonExistingTitle() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
         */
        public function testNewNullRevision_nonExistingTitle() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
@@ -297,7 +297,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::isUnpatrolled
+        * @covers \MediaWiki\Storage\RevisionStore::isUnpatrolled
         */
        public function testIsUnpatrolled_returnsRecentChangesId() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testIsUnpatrolled_returnsRecentChangesId() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -317,7 +317,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::isUnpatrolled
+        * @covers \MediaWiki\Storage\RevisionStore::isUnpatrolled
         */
        public function testIsUnpatrolled_returnsZeroIfPatrolled() {
                // This assumes that sysops are auto patrolled
         */
        public function testIsUnpatrolled_returnsZeroIfPatrolled() {
                // This assumes that sysops are auto patrolled
@@ -356,7 +356,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getRevisionById
+        * @covers \MediaWiki\Storage\RevisionStore::getRevisionById
         */
        public function testGetRevisionById() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testGetRevisionById() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -374,7 +374,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getRevisionByTitle
+        * @covers \MediaWiki\Storage\RevisionStore::getRevisionByTitle
         */
        public function testGetRevisionByTitle() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testGetRevisionByTitle() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -392,7 +392,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getRevisionByPageId
+        * @covers \MediaWiki\Storage\RevisionStore::getRevisionByPageId
         */
        public function testGetRevisionByPageId() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testGetRevisionByPageId() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -410,7 +410,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getRevisionFromTimestamp
+        * @covers \MediaWiki\Storage\RevisionStore::getRevisionFromTimestamp
         */
        public function testGetRevisionFromTimestamp() {
                // Make sure there is 1 second between the last revision and the rev we create...
         */
        public function testGetRevisionFromTimestamp() {
                // Make sure there is 1 second between the last revision and the rev we create...
@@ -493,8 +493,8 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::newRevisionFromRow
-        * @covers RevisionStore::newRevisionFromRow_1_29
+        * @covers \MediaWiki\Storage\RevisionStore::newRevisionFromRow
+        * @covers \MediaWiki\Storage\RevisionStore::newRevisionFromRow_1_29
         */
        public function testNewRevisionFromRow_anonEdit() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testNewRevisionFromRow_anonEdit() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -514,8 +514,8 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::newRevisionFromRow
-        * @covers RevisionStore::newRevisionFromRow_1_29
+        * @covers \MediaWiki\Storage\RevisionStore::newRevisionFromRow
+        * @covers \MediaWiki\Storage\RevisionStore::newRevisionFromRow_1_29
         */
        public function testNewRevisionFromRow_userEdit() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testNewRevisionFromRow_userEdit() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -538,7 +538,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::newRevisionFromArchiveRow
+        * @covers \MediaWiki\Storage\RevisionStore::newRevisionFromArchiveRow
         */
        public function testNewRevisionFromArchiveRow() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
         */
        public function testNewRevisionFromArchiveRow() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
@@ -565,7 +565,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::loadRevisionFromId
+        * @covers \MediaWiki\Storage\RevisionStore::loadRevisionFromId
         */
        public function testLoadRevisionFromId() {
                $title = Title::newFromText( __METHOD__ );
         */
        public function testLoadRevisionFromId() {
                $title = Title::newFromText( __METHOD__ );
@@ -580,7 +580,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::loadRevisionFromPageId
+        * @covers \MediaWiki\Storage\RevisionStore::loadRevisionFromPageId
         */
        public function testLoadRevisionFromPageId() {
                $title = Title::newFromText( __METHOD__ );
         */
        public function testLoadRevisionFromPageId() {
                $title = Title::newFromText( __METHOD__ );
@@ -595,7 +595,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::loadRevisionFromTitle
+        * @covers \MediaWiki\Storage\RevisionStore::loadRevisionFromTitle
         */
        public function testLoadRevisionFromTitle() {
                $title = Title::newFromText( __METHOD__ );
         */
        public function testLoadRevisionFromTitle() {
                $title = Title::newFromText( __METHOD__ );
@@ -610,7 +610,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::loadRevisionFromTimestamp
+        * @covers \MediaWiki\Storage\RevisionStore::loadRevisionFromTimestamp
         */
        public function testLoadRevisionFromTimestamp() {
                $title = Title::newFromText( __METHOD__ );
         */
        public function testLoadRevisionFromTimestamp() {
                $title = Title::newFromText( __METHOD__ );
@@ -647,7 +647,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::listRevisionSizes
+        * @covers \MediaWiki\Storage\RevisionStore::listRevisionSizes
         */
        public function testGetParentLengths() {
                $page = WikiPage::factory( Title::newFromText( __METHOD__ ) );
         */
        public function testGetParentLengths() {
                $page = WikiPage::factory( Title::newFromText( __METHOD__ ) );
@@ -683,7 +683,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getPreviousRevision
+        * @covers \MediaWiki\Storage\RevisionStore::getPreviousRevision
         */
        public function testGetPreviousRevision() {
                $page = WikiPage::factory( Title::newFromText( __METHOD__ ) );
         */
        public function testGetPreviousRevision() {
                $page = WikiPage::factory( Title::newFromText( __METHOD__ ) );
@@ -707,7 +707,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getNextRevision
+        * @covers \MediaWiki\Storage\RevisionStore::getNextRevision
         */
        public function testGetNextRevision() {
                $page = WikiPage::factory( Title::newFromText( __METHOD__ ) );
         */
        public function testGetNextRevision() {
                $page = WikiPage::factory( Title::newFromText( __METHOD__ ) );
@@ -731,7 +731,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getTimestampFromId
+        * @covers \MediaWiki\Storage\RevisionStore::getTimestampFromId
         */
        public function testGetTimestampFromId_found() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testGetTimestampFromId_found() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -749,7 +749,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getTimestampFromId
+        * @covers \MediaWiki\Storage\RevisionStore::getTimestampFromId
         */
        public function testGetTimestampFromId_notFound() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testGetTimestampFromId_notFound() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -767,7 +767,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::countRevisionsByPageId
+        * @covers \MediaWiki\Storage\RevisionStore::countRevisionsByPageId
         */
        public function testCountRevisionsByPageId() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
         */
        public function testCountRevisionsByPageId() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
@@ -790,7 +790,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::countRevisionsByTitle
+        * @covers \MediaWiki\Storage\RevisionStore::countRevisionsByTitle
         */
        public function testCountRevisionsByTitle() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
         */
        public function testCountRevisionsByTitle() {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
@@ -813,7 +813,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::userWasLastToEdit
+        * @covers \MediaWiki\Storage\RevisionStore::userWasLastToEdit
         */
        public function testUserWasLastToEdit_false() {
                $sysop = $this->getTestSysop()->getUser();
         */
        public function testUserWasLastToEdit_false() {
                $sysop = $this->getTestSysop()->getUser();
@@ -831,7 +831,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::userWasLastToEdit
+        * @covers \MediaWiki\Storage\RevisionStore::userWasLastToEdit
         */
        public function testUserWasLastToEdit_true() {
                $startTime = wfTimestampNow();
         */
        public function testUserWasLastToEdit_true() {
                $startTime = wfTimestampNow();
@@ -856,7 +856,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers RevisionStore::getKnownCurrentRevision
+        * @covers \MediaWiki\Storage\RevisionStore::getKnownCurrentRevision
         */
        public function testGetKnownCurrentRevision() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
         */
        public function testGetKnownCurrentRevision() {
                $page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
@@ -951,7 +951,7 @@ class RevisionStoreDbTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideNewMutableRevisionFromArray
 
        /**
         * @dataProvider provideNewMutableRevisionFromArray
-        * @covers RevisionStore::newMutableRevisionFromArray
+        * @covers \MediaWiki\Storage\RevisionStore::newMutableRevisionFromArray
         */
        public function testNewMutableRevisionFromArray( array $array ) {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
         */
        public function testNewMutableRevisionFromArray( array $array ) {
                $store = MediaWikiServices::getInstance()->getRevisionStore();
index e9f376c..db85727 100644 (file)
@@ -658,7 +658,7 @@ class RevisionStoreRecordTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideUserCanBitfield
 
        /**
         * @dataProvider provideUserCanBitfield
-        * @covers RevisionRecord::userCanBitfield
+        * @covers \MediaWiki\Storage\RevisionRecord::userCanBitfield
         */
        public function testUserCanBitfield( $bitField, $field, $userGroups, $title, $expected ) {
                $this->forceStandardPermissions();
         */
        public function testUserCanBitfield( $bitField, $field, $userGroups, $title, $expected ) {
                $this->forceStandardPermissions();
@@ -744,7 +744,7 @@ class RevisionStoreRecordTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideHasSameContent
 
        /**
         * @dataProvider provideHasSameContent
-        * @covers RevisionRecord::hasSameContent
+        * @covers \MediaWiki\Storage\RevisionRecord::hasSameContent
         * @group Database
         */
        public function testHasSameContent(
         * @group Database
         */
        public function testHasSameContent(
@@ -802,7 +802,7 @@ class RevisionStoreRecordTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideIsDeleted
 
        /**
         * @dataProvider provideIsDeleted
-        * @covers RevisionRecord::isDeleted
+        * @covers \MediaWiki\Storage\RevisionRecord::isDeleted
         */
        public function testIsDeleted( $revDeleted, $assertionMap ) {
                $rev = $this->newRevision( [ 'rev_deleted' => $revDeleted ] );
         */
        public function testIsDeleted( $revDeleted, $assertionMap ) {
                $rev = $this->newRevision( [ 'rev_deleted' => $revDeleted ] );
index 12d8119..b6af2b4 100644 (file)
@@ -37,8 +37,8 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers SqlBlobStore::getCompressBlobs()
-        * @covers SqlBlobStore::setCompressBlobs()
+        * @covers \MediaWiki\Storage\SqlBlobStore::getCompressBlobs()
+        * @covers \MediaWiki\Storage\SqlBlobStore::setCompressBlobs()
         */
        public function testGetSetCompressRevisions() {
                $store = $this->getBlobStore();
         */
        public function testGetSetCompressRevisions() {
                $store = $this->getBlobStore();
@@ -48,9 +48,9 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers SqlBlobStore::getLegacyEncoding()
-        * @covers SqlBlobStore::getLegacyEncodingConversionLang()
-        * @covers SqlBlobStore::setLegacyEncoding()
+        * @covers \MediaWiki\Storage\SqlBlobStore::getLegacyEncoding()
+        * @covers \MediaWiki\Storage\SqlBlobStore::getLegacyEncodingConversionLang()
+        * @covers \MediaWiki\Storage\SqlBlobStore::setLegacyEncoding()
         */
        public function testGetSetLegacyEncoding() {
                $store = $this->getBlobStore();
         */
        public function testGetSetLegacyEncoding() {
                $store = $this->getBlobStore();
@@ -63,8 +63,8 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers SqlBlobStore::getCacheExpiry()
-        * @covers SqlBlobStore::setCacheExpiry()
+        * @covers \MediaWiki\Storage\SqlBlobStore::getCacheExpiry()
+        * @covers \MediaWiki\Storage\SqlBlobStore::setCacheExpiry()
         */
        public function testGetSetCacheExpiry() {
                $store = $this->getBlobStore();
         */
        public function testGetSetCacheExpiry() {
                $store = $this->getBlobStore();
@@ -74,8 +74,8 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers SqlBlobStore::getUseExternalStore()
-        * @covers SqlBlobStore::setUseExternalStore()
+        * @covers \MediaWiki\Storage\SqlBlobStore::getUseExternalStore()
+        * @covers \MediaWiki\Storage\SqlBlobStore::setUseExternalStore()
         */
        public function testGetSetUseExternalStore() {
                $store = $this->getBlobStore();
         */
        public function testGetSetUseExternalStore() {
                $store = $this->getBlobStore();
@@ -138,7 +138,7 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideDecompress
 
        /**
         * @dataProvider provideDecompress
-        * @covers SqlBlobStore::decompressData
+        * @covers \MediaWiki\Storage\SqlBlobStore::decompressData
         *
         * @param string|bool $legacyEncoding
         * @param mixed $data
         *
         * @param string|bool $legacyEncoding
         * @param mixed $data
@@ -154,7 +154,7 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers SqlBlobStore::compressData
+        * @covers \MediaWiki\Storage\SqlBlobStore::compressData
         */
        public function testCompressRevisionTextUtf8() {
                $store = $this->getBlobStore();
         */
        public function testCompressRevisionTextUtf8() {
                $store = $this->getBlobStore();
@@ -170,7 +170,7 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
        }
 
        /**
        }
 
        /**
-        * @covers SqlBlobStore::compressData
+        * @covers \MediaWiki\Storage\SqlBlobStore::compressData
         */
        public function testCompressRevisionTextUtf8Gzip() {
                $store = $this->getBlobStore( false, true );
         */
        public function testCompressRevisionTextUtf8Gzip() {
                $store = $this->getBlobStore( false, true );
@@ -194,8 +194,8 @@ class SqlBlobStoreTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideBlobs
 
        /**
         * @dataProvider provideBlobs
-        * @covers SqlBlobStore::storeBlob
-        * @covers SqlBlobStore::getBlob
+        * @covers \MediaWiki\Storage\SqlBlobStore::storeBlob
+        * @covers \MediaWiki\Storage\SqlBlobStore::getBlob
         */
        public function testSimpleStoreGetBlobSimpleRoundtrip( $blob ) {
                $store = $this->getBlobStore();
         */
        public function testSimpleStoreGetBlobSimpleRoundtrip( $blob ) {
                $store = $this->getBlobStore();