wiki.techinc.nl/tests/phpunit/includes/search
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
..
ParserOutputSearchDataExtractorTest.php Extract ParserOutput search index data fields from WikiTextContentHandler 2016-08-19 09:26:17 -04:00
SearchEnginePrefixTest.php Reset services before every test 2018-09-03 16:38:58 +00:00
SearchEngineTest.php Move utility methods from ApiTestCase to MediaWikiTestCase 2018-07-29 12:47:45 +03:00
SearchIndexFieldTest.php Add missing type to @param documentation 2017-08-11 20:37:35 +02:00
SearchNearMatchResultSetTest.php Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07:00
SearchResultSetTest.php Push pagination decision for search into SearchEngine 2018-06-11 13:35:44 -07:00
SearchResultTest.php Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07:00
SearchSuggestionSetTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00