r88398 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88397‎ | r88398 | r88399 >
Date:00:15, 19 May 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix somewhat duplicated class names in fuzz-tester.php
Modified paths:
  • /trunk/phase3/maintenance/fuzz-tester.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/fuzz-tester.php
@@ -1403,7 +1403,7 @@
14041404 /**
14051405 ** a page test for "Special:Newpages".
14061406 */
1407 -class specialNewpages extends pageTest {
 1407+class specialNewpagesPageTest extends pageTest {
14081408 function __construct() {
14091409 $this->pagePath = "index.php?title=Special:Newpages";
14101410
@@ -1531,7 +1531,7 @@
15321532 /**
15331533 ** a page test for "Special:Undelete"
15341534 */
1535 -class specialUndelete extends pageTest {
 1535+class specialUndeletePageTest extends pageTest {
15361536 function __construct() {
15371537 $this->pagePath = "index.php?title=Special:Undelete";
15381538
@@ -1558,7 +1558,7 @@
15591559 /**
15601560 ** a page test for "Special:Unlockdb"
15611561 */
1562 -class specialUnlockdb extends pageTest {
 1562+class specialUnlockdbPageTest extends pageTest {
15631563 function __construct() {
15641564 $this->pagePath = "index.php?title=Special:Unlockdb";
15651565
@@ -1579,7 +1579,7 @@
15801580 /**
15811581 ** a page test for "Special:Lockdb"
15821582 */
1583 -class specialLockdb extends pageTest {
 1583+class specialLockdbPageTest extends pageTest {
15841584 function __construct() {
15851585 $this->pagePath = "index.php?title=Special:Lockdb";
15861586
@@ -1732,7 +1732,7 @@
17331733 /**
17341734 ** a test for Revision Deletion.
17351735 */
1736 -class specialRevisionDelete extends pageTest {
 1736+class specialRevisionDeletePageTest extends pageTest {
17371737 function __construct() {
17381738 $this->pagePath = "index.php?title=Special:Revisiondelete";
17391739
@@ -1763,7 +1763,7 @@
17641764 /**
17651765 ** a test for Special:Import.
17661766 */
1767 -class specialImport extends pageTest {
 1767+class specialImportPageTest extends pageTest {
17681768 function __construct() {
17691769 $this->pagePath = "index.php?title=Special:Import";
17701770
@@ -1861,7 +1861,7 @@
18621862 /**
18631863 ** a test for Special:Cite (extension Special page).
18641864 */
1865 -class specialCite extends pageTest {
 1865+class specialCitePageTest extends pageTest {
18661866 function __construct() {
18671867 $this->pagePath = "index.php?title=Special:Cite";
18681868
@@ -1880,7 +1880,7 @@
18811881 /**
18821882 ** a test for Special:Filepath (extension Special page).
18831883 */
1884 -class specialFilepath extends pageTest {
 1884+class specialFilepathPageTest extends pageTest {
18851885 function __construct() {
18861886 $this->pagePath = "index.php?title=Special:Filepath";
18871887
@@ -1940,7 +1940,7 @@
19411941 /**
19421942 ** a test for Special:Renameuser (extension Special page).
19431943 */
1944 -class specialRenameuser extends pageTest {
 1944+class specialRenameuserPageTest extends pageTest {
19451945 function __construct() {
19461946 $this->pagePath = "index.php?title=Special:Renameuser";
19471947
@@ -2257,31 +2257,31 @@
22582258 case 15: return new contributionsTest();
22592259 case 16: return new viewPageTest();
22602260 case 17: return new specialAllmessagesTest();
2261 - case 18: return new specialNewpages();
 2261+ case 18: return new specialNewpagesPageTest();
22622262 case 19: return new searchTest();
22632263 case 20: return new redirectTest();
22642264 case 21: return new confirmEmail();
22652265 case 22: return new watchlistTest();
22662266 case 23: return new specialBlockmeTest();
2267 - case 24: return new specialUndelete();
 2267+ case 24: return new specialUndeletePageTest();
22682268 case 25: return new specialMovePage();
2269 - case 26: return new specialUnlockdb();
2270 - case 27: return new specialLockdb();
 2269+ case 26: return new specialUnlockdbPageTest();
 2270+ case 27: return new specialLockdbPageTest();
22712271 case 28: return new specialUserrights();
22722272 case 29: return new pageProtectionForm();
22732273 case 30: return new specialBlockip();
22742274 case 31: return new imagepageTest();
22752275 case 32: return new pageDeletion();
2276 - case 33: return new specialRevisionDelete();
2277 - case 34: return new specialImport();
 2276+ case 33: return new specialRevisionDeletePageTest();
 2277+ case 34: return new specialImportPageTest();
22782278 case 35: return new thumbTest();
22792279 case 36: return new trackbackTest();
22802280 case 37: return new profileInfo();
2281 - case 38: return new specialCite();
2282 - case 39: return new specialFilepath();
 2281+ case 38: return new specialCitePageTest();
 2282+ case 39: return new specialFilepathPageTest();
22832283 case 40: return new specialMakebot();
22842284 case 41: return new specialMakesysop();
2285 - case 42: return new specialRenameuser();
 2285+ case 42: return new specialRenameuserPageTest();
22862286 case 43: return new specialLinksearch();
22872287 case 44: return new specialCategoryTree();
22882288 case 45: return new api();

Status & tagging log