wiki.techinc.nl/tests/phpunit/includes
Antoine Musso dfaf583d83 tests: mock parser tests file access
I eventually got tired of our parser tests creating and deleting fixture
files over and over.  This patch mock the files in memory and just
expose the file metadata which is all we need for parser tests.

The mocked classes are under /tests/phpunit/mocks/ and respect the
hierarchy of /includes/.

The wiki.png and headbg.jpg files are still copied on each test :/

Change-Id: Iccdff67222e66d48d01dd1596d09df2ea24b8c2a
2013-05-10 10:16:55 -07:00
..
api Merge "Change EXIF to Exif" 2013-05-10 12:55:45 +00:00
cache Update code formatting 2013-04-26 14:21:20 +00:00
content Update code formatting 2013-04-26 14:21:20 +00:00
db Fixed spacing 2013-05-09 19:48:10 +02:00
debug Update formatting 2013-02-14 14:10:38 +01:00
filebackend [FileBackend] Added "adviseStat" option for the "listing followed by stat" case. 2013-05-09 16:19:40 +00:00
filerepo Update code formatting 2013-04-26 14:21:20 +00:00
GlobalFunctions Update code formatting 2013-04-26 14:21:20 +00:00
installer Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
jobqueue Update code formatting 2013-04-26 14:21:20 +00:00
json Update code formatting 2013-04-26 14:21:20 +00:00
libs Update code formatting 2013-04-26 14:21:20 +00:00
logging Update formatting 2013-02-15 12:35:50 +00:00
media Update code formatting 2013-04-26 14:21:20 +00:00
normal test: ignore code coverage for CleanUpTest 2013-03-26 12:54:03 +01:00
objectcache Update code formatting 2013-04-26 14:21:20 +00:00
parser tests: mock parser tests file access 2013-05-10 10:16:55 -07:00
search Update code formatting 2013-04-26 14:21:20 +00:00
site Update code formatting 2013-04-26 14:21:20 +00:00
specials Update code formatting 2013-04-26 14:21:20 +00:00
upload Update code formatting 2013-04-26 14:21:20 +00:00
ArticleTablesTest.php Update code formatting 2013-04-26 14:21:20 +00:00
ArticleTest.php Update formatting 2013-02-14 12:22:13 +01:00
BlockTest.php Update code formatting 2013-04-26 14:21:20 +00:00
CdbTest.php Update code formatting 2013-04-26 14:21:20 +00:00
CollationTest.php Update code formatting 2013-04-26 14:21:20 +00:00
DiffHistoryBlobTest.php Update code formatting 2013-04-26 14:21:20 +00:00
EditPageTest.php Merge "Fix more UnitTests for databases that do not use integer timestamps" 2013-03-08 22:54:28 +00:00
ExternalStoreTest.php pass codesniffer on tests/ 2013-01-28 12:14:26 +01:00
ExtraParserTest.php Revert "Misc follow-ups to I2fc3966e (a161c5e)" 2013-03-22 21:24:58 +00:00
FauxResponseTest.php tests: always call parent setUp 2012-10-23 19:04:40 +02:00
FormOptionsInitializationTest.php Update code formatting 2013-04-26 14:21:20 +00:00
FormOptionsTest.php Update formatting 2013-02-14 12:22:13 +01:00
HooksTest.php Update code formatting 2013-04-26 14:21:20 +00:00
HtmlTest.php Update code formatting 2013-04-26 14:21:20 +00:00
HttpTest.php Update code formatting 2013-04-26 14:21:20 +00:00
IPTest.php Update formatting 2013-02-14 12:22:13 +01:00
LanguageConverterTest.php Update code formatting 2013-04-26 14:21:20 +00:00
LicensesTest.php Update formatting 2013-02-14 12:22:13 +01:00
LinkerTest.php Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
LinksUpdateTest.php Update code formatting 2013-04-26 14:21:20 +00:00
LocalFileTest.php Update formatting 2013-02-14 12:22:13 +01:00
LocalisationCacheTest.php Updated plural rules from CLDR 22 2012-09-17 16:59:29 +00:00
MessageTest.php MessageTest: Split test and use setMwGlobals 2013-03-21 20:05:39 +01:00
MWFunctionTest.php Update code formatting 2013-04-26 14:21:20 +00:00
MWNamespaceTest.php Update code formatting 2013-04-26 14:21:20 +00:00
OutputPageTest.php Update formatting 2013-02-14 12:22:13 +01:00
PathRouterTest.php Update code formatting 2013-04-26 14:21:20 +00:00
PreferencesTest.php Update code formatting 2013-04-26 14:21:20 +00:00
Providers.php Update code formatting 2013-04-26 14:21:20 +00:00
RecentChangeTest.php Update code formatting 2013-04-26 14:21:20 +00:00
RequestContextTest.php Merge "Added space after switch/Removed spaces after unset" 2013-04-26 15:01:41 +00:00
ResourceLoaderTest.php Update code formatting 2013-04-26 14:21:20 +00:00
RevisionStorageTest.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
RevisionStorageTest_ContentHandlerUseDB.php Update code formatting 2013-04-26 14:21:20 +00:00
RevisionTest.php Update code formatting 2013-04-26 14:21:20 +00:00
SampleTest.php Update formatting 2013-02-14 12:36:35 +01:00
SanitizerTest.php Update code formatting 2013-04-26 14:21:20 +00:00
SanitizerValidateEmailTest.php Update formatting 2013-02-14 12:36:35 +01:00
SeleniumConfigurationTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
SiteConfigurationTest.php Update code formatting 2013-04-26 14:21:20 +00:00
StringUtilsTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TemplateCategoriesTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TestUser.php Update code formatting 2013-04-26 14:21:20 +00:00
TimeAdjustTest.php TimeAdjustTest: Use dataProvider 2013-03-23 11:17:02 +00:00
TimestampTest.php Merge "Fix TimestampTest broken by 7e3386d4" 2013-04-26 15:05:20 +00:00
TitleMethodsTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TitlePermissionTest.php Update code formatting 2013-04-26 14:21:20 +00:00
TitleTest.php Update code formatting 2013-04-26 14:21:20 +00:00
UIDGeneratorTest.php Added UIDGenerator class for getting statistically unique IDs. 2013-02-07 17:38:12 +00:00
UserTest.php Update formatting 2013-02-14 12:36:35 +01:00
WebRequestTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
WikiPageTest.php Update code formatting 2013-04-26 14:21:20 +00:00
WikiPageTest_ContentHandlerUseDB.php Update code formatting 2013-04-26 14:21:20 +00:00
XmlJsTest.php Extend MediaWikiTestCase in a few places 2011-05-25 00:30:06 +00:00
XmlSelectTest.php Update formatting 2013-02-14 12:56:23 +01:00
XmlTest.php Update formatting 2013-02-14 12:56:23 +01:00
ZipDirectoryReaderTest.php Update formatting 2013-02-14 12:56:23 +01:00