39 Commits

Author SHA1 Message Date
nicolasconnault
23b967c648 MDL-16486 Activated autopilot for test table install/upgrade 2008-09-18 13:43:27 +00:00
nicolasconnault
90997d6d6d MDL-16486 changed unittest_prefix to unittestprefix 2008-09-18 10:05:20 +00:00
nicolasconnault
0186b1d06c MDL-16486 Added few cfg vars 2008-09-18 09:42:53 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
nicolasconnault
356e001031 MDL-16483 minor fixes 2008-09-16 16:40:15 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
tjhunt
89ee3c7937 MDL-16348 - followup - prevent debug output when logged in as a non-admin. Thanks to Mat for ponting this out. 2008-09-09 09:35:54 +00:00
tjhunt
b032b49099 MDL-16348 Reorganise admin tree:
* New Capability report put under Users -> Permissions
* Miscellaneous category renamed to Development
* Unit tests and Functional DB test moved to be under Development.
* The hard-coded hack that was used to change the permission that controls the Backups and stats reports replaced with settings.php files.
* There were two hidden Miscellaneous things in the old category, so I moved them. Multilan upgrade now under Lanuages, and Online assignment cleanup now under Plugins -> Activity modules. Both still hidden.

There was already a way for admin report plugins to control where they appeared in the tree, but it was not documented, so see http://docs.moodle.org/en/Development:Admin_reports
2008-09-08 11:32:31 +00:00
tjhunt
88f94e5882 Fix deprecated print_simple_box calls. 2008-09-05 07:44:07 +00:00
tjhunt
bfaf310fe9 Fix deprecated print_simple_box calls. 2008-09-05 07:26:01 +00:00
nicolasconnault
1ddfd4ec23 MDL-15837 Started sql_ helper function tests for mysqli, mysql and postgres7 2008-08-07 14:55:03 +00:00
skodak
3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak
d19c1ab676 MDL-14905 towards functional DB tests 2008-06-13 08:48:24 +00:00
skodak
cc55f4f624 MDL-14905 towards functional DB tests 2008-06-13 08:41:29 +00:00
skodak
068134542f MDL-14905 towards functional DB tests 2008-06-13 08:41:29 +00:00
skodak
a230012cd8 MDL-14905 towards functional DB tests 2008-06-13 08:35:29 +00:00
skodak
b936956e2f MDL-14905 towards functional DB tests 2008-06-12 09:38:49 +00:00
skodak
2f2bcbc122 MDL-14905 towards functional DB tests 2008-06-11 22:51:36 +00:00
skodak
809df0e2b6 MDL-14905 towards functional DB tests 2008-06-10 22:05:29 +00:00
skodak
0b00c4ce59 MDL-14905 towards functional DB tests 2008-06-10 20:03:07 +00:00
skodak
e6b4f00ed7 MDL-14905 towards functional DB tests 2008-06-10 19:54:27 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
dwoolhead
98907dbaaa Correct display of unittest results for IE 2007-07-27 11:13:22 +00:00
skodak
cdbbd26f80 MDL-10064 global $CFG in unit test files is non standard, it is recommended to use MOODLE_INTERNAL test in all library files 2007-06-09 16:32:36 +00:00
skodak
52f81103d3 MDL-10063 simpletestlib.php included from majority of unit tests - let's include it once from the test runner itself 2007-06-09 16:17:33 +00:00
nfreear
a84dea2c30 Follow-up fix bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6". 2007-05-14 13:28:21 +00:00
nfreear
ce3735d453 Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6" 2007-05-09 14:15:33 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
vyshane
bae3a75ce8 Fixed text box display width. 2007-01-15 08:02:10 +00:00
moodler
f689ff1a9f Making it strict 2007-01-09 12:32:51 +00:00
nfreear
702227c913 MDL-7758 "Replace breadcrumb image with THEME->rarrow in unit test reports". 2006-12-01 10:20:40 +00:00
skodak
7203167d35 minor xhtml fix 2006-11-30 09:32:46 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
tjhunt
aa4f6af41a MDL-6542 - Don't run the unit tests until the user is ready. 2006-09-13 16:19:56 +00:00
tjhunt
45f501a54b Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes. 2006-09-13 16:16:39 +00:00
moodler
bee4702d10 Various tidying up of the admin pages.
Reports now don't need mod.php but they should include the admin headers/footers.

There are undoubtedly bugs in this but this framework should be more sane
2006-09-03 14:45:57 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
tjhunt
4f9c6e279c Rename lang file as per Martin's request. 2006-07-03 10:04:04 +00:00
tjhunt
3ef8c9362d Bug #5979 - Check in the OU's unit testing framework. Docs at http://docs.moodle.org/en/Unit_tests 2006-06-30 14:59:05 +00:00