MediaWiki  REL1_22
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.
 testCurrentStubGzip ()
 testCurrentStubPlain ()
 testFullStubPlain ()
 testFullTextPlain ()
 testXmlDumpsBackupUseCase ()

Public Attributes

 $pageId2
 $pageId3
 $pageId4
 $pageId5
 $pageTitle2
 $pageTitle3
 $pageTitle4
 $pageTitle5
 $revId2_2
 $revId2_4
 $revId3_2
 $talk_namespace
 $textId1_1
 $textId2_1
 $textId2_2
 $textId2_3
 $textId2_4
 $textId3_1
 $textId3_2
 $textId4_1

Protected Member Functions

 setUp ()
 Default set up function.

Private Attributes

 $namespace
 $pageId1
 $pageTitle1
 $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 21 of file backup_PageTest.php.

References DumpTestCase\addRevision(), array(), WikiPage\factory(), Language\factory(), list, Title\newFromText(), and MediaWikiTestCase\setMwGlobals().

BackupDumperPageTest::setUp ( ) [protected]

Default set up function.

Clears $wgUser, and reports errors from addDBData to PHPUnit

Reimplemented from DumpTestCase.

Definition at line 84 of file backup_PageTest.php.

References array().


Member Data Documentation

BackupDumperPageTest::$namespace [private]

Definition at line 19 of file backup_PageTest.php.

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::$pageTitle1 [private]

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$pageTitle2

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$pageTitle3

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$pageTitle4

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$pageTitle5

Definition at line 13 of file backup_PageTest.php.

BackupDumperPageTest::$revId1_1 [private]

Definition at line 14 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_1 [private]

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_2

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_3 [private]

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$revId2_4

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$revId3_1 [private]

Definition at line 17 of file backup_PageTest.php.

BackupDumperPageTest::$revId3_2

Definition at line 17 of file backup_PageTest.php.

BackupDumperPageTest::$revId4_1 [private]

Definition at line 18 of file backup_PageTest.php.

BackupDumperPageTest::$talk_namespace

Definition at line 19 of file backup_PageTest.php.

BackupDumperPageTest::$textId1_1

Definition at line 14 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_1

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_2

Definition at line 15 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_3

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$textId2_4

Definition at line 16 of file backup_PageTest.php.

BackupDumperPageTest::$textId3_1

Definition at line 17 of file backup_PageTest.php.

BackupDumperPageTest::$textId3_2

Definition at line 17 of file backup_PageTest.php.

BackupDumperPageTest::$textId4_1

Definition at line 18 of file backup_PageTest.php.


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