wiki.techinc.nl/tests/phpunit/includes
Tyler Anthony Romeo 7e3386d417 Refactor MWTimestamp::getHumanTimestamp and add hook.
Changed logic in MWTimestamp::getHumanTimestamp so that
all the message and formatting was offloaded into the
Language class, keeping only actual timestamp logic in
the MWTimestamp class.

Also added a hook so extensions can override the
human timestamp format.

Change-Id: Ie667088010e24eb6cb569f9e8e8e2553005223eb
2013-04-22 12:07:22 -07:00
..
api Update code formatting 2013-03-27 14:15:11 +01:00
cache Revert changes in fallback behavior 2013-03-28 10:32:02 +00:00
content Update code formatting 2013-03-27 14:15:11 +01:00
db Add non DBMS depending SQL tests for DatabaseBase 2013-04-16 09:38:30 +02:00
debug Update formatting 2013-02-14 14:10:38 +01:00
filebackend Cleaned up test cleanup for FileBackend and avoid use of @. 2013-04-18 05:43:51 +00:00
filerepo Update formatting 2013-02-15 12:35:50 +00:00
GlobalFunctions Add missing braces to for in wfGetCallerTest 2013-04-17 20:11:34 +02:00
installer Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
jobqueue Added a quick test for getAllQueuedJobs(). 2013-04-09 14:32:20 -07:00
json Fix pretty JSON when strings end with backslashes 2013-03-30 16:23:24 -04:00
libs Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
logging Update formatting 2013-02-15 12:35:50 +00:00
media Merge "Tests: Use more setMwGlobals" 2013-03-22 19:15:03 +00:00
normal test: ignore code coverage for CleanUpTest 2013-03-26 12:54:03 +01:00
objectcache Read full memcached response before manipulating data 2013-03-07 15:59:10 +01:00
parser Added more fine grained groups for parser tests 2013-04-20 20:42:36 +00:00
search Update formatting 2013-02-15 12:44:42 +00:00
site Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
specials Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
upload Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
ArticleTablesTest.php Avoid deprecation warnings in test cases. 2012-08-28 16:00:39 +02:00
ArticleTest.php Update formatting 2013-02-14 12:22:13 +01:00
BlockTest.php Use a provider for Xff blocking tests 2013-04-14 17:08:01 +00:00
CdbTest.php raise timeout for CdbTest::testCdb() 2013-01-28 12:33:22 +01:00
CollationTest.php Remove first letters that have an overlapping prefix. 2013-04-08 22:52:40 +00:00
DiffHistoryBlobTest.php pass codesniffer on tests/ 2013-01-28 12:14:26 +01:00
EditPageTest.php Merge "Fix more UnitTests for databases that do not use integer timestamps" 2013-03-08 22:54:28 +00:00
ExternalStoreTest.php pass codesniffer on tests/ 2013-01-28 12:14:26 +01:00
ExtraParserTest.php Revert "Misc follow-ups to I2fc3966e (a161c5e)" 2013-03-22 21:24:58 +00:00
FauxResponseTest.php tests: always call parent setUp 2012-10-23 19:04:40 +02:00
FormOptionsInitializationTest.php Update formatting 2013-02-14 12:22:13 +01:00
FormOptionsTest.php Update formatting 2013-02-14 12:22:13 +01:00
HooksTest.php Cleaned up Hooks code, comments, and documentation. 2013-04-22 16:41:17 +02:00
HtmlTest.php Merge "Tests: Use more setMwGlobals" 2013-03-22 19:15:03 +00:00
HttpTest.php Update formatting 2013-02-14 12:22:13 +01:00
IPTest.php Update formatting 2013-02-14 12:22:13 +01:00
LanguageConverterTest.php Update code formatting 2013-03-27 14:15:11 +01:00
LicensesTest.php Update formatting 2013-02-14 12:22:13 +01:00
LinkerTest.php Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
LinksUpdateTest.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
LocalFileTest.php Update formatting 2013-02-14 12:22:13 +01:00
LocalisationCacheTest.php Updated plural rules from CLDR 22 2012-09-17 16:59:29 +00:00
MessageTest.php MessageTest: Split test and use setMwGlobals 2013-03-21 20:05:39 +01:00
MWFunctionTest.php Update formatting 2013-02-14 12:22:13 +01:00
MWNamespaceTest.php Tests: Fix case of some methods 2013-03-22 17:44:34 +01:00
OutputPageTest.php Update formatting 2013-02-14 12:22:13 +01:00
PathRouterTest.php Update code formatting 2013-03-27 14:15:11 +01:00
PreferencesTest.php Update formatting 2013-02-14 12:22:13 +01:00
Providers.php Update formatting 2013-02-14 12:22:13 +01:00
RecentChangeTest.php Update formatting 2013-02-14 12:36:35 +01:00
RequestContextTest.php Fixed importScopedSession() and moved exportUserSession() to RequestContext. 2013-03-15 12:49:54 -07:00
ResourceLoaderTest.php Update formatting 2013-02-14 12:36:35 +01:00
RevisionStorageTest.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
RevisionStorageTest_ContentHandlerUseDB.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
RevisionTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
SampleTest.php Update formatting 2013-02-14 12:36:35 +01:00
SanitizerTest.php Tests: Make phpunit providers "public static". 2013-03-22 03:12:37 +01:00
SanitizerValidateEmailTest.php Update formatting 2013-02-14 12:36:35 +01:00
SeleniumConfigurationTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
SiteConfigurationTest.php pass codesniffer on tests/ 2013-01-28 12:14:26 +01:00
StringUtilsTest.php Update code formatting 2013-03-27 14:15:11 +01:00
TemplateCategoriesTest.php [JobQueue] Optimized JobQueueGroup::pop(). 2013-01-14 16:40:27 -08:00
TestUser.php Move api/ApiTestUser.php to TestUser.php and make available in MediaWikiTestCase class. 2012-09-13 18:40:23 +00:00
TimeAdjustTest.php TimeAdjustTest: Use dataProvider 2013-03-23 11:17:02 +00:00
TimestampTest.php Refactor MWTimestamp::getHumanTimestamp and add hook. 2013-04-22 12:07:22 -07:00
TitleMethodsTest.php Tests: Fix case of some methods 2013-03-22 17:44:34 +01:00
TitlePermissionTest.php Update formatting 2013-02-14 12:36:35 +01:00
TitleTest.php Fix case of some Title methods 2013-03-26 10:54:15 +01:00
UIDGeneratorTest.php Added UIDGenerator class for getting statistically unique IDs. 2013-02-07 17:38:12 +00:00
UserTest.php Update formatting 2013-02-14 12:36:35 +01:00
WebRequestTest.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
WikiPageTest.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
WikiPageTest_ContentHandlerUseDB.php Tests: Use more setMwGlobals 2013-03-21 20:35:44 +01:00
XmlJsTest.php Extend MediaWikiTestCase in a few places 2011-05-25 00:30:06 +00:00
XmlSelectTest.php Update formatting 2013-02-14 12:56:23 +01:00
XmlTest.php Update formatting 2013-02-14 12:56:23 +01:00
ZipDirectoryReaderTest.php Update formatting 2013-02-14 12:56:23 +01:00