MediaWiki REL1_31
|
Classes | |
class | BlobStoreFactoryTest |
\MediaWiki\Storage\BlobStoreFactory More... | |
class | MutableRevisionRecordTest |
\MediaWiki\Storage\MutableRevisionRecord \MediaWiki\Storage\RevisionRecord More... | |
class | MutableRevisionSlotsTest |
\MediaWiki\Storage\MutableRevisionSlots More... | |
class | NameTableStoreTest |
class | RevisionArchiveRecordTest |
\MediaWiki\Storage\RevisionArchiveRecord \MediaWiki\Storage\RevisionRecord More... | |
class | RevisionSlotsTest |
class | RevisionStoreDbTest |
Database. More... | |
class | RevisionStoreRecordTest |
\MediaWiki\Storage\RevisionStoreRecord \MediaWiki\Storage\RevisionRecord More... | |
class | RevisionStoreTest |
class | SlotRecordTest |
\MediaWiki\Storage\SlotRecord More... | |
class | SqlBlobStoreTest |
\MediaWiki\Storage\SqlBlobStore Database More... | |
Functions | |
forceStandardPermissions () | |
provideAudienceCheckData ( $field) | |
provideGetComment_audience () | |
provideGetSlot_audience () | |
provideGetUser_audience () | |
provideHasSameContent () | |
provideIsDeleted () | |
provideUserCanBitfield () | |
testGetComment_audience ( $visibility, $groups, $userCan, $publicCan) | |
provideGetComment_audience | |
testGetContent () | |
testGetContent_audience ( $visibility, $groups, $userCan, $publicCan) | |
provideGetSlot_audience | |
testGetSlot () | |
testGetSlot_audience ( $visibility, $groups, $userCan, $publicCan) | |
provideGetSlot_audience | |
testGetUser_audience ( $visibility, $groups, $userCan, $publicCan) | |
provideGetUser_audience | |
testHasSameContent ( $expected, RevisionRecord $record1, RevisionRecord $record2) | |
provideHasSameContent \MediaWiki\Storage\RevisionRecord::hasSameContent Database | |
testHasSlot () | |
testIsDeleted ( $revDeleted, $assertionMap) | |
provideIsDeleted \MediaWiki\Storage\RevisionRecord::isDeleted | |
testSerialization_fails () | |
testUserCanBitfield ( $bitField, $field, $userGroups, $title, $expected) | |
provideUserCanBitfield \MediaWiki\Storage\RevisionRecord::userCanBitfield | |
Variables | |
trait | RevisionRecordTests |
\MediaWiki\Storage\RevisionRecord | |
|
private |
Definition at line 103 of file RevisionRecordTests.php.
Referenced by MediaWiki\Tests\Storage\testGetComment_audience(), MediaWiki\Tests\Storage\testGetContent_audience(), MediaWiki\Tests\Storage\testGetSlot_audience(), MediaWiki\Tests\Storage\RevisionStoreRecordTest\testGetSlot_audience_latest(), MediaWiki\Tests\Storage\testGetUser_audience(), and MediaWiki\Tests\Storage\testUserCanBitfield().
|
private |
Definition at line 33 of file RevisionRecordTests.php.
Referenced by MediaWiki\Tests\Storage\provideGetComment_audience(), MediaWiki\Tests\Storage\provideGetSlot_audience(), MediaWiki\Tests\Storage\RevisionStoreRecordTest\provideGetSlot_audience_latest(), and MediaWiki\Tests\Storage\provideGetUser_audience().
MediaWiki\Tests\Storage\provideGetComment_audience | ( | ) |
Definition at line 99 of file RevisionRecordTests.php.
References MediaWiki\Tests\Storage\provideAudienceCheckData().
MediaWiki\Tests\Storage\provideGetSlot_audience | ( | ) |
Definition at line 179 of file RevisionRecordTests.php.
References MediaWiki\Tests\Storage\provideAudienceCheckData().
MediaWiki\Tests\Storage\provideGetUser_audience | ( | ) |
Definition at line 152 of file RevisionRecordTests.php.
References MediaWiki\Tests\Storage\provideAudienceCheckData().
MediaWiki\Tests\Storage\provideHasSameContent | ( | ) |
Definition at line 376 of file RevisionRecordTests.php.
MediaWiki\Tests\Storage\provideIsDeleted | ( | ) |
Definition at line 459 of file RevisionRecordTests.php.
MediaWiki\Tests\Storage\provideUserCanBitfield | ( | ) |
Definition at line 275 of file RevisionRecordTests.php.
MediaWiki\Tests\Storage\testGetComment_audience | ( | $visibility, | |
$groups, | |||
$userCan, | |||
$publicCan ) |
provideGetComment_audience
Definition at line 132 of file RevisionRecordTests.php.
References $rev, and MediaWiki\Tests\Storage\forceStandardPermissions().
MediaWiki\Tests\Storage\testGetContent | ( | ) |
Definition at line 267 of file RevisionRecordTests.php.
References $rev, and CONTENT_MODEL_TEXT.
MediaWiki\Tests\Storage\testGetContent_audience | ( | $visibility, | |
$groups, | |||
$userCan, | |||
$publicCan ) |
provideGetSlot_audience
Definition at line 232 of file RevisionRecordTests.php.
References $rev, and MediaWiki\Tests\Storage\forceStandardPermissions().
MediaWiki\Tests\Storage\testGetSlot | ( | ) |
Definition at line 252 of file RevisionRecordTests.php.
References $rev.
MediaWiki\Tests\Storage\testGetSlot_audience | ( | $visibility, | |
$groups, | |||
$userCan, | |||
$publicCan ) |
provideGetSlot_audience
Definition at line 186 of file RevisionRecordTests.php.
References $rev, and MediaWiki\Tests\Storage\forceStandardPermissions().
MediaWiki\Tests\Storage\testGetUser_audience | ( | $visibility, | |
$groups, | |||
$userCan, | |||
$publicCan ) |
provideGetUser_audience
Definition at line 159 of file RevisionRecordTests.php.
References $rev, and MediaWiki\Tests\Storage\forceStandardPermissions().
MediaWiki\Tests\Storage\testHasSameContent | ( | $expected, | |
RevisionRecord | $record1, | ||
RevisionRecord | $record2 ) |
provideHasSameContent \MediaWiki\Storage\RevisionRecord::hasSameContent Database
Definition at line 448 of file RevisionRecordTests.php.
MediaWiki\Tests\Storage\testHasSlot | ( | ) |
Definition at line 260 of file RevisionRecordTests.php.
References $rev.
MediaWiki\Tests\Storage\testIsDeleted | ( | $revDeleted, | |
$assertionMap ) |
provideIsDeleted \MediaWiki\Storage\RevisionRecord::isDeleted
Definition at line 505 of file RevisionRecordTests.php.
References $rev.
MediaWiki\Tests\Storage\testSerialization_fails | ( | ) |
Definition at line 93 of file RevisionRecordTests.php.
References $rev, and serialize().
MediaWiki\Tests\Storage\testUserCanBitfield | ( | $bitField, | |
$field, | |||
$userGroups, | |||
$title, | |||
$expected ) |
provideUserCanBitfield \MediaWiki\Storage\RevisionRecord::userCanBitfield
Definition at line 365 of file RevisionRecordTests.php.
References MediaWiki\Tests\Storage\forceStandardPermissions().
trait MediaWiki::Tests::Storage\RevisionRecordTests |
\MediaWiki\Storage\RevisionRecord
Definition at line 24 of file RevisionRecordTests.php.