Move some providers in new MediaWikiProvide class
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 6 Feb 2011 21:28:57 +0000 (21:28 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 6 Feb 2011 21:28:57 +0000 (21:28 +0000)
commit7675773aa9e78cbd3084f2ed2cbea58440922e27
tree26a6a2396143e81cea028cc80650871818a35640
parentbd729acf7f05462ae4f82b7d9b37e940c24ee065
Move some providers in new MediaWikiProvide class

The MediaWikiProvide class would host providing methods reused in different
tests classes.  To use it, just use the Class::function syntax.

Example:
  /** @dataProvider MediaWikiProvide::Months */

Made a svn copy of phpunit/includes/parser/MagicVariableTest.php
to save the history.
tests/TestsAutoLoader.php
tests/phpunit/includes/Providers.php [new file with mode: 0644]
tests/phpunit/includes/parser/MagicVariableTest.php