This moves a code out of file scope into classes to make it testable. The code is left in the same structure as it was before, global functions have been converted into methods on the new ThumbnailEntryPoint and Thumbnail404EntryPoint classes. This test introduces comprehensive phpunit tests covering all functional code paths in ThumbnailEntryPoint. This is intended to support refactoring of this code. Change-Id: I459abc7b11d0ab4ee682a863c9525a945048296f |
||
|---|---|---|
| .. | ||
| ContentSecurityPolicy.php | ||
| DerivativeRequest.php | ||
| FauxRequest.php | ||
| FauxRequestUpload.php | ||
| FauxResponse.php | ||
| HeaderCallback.php | ||
| PathRouter.php | ||
| ProxyLookup.php | ||
| WebRequest.php | ||
| WebRequestUpload.php | ||
| WebResponse.php | ||