Add 'parsoid' option to parserTests.txt.
authorC. Scott Ananian <cscott@cscott.net>
Sat, 23 Feb 2013 04:26:08 +0000 (23:26 -0500)
committerSubramanya Sastry <ssastry@wikimedia.org>
Fri, 1 Mar 2013 00:42:37 +0000 (18:42 -0600)
commit2c56e3b08784578d5339bf258a7dead8d4f5d392
treeaf5481b2e5e77832294135db44876a0893fee73a
parenta89b44f83329c59967a4b4d972624828757be60e
Add 'parsoid' option to parserTests.txt.

Rather than overload the 'disabled' option, explicitly mark Parsoid-only
parser tests with "parsoid" in the options field.  These are disabled
by default when the PHP parser tests are run (but you could explicitly
enable them with --run-parsoid if you wished, in the same way that you
can enable other disabled tests with --run-disabled).

Document the 'php' option, which the PHP parser tests will ignore, but
will (in the future) be used to mark php-only tests which should be
ignored by the Parsoid parser.

Tweaked 'disabled' option to 'parsoid' for those tests which explicitly
call themselves parsoid-only.  I was conservative in this patch; if
the title of the test didn't explicitly mention Parsoid, I left the
test disabled rather than switch it to parsoid.

Change-Id: Id6c396f7966fcb21c1e54e222ab0c9f4e3a34dcc
tests/parser/parserTest.inc
tests/parser/parserTests.txt
tests/parserTests.php
tests/phpunit/includes/parser/NewParserTest.php
tests/testHelpers.inc