r69864 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69863‎ | r69864 | r69865 >
Date:08:34, 25 July 2010
Author:aaron
Status:ok
Tags:
Comment:
Fixed title cases
Modified paths:
  • /trunk/extensions/FlaggedRevs/maintenance/tests/FRInclusionManagerTest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/maintenance/tests/FRInclusionManagerTest.php
@@ -6,49 +6,49 @@
77 /* starting input */
88 protected static $inputTemplates = array(
99 10 => array('XX' => '1242', 'YY' => '0'),
10 - 4 => array('cite' => '30', 'moo' => 0),
 10+ 4 => array('Cite' => '30', 'Moo' => 0),
1111 0 => array('ZZ' => 464, '0' => 13)
1212 );
1313 protected static $inputFiles = array(
14 - 'fXX' => array('ts' => '20100405192110', 'sha1' => 'abc1'),
15 - 'fYY' => array('ts' => '20000403101300', 'sha1' => 'ffc2'),
16 - 'fZZ' => array('ts' => '0', 'sha1' => ''),
17 - 'fle' => array('ts' => 0, 'sha1' => ''),
18 - '0' => array('ts' => '20000203101350', 'sha1' => 'ae33'),
 14+ 'FileXX' => array('ts' => '20100405192110', 'sha1' => 'abc1'),
 15+ 'FileYY' => array('ts' => '20000403101300', 'sha1' => 'ffc2'),
 16+ 'FileZZ' => array('ts' => '0', 'sha1' => ''),
 17+ 'Filele' => array('ts' => 0, 'sha1' => ''),
 18+ '0' => array('ts' => '20000203101350', 'sha1' => 'ae33'),
1919 );
2020 /* output to test against (test# => <NS,dbkey,expected rev ID>) */
2121 protected static $reviewedOutputTemplates = array(
2222 0 => array( 10, 'XX', 1242 ),
2323 1 => array( 10, 'YY', 0 ),
24 - 2 => array( 4, 'cite', 30 ),
25 - 3 => array( 4, 'moo', 0 ),
 24+ 2 => array( 4, 'Cite', 30 ),
 25+ 3 => array( 4, 'Moo', 0 ),
2626 4 => array( 0, 'ZZ', 464 ),
27 - 5 => array( 0, 'notexists', null ),
 27+ 5 => array( 0, 'Notexists', null ),
2828 6 => array( 0, '0', 13 ),
2929 );
3030 protected static $stableOutputTemplates = array(
3131 0 => array( 10, 'XX', 1242 ),
3232 1 => array( 10, 'YY', 0 ),
33 - 2 => array( 4, 'cite', 30 ),
34 - 3 => array( 4, 'moo', 0 ),
 33+ 2 => array( 4, 'Cite', 30 ),
 34+ 3 => array( 4, 'Moo', 0 ),
3535 4 => array( 0, 'ZZ', 464 ),
36 - 5 => array( 0, 'notexists', 0 ),
 36+ 5 => array( 0, 'NotexistsPage1111', 0 ),
3737 6 => array( 0, '0', 13 ),
3838 );
3939 /* output to test against (test# => <dbkey,expected TS,expected sha1>) */
4040 protected static $reviewedOutputFiles = array(
41 - 0 => array( 'fXX', '20100405192110', 'abc1'),
42 - 1 => array( 'fYY', '20000403101300', 'ffc2'),
43 - 2 => array( 'fZZ', '0', ''),
44 - 3 => array( 'fle', '0', ''),
45 - 4 => array( 'notgiven', null, null),
 41+ 0 => array( 'FileXX', '20100405192110', 'abc1'),
 42+ 1 => array( 'FileYY', '20000403101300', 'ffc2'),
 43+ 2 => array( 'FileZZ', '0', ''),
 44+ 3 => array( 'Filele', '0', ''),
 45+ 4 => array( 'Notgiven', null, null),
4646 );
4747 protected static $stableOutputFiles = array(
48 - 0 => array( 'fXX', '20100405192110', 'abc1'),
49 - 1 => array( 'fYY', '20000403101300', 'ffc2'),
50 - 2 => array( 'fZZ', '0', ''),
51 - 3 => array( 'fle', '0', ''),
52 - 4 => array( 'notgiven', '0', ''),
 48+ 0 => array( 'FileXX', '20100405192110', 'abc1'),
 49+ 1 => array( 'FileYY', '20000403101300', 'ffc2'),
 50+ 2 => array( 'FileZZ', '0', ''),
 51+ 3 => array( 'Filele', '0', ''),
 52+ 4 => array( 'NotexistsPage1111', '0', ''),
5353 );
5454
5555 /**

Status & tagging log