Commit graph

12 commits

Author SHA1 Message Date
nicolasconnault
795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18:44 +00:00
mjollnir_
27dda89ffe MDL-15666 - changes to the portfolio caller tests
now that i changed the api again (adding load_data), rather than add a call to it to
all the callers, i abstracted the caller setup into the parent class (portfoliolib_test)
2008-09-11 13:47:40 +00:00
nicolasconnault
2341547ccc MDL-15666 Fixed some fatal errors in database generation 2008-09-09 10:17:48 +00:00
nicolasconnault
6b98209524 MDL-15666 Unit tests can all be run from lib/simpletest/testportfoliolib.php. See requires at the end of the file. 2008-09-06 14:36:45 +00:00
nicolasconnault
6511446349 MDL-15666 Fixed error that caused blank page in unit test. Including generator library. Partly fixed generator. 2008-09-06 11:24:57 +00:00
nicolasconnault
77ac22a5b6 MDL-15666 sha1 tests for glossary callers. Entry caller test currently fails. 2008-09-04 11:44:48 +00:00
nicolasconnault
75d226d74d MDL-15666 Generating test data on-the-fly using the generator! 2008-08-29 14:46:55 +00:00
nicolasconnault
7e95408b01 MDL-15666 MDL-16177
Refactored the generator script into proper Object Oriented code. It can now be used as a CLI tool, as a web form or as an included library with a function call. Stub implementation is demonstrated in portfolio unit tests.
2008-08-29 08:01:55 +00:00
mjollnir_
cc8696b2ef MDL-15666 - fixed up the dup test and changed setup to mock the user 2008-08-19 16:14:17 +00:00
nicolasconnault
29de31324e MDL-15666 Tests for creating duplicate instance of plugin that doesn't allow duplicates 2008-08-19 15:34:05 +00:00
nicolasconnault
d50475e64f MDL-15666 Adding test file with stub methods. 2008-08-19 09:21:30 +00:00
nicolasconnault
ea549328d0 MDL-15666 Adding test file with stub methods. 2008-08-19 07:14:03 +00:00