wiki.techinc.nl/tests/phpunit/includes/Storage
Tim Starling 5322107191 Reset services before every test
Trying to avoid resetting services introduces a lot of complexity and
several bugs. We were doing a reset for 70% of @group Database tests
anyway.

Instead:

* Reset services at the start of MediaWikiTestCase::run().
* Capture the actual original service container instead of making a
  special shared service container.
* The test-isolated local service container can now only be initialised
  non-statically. Revert the recent conversion of overrideMwServices()
  to static.
* Store a reference to the local service container in the test case
  object. In MediaWikiTestCase, always use the original or local service
  container directly, to avoid confusion about which one is active at
  the time.
* Remove a lot of unnecessary teardown
* Always call ServiceContainer::destroy() before forceGlobalInstance()
  since the memory is not otherwise freed.

Change-Id: I4a17c1c7ec92c14e3bc471f0216473ebe19477b9
2018-09-03 16:38:58 +00:00
..
BlobStoreFactoryTest.php Fix BlobStoreFactoryTest @covers tag 2018-01-08 12:03:35 +00:00
create-pre-mcr-fields.sql Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
DerivedPageDataUpdaterTest.php Avoid constructing Title objects in data providers 2018-09-03 16:36:49 +00:00
drop-mcr-tables.sql Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
drop-pre-mcr-fields.sql MCR RevisionStore, multi content mode.. 2018-06-14 17:30:33 +02:00
drop-pre-mcr-fields.sqlite.sql MCR RevisionStore, multi content mode.. 2018-06-14 17:30:33 +02:00
McrReadNewRevisionStoreDbTest.php Avoid joins when reading MCR revisions. 2018-08-23 16:57:50 -07:00
McrReadNewSchemaOverride.php Remove @override annotation 2018-08-07 10:15:53 +00:00
McrRevisionStoreDbTest.php Avoid joins when reading MCR revisions. 2018-08-23 16:57:50 -07:00
McrSchemaDetection.php Introduce per-schema unit tests for revision storage. 2018-06-07 13:31:16 +00:00
McrSchemaOverride.php MCR RevisionStore, multi content mode.. 2018-06-14 17:30:33 +02:00
McrWriteBothRevisionStoreDbTest.php Merge "Allow extra slots in write-both/read-new mode." 2018-07-06 17:53:55 +00:00
McrWriteBothSchemaOverride.php Remove @override annotation 2018-08-07 10:15:53 +00:00
MutableRevisionRecordTest.php [MCR] Introduce RevisionRenderer 2018-08-30 19:15:12 +02:00
MutableRevisionSlotsTest.php [MCR] Factor PageUpdater out of WikiPage 2018-06-14 13:22:13 +00:00
NameTableStoreTest.php Don't reset name tables between test runs. 2018-08-23 19:15:33 +02:00
NoContentModelRevisionStoreDbTest.php Fix CONCAT assertions in some MCR tests 2018-07-04 08:20:53 +01:00
PageUpdaterTest.php Reset services before every test 2018-09-03 16:38:58 +00:00
PreMcrRevisionStoreDbTest.php Merge "Allow extra slots in write-both/read-new mode." 2018-07-06 17:53:55 +00:00
PreMcrSchemaOverride.php Remove @override annotation 2018-08-07 10:15:53 +00:00
RevisionArchiveRecordTest.php Fix handling of ar_length and ar_sha1 in RevisionArchiveRecord. 2018-04-18 21:47:57 +02:00
RevisionRecordTests.php Avoid constructing Title objects in data providers 2018-09-03 16:36:49 +00:00
RevisionSlotsTest.php Make undo fail if more than just the main slot is affected. 2018-06-22 15:18:41 +02:00
RevisionSlotsUpdateTest.php [MCR] Factor PageUpdater out of WikiPage 2018-06-14 13:22:13 +00:00
RevisionStoreDbTestBase.php Set migration stages in RevisionStoreDbTestBase 2018-08-28 15:41:08 +10:00
RevisionStoreFactoryTest.php Introduce RevisionStoreFactory & Tests 2018-08-02 18:55:29 +00:00
RevisionStoreRecordTest.php [MCR] Factor PageUpdater out of WikiPage 2018-06-14 13:22:13 +00:00
RevisionStoreTest.php Introduce new schema flags and use them in RevisionStore. 2018-07-02 17:20:14 +02:00
SlotRecordTest.php [MCR] RevisionStore, enable insertions for new schema 2018-06-14 13:36:08 +00:00
SqlBlobStoreTest.php Disable PHPUnit tests that fail under postgres 2018-08-01 22:22:15 +00:00