MDL-38582 testing: Let any component have a data generator.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Wed, 20 Mar 2013 17:08:09 +0000 (17:08 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 22 Mar 2013 10:28:24 +0000 (10:28 +0000)
commitba203de1d38ee6e6944dc9163f6d81901ca97057
treefb46324451fc122c6a822acbfc95d4c33f62f401
parent373a8e052c6a6d02e1f781312d16c82d8f12ee0e
MDL-38582 testing: Let any component have a data generator.

Plus a simple core_question generator to test the concept.
lib/testing/generator/block_generator.php
lib/testing/generator/component_generator_base.php [new file with mode: 0644]
lib/testing/generator/data_generator.php
lib/testing/generator/lib.php
lib/testing/generator/module_generator.php
lib/testing/tests/generator_test.php
question/tests/generator/lib.php [new file with mode: 0644]
question/tests/generator_test.php [new file with mode: 0644]