MDL-39087 Add missing unit tests for the plugin_manager
authorDavid Mudrák <david@moodle.com>
Thu, 11 Apr 2013 12:24:41 +0000 (14:24 +0200)
committerDavid Mudrák <david@moodle.com>
Thu, 11 Apr 2013 23:42:58 +0000 (01:42 +0200)
commit86a862cdc232d982953c1dafa8163f59e51d0673
treee31d31b08f0b961960ea7e5365ec6d6770d9c4b5
parent7a46a55d004e28b75cfde1831873397da05db844
MDL-39087 Add missing unit tests for the plugin_manager

This patch improves and adds unit tests for the plugin_manager class.
These unit tests cover the existing functionalities. Tests for the
new features related directly with MDL-38259 will be added in a separate
commit (to make it clear what's related to it).
lib/pluginlib.php
lib/tests/fixtures/mockplugins/mod/bar/version.php [new file with mode: 0644]
lib/tests/fixtures/mockplugins/mod/foo/lish/frog/version.php [new file with mode: 0644]
lib/tests/fixtures/mockplugins/mod/foo/version.php [new file with mode: 0644]
lib/tests/pluginlib_test.php