wiki.techinc.nl/tests/phpunit/includes/ResourceLoader
Timo Tijhof be2dbcc219 ResourceLoader: Follow-up creation of ResourceLoaderEntryPoint
Follows-up Iadea44b7867f48a2be6ccbf00c0e56911a5af74e.

ResourceLoaderEntryPoint:
* Rename from Resource to ResourceLoader, as it is the entry point
  for ResourceLoader.
* Fix accidental use of ingroup on the file docblock
  instead of the class.
  https://phabricator.wikimedia.org/F42046908
* Fix broken "see" reference to "/load.php" on the ResourceEntryPoint
  class on doc.wikimedia.org. Files are indexed in Doxygen by full
  name without leading slash.
* Remove load.php from docgroup, akin to index.php.

tests:
* Remove unrelated Rest namespace from test suite.
* Remove redundant default values in newResourceLoader(),
  especially null values were confusing by showing an
  apparent intent to set a value without actually
  isplacing the default, given that isset/?? treat
  set null as not set.
* Simplify test by using the built-in startup module instead.

EntryPoint:
* Remove comment in test about doPostOutputShutdown.
  It sounded like it was explaining that we use getCapturedOutput()
  instead of run() because the latter calls doPostOutputShutdown
  which we want to avoid. Except, we don't avoid it,
  since run() is called and does call doPostOutputShutdown.
  Unclear what it was explaining.
* Improve docs around getCapturedOutput() in the base class,
  and make explicit that this seemingly unused complexity
  exists for the purpose of testing.

Bug: T354216
Change-Id: I5139fda90a3d5ac7ea1ed917c8045d1a09961d78
2024-02-22 22:30:39 +00:00
..
templates ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
ClientHtmlTest.php tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
CodexModuleTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
ContextTest.php tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
DerivativeContextTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
FileModuleTest.php tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
ImageModuleTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
LessVarFileModuleTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
MessageBlobStoreTest.php tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
ModuleTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
OOUIImageModuleTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00
ResourceLoaderEntryPointTest.php ResourceLoader: Follow-up creation of ResourceLoaderEntryPoint 2024-02-22 22:30:39 +00:00
ResourceLoaderTest.php Fix more incorrect casing of MediaWiki 2024-02-19 14:35:34 +00:00
SkinModuleTest.php Revert "SkinModule - Ensure skins can easily override skin feature styles" 2024-02-19 18:52:53 +00:00
StartUpModuleTest.php tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
UserOptionsModuleTest.php tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
WikiModuleTest.php tests: Namespace ResourceLoaderTestCase and friends 2024-02-16 21:32:22 +00:00