wiki.techinc.nl/includes/libs/filebackend
Tim Starling 9a8300fd77 filebackend: Fix Swift integration test failures
It's possible to run FileBackendIntegrationTest against an actual Swift
server, but there were a few failures when I tried it:

* In SwiftFileBackend::getDirListPageInternal(), fix a PHP warning due
  to strpos(null).
* In setUp(), fix exception "Backend domain ID not provided" due to
  missing domainId parameter.
* In doTestGetLocalCopyAndReference404(), getLocalCopy() on a sharded
  backend for a file that cannot exist, due to having no shard, returns
  null not false, which I think is fine. Use a path that can exist so
  that the assertion passes.
* In doTestGetFileList(), there is an assertion to confirm that
  getFileList() on a non-existent container will return null, but in
  Swift this is not known until iteration begins, so it returns an
  iterator. Fix the assertion.

Change-Id: If3fc47eb285b51366e7cfd8b6cf6e64bd0f8cd41
2024-03-12 09:43:06 +11:00
..
exception
fileiteration filebackend: improve SwiftFileBackendList field names and nullity checks 2023-06-23 10:53:23 +10:00
fileop Merge "filebackend: improve documentation of FileOp fields" 2024-03-04 06:38:24 +00:00
fileophandle FSFileOpHandle: add missing @ in @var 2023-10-17 03:07:20 +00:00
fsfile TempFSFile: Keep the WeakMap alive 2023-03-18 14:20:13 +11:00
FileBackend.php filebackend: Fix incomplete callable|null type hints 2023-10-16 12:28:39 +02:00
FileBackendMultiWrite.php Namespace remaining files under includes/deferred 2023-11-22 10:08:53 -05:00
FileBackendStore.php Respect $maxConcurrency when queuing async FileOps 2024-03-07 19:16:56 +11:00
FileOpBatch.php filebackend: add FileStatePredicates helper class for file operations 2024-02-21 14:00:27 -08:00
FSFileBackend.php Merge "filebackend: Turn protected properties into actual constants" 2023-10-19 20:09:44 +00:00
HTTPFileStreamer.php build: Upgrade mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0 manually 2024-02-10 02:22:41 +00:00
MemoryFileBackend.php filebackend: Turn protected properties into actual constants 2023-10-16 10:20:54 +02:00
SwiftFileBackend.php filebackend: Fix Swift integration test failures 2024-03-12 09:43:06 +11:00