MediaWiki  1.27.3
parserTest.inc File Reference

Helper code for the MediaWiki parser test suite. More...

Go to the source code of this file.

Classes

class  ParserTest
 

Detailed Description

Helper code for the MediaWiki parser test suite.

Some code is duplicated in PHPUnit's NewParserTests.php, so you'll probably want to update both at the same time.

Copyright © 2004, 2010 Brion Vibber brion.nosp@m.@pob.nosp@m.ox.co.nosp@m.m https://www.mediawiki.org/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Todo:

Make this more independent of the configuration (and if possible the database)

document

Definition in file parserTest.inc.