Index: trunk/extensions/FlaggedRevs/maintenance/tests/FRInclusionManagerTest.php |
— | — | @@ -6,49 +6,49 @@ |
7 | 7 | /* starting input */ |
8 | 8 | protected static $inputTemplates = array( |
9 | 9 | 10 => array('XX' => '1242', 'YY' => '0'), |
10 | | - 4 => array('cite' => '30', 'moo' => 0), |
| 10 | + 4 => array('Cite' => '30', 'Moo' => 0), |
11 | 11 | 0 => array('ZZ' => 464, '0' => 13) |
12 | 12 | ); |
13 | 13 | 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'), |
19 | 19 | ); |
20 | 20 | /* output to test against (test# => <NS,dbkey,expected rev ID>) */ |
21 | 21 | protected static $reviewedOutputTemplates = array( |
22 | 22 | 0 => array( 10, 'XX', 1242 ), |
23 | 23 | 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 ), |
26 | 26 | 4 => array( 0, 'ZZ', 464 ), |
27 | | - 5 => array( 0, 'notexists', null ), |
| 27 | + 5 => array( 0, 'Notexists', null ), |
28 | 28 | 6 => array( 0, '0', 13 ), |
29 | 29 | ); |
30 | 30 | protected static $stableOutputTemplates = array( |
31 | 31 | 0 => array( 10, 'XX', 1242 ), |
32 | 32 | 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 ), |
35 | 35 | 4 => array( 0, 'ZZ', 464 ), |
36 | | - 5 => array( 0, 'notexists', 0 ), |
| 36 | + 5 => array( 0, 'NotexistsPage1111', 0 ), |
37 | 37 | 6 => array( 0, '0', 13 ), |
38 | 38 | ); |
39 | 39 | /* output to test against (test# => <dbkey,expected TS,expected sha1>) */ |
40 | 40 | 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), |
46 | 46 | ); |
47 | 47 | 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', ''), |
53 | 53 | ); |
54 | 54 | |
55 | 55 | /** |