Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
23684d4a
Commit
23684d4a
authored
12 years ago
by
Andreas Gohr
Browse files
Options
Downloads
Patches
Plain Diff
some cleanup for the testing plugin
parent
f2ae886a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/plugins/testing/action.php
+8
-2
8 additions, 2 deletions
lib/plugins/testing/action.php
lib/plugins/testing/plugin.info.txt
+6
-0
6 additions, 0 deletions
lib/plugins/testing/plugin.info.txt
lib/plugins/testing/plugin.testing.txt
+0
-5
0 additions, 5 deletions
lib/plugins/testing/plugin.testing.txt
with
14 additions
and
7 deletions
lib/plugins/testing/action.php
+
8
−
2
View file @
23684d4a
<?php
<?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
{
class
action_plugin_testing
extends
DokuWiki_Action_Plugin
{
function
register
(
&
$controller
)
{
function
register
(
&
$controller
)
{
$controller
->
register_hook
(
'DOKUWIKI_STARTED'
,
'AFTER'
,
$this
,
'dokuwikiStarted'
);
$controller
->
register_hook
(
'DOKUWIKI_STARTED'
,
'AFTER'
,
$this
,
'dokuwikiStarted'
);
...
@@ -8,6 +14,6 @@ class action_plugin_testing extends DokuWiki_Action_Plugin {
...
@@ -8,6 +14,6 @@ class action_plugin_testing extends DokuWiki_Action_Plugin {
function
dokuwikiStarted
()
{
function
dokuwikiStarted
()
{
$param
=
array
();
$param
=
array
();
trigger_event
(
'TESTING_PLUGIN_INSTALLED'
,
$param
);
trigger_event
(
'TESTING_PLUGIN_INSTALLED'
,
$param
);
msg
(
'
hohoho'
);
msg
(
'
The testing plugin is enabled and should be disabled.'
,
-
1
);
}
}
}
}
This diff is collapsed.
Click to expand it.
lib/plugins/testing/plugin.info.txt
0 → 100644
+
6
−
0
View file @
23684d4a
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.
This diff is collapsed.
Click to expand it.
lib/plugins/testing/plugin.testing.txt
deleted
100644 → 0
+
0
−
5
View file @
f2ae886a
author Tobias Sarnowski
email tobias@trustedco.de
date 2012-04-17
name Testing Plugin
desc Used to test the test framework.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment