From 41c0c205ae658756f4e64fc6fda42a3c243746f8 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Wed, 14 Oct 2015 09:03:15 +0200 Subject: [PATCH] Move comment in backup_PageTest.php Move the comment at the begin of the function out of it to a doc comment. Change-Id: I6febf51a74de88204d54b1e3251df187197c1819 --- tests/phpunit/maintenance/backup_PageTest.php | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/tests/phpunit/maintenance/backup_PageTest.php b/tests/phpunit/maintenance/backup_PageTest.php index 0cb0cdb65d..8b6221ba92 100644 --- a/tests/phpunit/maintenance/backup_PageTest.php +++ b/tests/phpunit/maintenance/backup_PageTest.php @@ -288,17 +288,18 @@ class BackupDumperPageTest extends DumpTestCase { $this->assertDumpEnd(); } + /** + * xmldumps-backup typically performs a single dump that that writes + * out three files + * - gzipped stubs of everything (meta-history) + * - gzipped stubs of latest revisions of all pages (meta-current) + * - gzipped stubs of latest revisions of all pages of namespage 0 + * (articles) + * + * We reproduce such a setup with our mini fixture, although we omit + * chunks, and all the other gimmicks of xmldumps-backup. + */ function testXmlDumpsBackupUseCase() { - // xmldumps-backup typically performs a single dump that that writes - // out three files - // * gzipped stubs of everything (meta-history) - // * gzipped stubs of latest revisions of all pages (meta-current) - // * gzipped stubs of latest revisions of all pages of namespage 0 - // (articles) - // - // We reproduce such a setup with our mini fixture, although we omit - // chunks, and all the other gimmicks of xmldumps-backup. - // $this->checkHasGzip(); $fnameMetaHistory = $this->getNewTempFile(); -- 2.20.1