wiki.techinc.nl/tests/phpunit/includes
Tim Starling be76d86932 * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class.
* Moved the global functions to GlobalFunctions.php, where they are now just convenience wrappers. Made them return non-references. Updated callers (none found in extensions). 
* Added an advanced configuration method, $wgObjectCaches, which allows a lot more detail in the object cache configuration than $wgMainCacheType. 
* Made all object cache classes derive from BagOStuff. 
* Split the MWMemcached class into a generic client class and a MediaWiki-specific wrapper class. The wrapper class presents a simple BagOStuff interface to calling code, hiding memcached client internals, and will simplify the task of supporting the PECL extension.
* Added some extra constructor parameters to MWMemcached, configurable via $wgObjectCaches.
* Removed the *_multi() methods from BagOStuff, my grepping indicates that they are not used.
* Rewrote FakeMemCachedClient as a BagOStuff subclass, called EmptyBagOStuff.
* Added an optional "server" parameter to SQLBagOStuff. This allows the server holding the objectcache table to be different from the server holding the core DB.
* Added MultiWriteBagOStuff: a cache class which writes to multiple locations, and reads from them in a defined fallback sequence. This can be used to extend the cache space by adding disk-backed storage to existing in-memory caches.
* Made MWMemcached::get() return false on failure instead of null, to match the BagOStuff documentation and the other BagOStuff subclasses. Anything that was relying on it returning null would have already been broken with SqlBagOStuff.
* Fixed a bug in the memcached client causing keys with spaces or line breaks in them to break the memcached protocol, injecting arbitrary commands or parameters. Since the PECL client apparently also has this flaw, I implemented the fix in the wrapper class.
* Renamed BagOStuff::set_debug() to setDebug(), since we aren't emulating the memcached client anymore
* Fixed spelling error in MWMemcached: persistant -> persistent
2011-03-03 09:37:37 +00:00
..
api Per Platonides, fix for r82686: make ApiUploadTest work again 2011-03-02 12:52:47 +00:00
db Follow-up r82856: instead of remembering magic table names, just analyse its structure, added tests. 2011-02-26 16:45:35 +00:00
libs Very basic JavaScriiptDistiller tests, needs serious expansion 2011-02-23 08:06:11 +00:00
parser * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +00:00
search * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
specials Bug 2429 allow selection of associated namespace in recent changes 2011-03-02 20:40:40 +00:00
ArticleTablesTest.php Fix ArticleTablesTest after r81528. It needs to set both $wgLanguageCode and $wgContLang. 2011-02-20 00:44:33 +00:00
BlockTest.php Follow up r79109. 2010-12-29 15:01:47 +00:00
CdbTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
ExternalStoreTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
ExtraParserTest.php preSaveTransform() needs $wgTitle. 2011-01-23 18:43:08 +00:00
FormOptionsInitializationTest.php FormOptions: adds doc & tests 2011-02-28 20:58:34 +00:00
FormOptionsTest.php FormOptions: adds doc & tests 2011-02-28 20:58:34 +00:00
GlobalTest.php Force wgDebugTimestamps false 2011-02-20 17:44:37 +00:00
HooksTest.php Followup to r80435: Forgot the svn add 2011-01-17 16:43:12 +00:00
HttpTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
ImageFunctionsTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
IPTest.php * (bug 27353) IPv6 address ending in "::WORD" was not recognized 2011-02-13 23:24:48 +00:00
JsonTest.php Add JSON test case 2011-01-03 21:14:51 +00:00
LanguageConverterTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
LicensesTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
LocalFileTest.php Follow up r79109. 2010-12-29 15:01:47 +00:00
MediaWikiTest.php Fix the completely broken r81880 2011-02-10 10:03:38 +00:00
MessageTest.php Tests for r81878 2011-02-10 10:10:44 +00:00
MWFunctionTest.php Followup r79523: Test that calling self:: and parent:: throws exception 2011-01-03 21:14:22 +00:00
MWNamespaceTest.php Remove trailing ?> 2011-02-22 15:09:41 +00:00
NewDBTest.php Follow up r79109. 2010-12-29 15:01:47 +00:00
ParserOptionsTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
Providers.php Fix wrong static calls 2011-02-18 01:00:05 +00:00
ResourceLoaderFileModuleTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
ResourceLoaderTest.php ResourceLoader::register() works differently since r77011. 2010-12-30 16:16:16 +00:00
RevisionTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
SampleTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
SanitizerTest.php (Bug 27539) Allow attributes beginning with a digit in wiktext tag parameters. 2011-02-19 20:16:54 +00:00
SeleniumConfigurationTest.php Blindly fix the error produced in r82880. 2011-02-28 15:16:40 +00:00
SiteConfigurationTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
TimeAdjustTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
TitlePermissionTest.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
TitleTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
UploadFromUrlTest.php Fix r79532: Strct standards 2011-01-04 11:58:17 +00:00
UploadTest.php Tweak documentation 2011-02-27 21:11:45 +00:00
UserIsValidEmailAddrTest.php Bug 26948 - hyphens incorrectly interpreted as range 2011-01-27 20:52:12 +00:00
XmlJsTest.php Improve PHPUnit code coverage 2011-02-06 13:59:06 +00:00
XmlSelectTest.php Improve PHPUnit code coverage 2011-02-06 13:59:06 +00:00
XmlTest.php * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting to strings 2011-02-14 00:54:40 +00:00
ZipDirectoryReaderTest.php * (bug 24230) Added JAR detection. ZIP archives containing a .class file will be rejected by default. Malformed ZIP archives will be rejected due to the danger of ambiguous parsing on the client side. 2011-02-25 04:51:17 +00:00