Adrian Greeve
b4482dfe19
MDL-40429 - Libraries: Deprecate get_contextlevel_name().
2013-07-09 16:07:04 +08:00
Ankit Agarwal
c5dcd25d5f
MDL-40425 libraries: Deprecate context_instance_preload()
2013-07-09 15:55:40 +08:00
Rajesh Taneja
2c5b0eb7fc
MDL-40427 Libraries: Deprecated context_moved in favor of context::update_moved()
2013-07-09 15:51:29 +08:00
Rajesh Taneja
8f7d3d129f
MDL-40407 Libraries: deprecated preload_course_contexts
2013-07-09 15:46:51 +08:00
Frederic Massart
cc4de415b4
MDL-40406 libraries: Deprecate rebuild_contexts()
2013-07-09 15:43:02 +08:00
Frederic Massart
79f6b384d4
MDL-40406 libraries: Deprecate build_context_path()
2013-07-09 15:43:02 +08:00
Frederic Massart
84378a57b9
MDL-40406 libraries: Deprecate cleanup_contexts()
2013-07-09 15:43:02 +08:00
Frederic Massart
9fdbf620a4
MDL-40406 libraries: Deprecate create_contexts()
2013-07-09 15:43:02 +08:00
Frederic Massart
f9aa8016b1
MDL-40405 libraries: Deprecate get_child_contexts()
2013-07-09 15:37:40 +08:00
Rajesh Taneja
c513812cd9
MDL-40404 Libraries: Moved DEVELOPER_DEBUG outside loop
2013-07-09 14:33:21 +08:00
Rajesh Taneja
7f5b51c4e6
MDL-40404 Libraries: Deprecated get_parent_contextid()
2013-07-09 14:33:21 +08:00
Frederic Massart
82c9aa843e
MDL-40403 tests: Fix pointless assertion
2013-07-09 13:34:44 +08:00
Frederic Massart
8e8891b76b
MDL-40403 libraries: Deprecate get_parent_contexts()
2013-07-09 13:34:44 +08:00
Ankit Agarwal
1d364843ab
MDL-40402 unittests: Make sure get_system_context() throws a deprecated warning
2013-07-04 15:41:19 +08:00
Ankit Agarwal
0601e0eef6
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
2013-07-04 15:41:06 +08:00
Eloy Lafuente (stronk7)
1b80060ff0
MDL-35009 Normalize deprecation (also MDL-34472)
...
- Use same deprecation phrases style.
- Use same upgrade.txt phrases style.
- Add unit test covering the deprecation.
See the issue for some more rationale / comments.
2013-07-02 21:40:16 +02:00
Ankit Agarwal
bfb99cc619
MDL-34472 phpunit: Make sure a debugging is thrown when get_context_instance() is called
2013-07-02 15:09:01 +08:00
Petr Škoda
5e72efd498
MDL-17081 add role export/import
...
This includes improved role creation, allowed roles are editable and other improvements.
2013-06-24 12:40:59 +02:00
Sam Hemelryk
10c98b64e6
Merge branch 'MDL-39454-master' of git://github.com/sammarshallou/moodle
2013-06-11 12:26:55 +12:00
Petr Škoda
5ce443a1b1
MDL-39676 improve get_role_users() unit tests
2013-05-25 10:09:42 +02:00
sam marshall
0d9e5992b3
MDL-39454 Accesslib: is_siteadmin is a bit slow
2013-05-02 10:42:28 +01:00
Petr Škoda
49ee37d3ac
MDL-36898 use only enrolled users as course contacts
2012-12-20 22:38:50 +01:00
Tim Hunt
e70b050838
MDL-36646 unit tests should not assume number of contexts.
2012-11-15 14:41:00 +00:00
Petr Škoda
a3b6e311b8
MDL-35479 some more debugging assert cleanup
2012-09-17 12:06:24 +02:00
Ankit Agarwal
5fbe2118bc
MDL-34549 libraries: Changing strictness of context::instance_by_id() when required
2012-08-24 11:30:35 +08:00
Ankit Agarwal
d197ea4300
MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id()
2012-08-24 11:30:10 +08:00
Adrian Greeve
b0c6dc1cac
MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8)
2012-07-27 10:10:46 +08:00
Dan Poltawski
315e968209
MDL-8249 - tests: fix breaking unit tests
2012-07-10 10:17:47 +08:00
Dan Poltawski
029be094ab
MDL-8249 - tests: fix trailing whitespace
2012-07-10 10:17:33 +08:00
Petr Skoda
c52551dc3c
MDL-8249 localise standard role names and descriptions if empty
2012-07-06 08:22:34 +02:00
Andrew Robert Nicols
9b128ba39c
MDL-33916 Add unit tests to ensure that is_enrolled returns correctly
2012-06-21 09:24:21 +01:00
Petr Skoda
dfa6a34638
MDL-33034 some more accesslib tests
...
It is not complete yet, but it should be enough to verify patch in MDL-8249 works properly.
2012-05-19 18:40:32 +02:00
Petr Skoda
9a251f1884
MDL-32477 tests for cloning of permissions
2012-04-19 22:09:32 +02:00
Petr Skoda
7514f9c243
MDL-32149 allow defining of PHPUNIT_LONGTEST from /config.php and improve acceslib tests
2012-04-03 22:30:59 +02:00
Petr Skoda
7ddef99455
MDL-32149 some more cleanup and testing of PHPUnit asserts
2012-04-03 22:30:56 +02:00
Petr Skoda
a3d5830a0a
MDL-32149 PHPUnit test support - part 2
...
Includes:
* constants refactoring
* reworked db table init
* support for $CFG->debug = -1
* functional DB tests
* fixed $DB->get_indexes() to not throw exceptions when table does not exist
* fix handling of user passwords in test db
* add debug info to exception messages
* removed unnecessary PHP debug errors from mathslib
* fixed @error suppression in get_string
* fixed PHPUnit error handler setup
* added timezone info to default install
2012-04-03 22:30:53 +02:00