r104547 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104546‎ | r104547 | r104548 >
Date:10:22, 29 November 2011
Author:hashar
Status:ok
Tags:
Comment:
restore parser tests names

r100932 disabled two 'Bad images' tests but did so by also erasing the
test name. Hence we could no more tests them even with --run-disabled.


Test plan:
==========

$ php parserTests.php --run-disabled --filter 'Bad images'
--> output two tests failing as expected

$ php parserTests.php --filter 'Bad images'
--> output no tests found

$ php parserTests.php --quiet
--> ALL PASSED :-)
Modified paths:
  • /trunk/phase3/tests/parser/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/parser/parserTests.txt
@@ -8588,18 +8588,18 @@
85898589 !! end
85908590
85918591 !! test
 8592+Bad images - basic functionality
85928593 !! options
85938594 disabled
8594 -Bad images - basic functionality
85958595 !! input
85968596 [[File:Bad.jpg]]
85978597 !! result
85988598 !! end
85998599
86008600 !! test
 8601+Bad images - bug 16039: text after bad image disappears
86018602 !! options
86028603 disabled
8603 -Bad images - bug 16039: text after bad image disappears
86048604 !! input
86058605 Foo bar
86068606 [[File:Bad.jpg]]

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100932Disabled "bad image" tests which made totally broken assumptions about how/wh...aaron01:36, 27 October 2011

Status & tagging log