diff options
Diffstat (limited to 'lib/plugins/testing')
-rw-r--r-- | lib/plugins/testing/action.php | 10 | ||||
-rw-r--r-- | lib/plugins/testing/plugin.info.txt | 6 | ||||
-rw-r--r-- | lib/plugins/testing/plugin.testing.txt | 5 |
3 files changed, 14 insertions, 7 deletions
diff --git a/lib/plugins/testing/action.php b/lib/plugins/testing/action.php index 22a670eee..e829847b6 100644 --- a/lib/plugins/testing/action.php +++ b/lib/plugins/testing/action.php @@ -1,5 +1,11 @@ <?php - +/** + * Plugin for testing the test system + * + * This plugin doesn't really do anything and should always be disabled + * + * @author Tobias Sarnowski <tobias@trustedco.de> + */ class action_plugin_testing extends DokuWiki_Action_Plugin { function register(&$controller) { $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'dokuwikiStarted'); @@ -8,6 +14,6 @@ class action_plugin_testing extends DokuWiki_Action_Plugin { function dokuwikiStarted() { $param = array(); trigger_event('TESTING_PLUGIN_INSTALLED', $param); - msg('hohoho'); + msg('The testing plugin is enabled and should be disabled.',-1); } } diff --git a/lib/plugins/testing/plugin.info.txt b/lib/plugins/testing/plugin.info.txt new file mode 100644 index 000000000..a514d7774 --- /dev/null +++ b/lib/plugins/testing/plugin.info.txt @@ -0,0 +1,6 @@ +base testing +author Tobias Sarnowski +email tobias@trustedco.de +date 2012-04-24 +name Testing Plugin +desc Used to test the test framework. Should always be disabled. diff --git a/lib/plugins/testing/plugin.testing.txt b/lib/plugins/testing/plugin.testing.txt deleted file mode 100644 index 840a46d1e..000000000 --- a/lib/plugins/testing/plugin.testing.txt +++ /dev/null @@ -1,5 +0,0 @@ -author Tobias Sarnowski -email tobias@trustedco.de -date 2012-04-17 -name Testing Plugin -desc Used to test the test framework. |