MediaWiki  master
PageArchivePreMcrTest Class Reference

Test class for page archiving, using the pre-MCR schema. More...

Inheritance diagram for PageArchivePreMcrTest:
Collaboration diagram for PageArchivePreMcrTest:

Protected Member Functions

 getExpectedArchiveRows ()
 
- Protected Member Functions inherited from PageArchiveTestBase
 addCoreDBData ()
 
 getContentHandlerUseDB ()
 
 getExpectedArchiveRows ()
 
 getMcrMigrationStage ()
 
 getMcrTablesToReset ()
 
 setUp ()
 

Additional Inherited Members

- Public Member Functions inherited from PageArchiveTestBase
 __construct ( $name=null, array $data=[], $dataName='')
 
 provideGetTextFromRowThrowsInvalidArgumentException ()
 
 testGetArchivedRevision ()
 PageArchive::getRevision. More...
 
 testGetLastRevisionId ()
 PageArchive::getLastRevisionId. More...
 
 testGetPreviousRevision ()
 PageArchive::getPreviousRevision. More...
 
 testGetRevision ()
 PageArchive::getRevision. More...
 
 testIsDeleted ()
 PageArchive::isDeleted. More...
 
 testListPagesByPrefix ()
 PageArchive::listPagesBySearch. More...
 
 testListPagesBySearch ()
 PageArchive::listPagesBySearch. More...
 
 testListRevisions ()
 PageArchive::listRevisions. More...
 
 testUndeleteRevisions ()
 PageArchive::undelete PageArchive::undeleteRevisions. More...
 
- Protected Attributes inherited from PageArchiveTestBase
 $archivedPage
 
RevisionRecord $firstRev
 Revision of the first (initial) edit. More...
 
 $ipEditor
 A logged out user who edited the page before it was archived. More...
 
RevisionRecord $ipRev
 Revision of the IP edit (the second edit) More...
 
int $pageId
 

Detailed Description

Test class for page archiving, using the pre-MCR schema.

ContentHandler Database ^— important, causes temporary tables to be used instead of the real database

medium ^— important, causes tests not to fail with timeout

Definition at line 18 of file PageArchivePreMcrTest.php.

Member Function Documentation

◆ getExpectedArchiveRows()

PageArchivePreMcrTest::getExpectedArchiveRows ( )
protected

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