MediaWiki  REL1_20
BackupDumperPageTest Class Reference

Tests for page dumps of BackupDumper. More...

Inheritance diagram for BackupDumperPageTest:
Collaboration diagram for BackupDumperPageTest:

List of all members.

Public Member Functions

 addDBData ()
 Stub.
 setUp ()
 Default set up function.
 testCurrentStubGzip ()
 testCurrentStubPlain ()
 testFullStubPlain ()
 testFullTextPlain ()
 testXmlDumpsBackupUseCase ()

Public Attributes

 $pageId2
 $pageId3
 $pageId4
 $pageId5
 $revId2_2
 $revId2_4
 $revId3_2
 $textId1_1
 $textId2_1
 $textId2_2
 $textId2_3
 $textId2_4
 $textId3_1
 $textId3_2
 $textId4_1

Private Attributes

 $pageId1
 $revId1_1
 $revId2_1
 $revId2_3
 $revId3_1
 $revId4_1

Detailed Description

Tests for page dumps of BackupDumper.

Database Dump

Definition at line 8 of file backup_PageTest.php.


Member Function Documentation

Stub.

If a test needs to add additional data to the database, it should implement this method and do so

Reimplemented from MediaWikiTestCase.

Definition at line 19 of file backup_PageTest.php.

References $page, $title, DumpTestCase\addRevision(), WikiPage\factory(), and Title\newFromText().

Default set up function.

Clears $wgUser, and reports errors from addDBData to PHPUnit

Reimplemented from DumpTestCase.

Definition at line 68 of file backup_PageTest.php.


Member Data Documentation

BackupDumperPageTest::$pageId1 [private]

Definition at line 12 of file backup_PageTest.php.

BackupDumperPageTest::$pageId2

Definition at line 12 of file backup_PageTest.php.

BackupDumperPageTest::$pageId3

Definition at line 12 of file backup_PageTest.php.

BackupDumperPageTest::$pageId4

Definition at line 12 of file backup_PageTest.php.

BackupDumperPageTest::$pageId5

Definition at line 12 of file backup_PageTest.php.

BackupDumperPageTest::$revId1_1 [private]

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_1 [private]

Definition at line 14 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_2

Definition at line 14 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_3 [private]

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_4

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$revId3_1 [private]

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$revId3_2

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$revId4_1 [private]

Definition at line 17 of file backup_PageTest.php.

BackupDumperPageTest::$textId1_1

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_1

Definition at line 14 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_2

Definition at line 14 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_3

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_4

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$textId3_1

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$textId3_2

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$textId4_1

Definition at line 17 of file backup_PageTest.php.


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