moodle/lib/phpunit/classes
Petr Skoda d6e7a63d9a MDL-49684 timezones: rewrite timezone support
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.

The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!

Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
..
advanced_testcase.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00
arraydataset.php
autoloader.php MDL-44510 fix class guessing in phpunit 4 2014-03-26 11:32:33 +08:00
basic_testcase.php
database_driver_testcase.php MDL-38989 detect changed timeout in tests 2013-04-10 09:48:57 +02:00
event_mock.php MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
event_sink.php MDL-39846 improve role assignment tests 2013-07-19 08:43:29 +02:00
hint_resultprinter.php MDL-43461 testing: Avoid switching to .bat files when running MinGW 2014-01-14 13:11:07 +08:00
message_sink.php MDL-36031 implement message redirection for unit testing 2012-10-13 20:00:54 +02:00
phpmailer_sink.php MDL-41196 Unit Tests: Add a phpmailer message sink 2013-08-15 13:58:51 +01:00
unittestcase.php
util.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00