diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-04-10 13:07:25 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-04-10 13:07:25 +0200 |
commit | 6110380a35ec2bca1dc953e8dfd67b1131bb1e59 (patch) | |
tree | 95e2b31afa7a2d0ec5f92e7f1248c4362f5e18be /tests/extension/includes | |
parent | 11477a3f18078625d79205e4ab488a25ead7d15d (diff) | |
download | forums-6110380a35ec2bca1dc953e8dfd67b1131bb1e59.tar forums-6110380a35ec2bca1dc953e8dfd67b1131bb1e59.tar.gz forums-6110380a35ec2bca1dc953e8dfd67b1131bb1e59.tar.bz2 forums-6110380a35ec2bca1dc953e8dfd67b1131bb1e59.tar.xz forums-6110380a35ec2bca1dc953e8dfd67b1131bb1e59.zip |
[ticket/11465] Add phpBB module to test
PHPBB3-11465
Diffstat (limited to 'tests/extension/includes')
-rw-r--r-- | tests/extension/includes/acp/acp_foobar.php | 28 | ||||
-rw-r--r-- | tests/extension/includes/acp/info/acp_foobar.php | 26 |
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/extension/includes/acp/acp_foobar.php b/tests/extension/includes/acp/acp_foobar.php new file mode 100644 index 0000000000..c256a432e2 --- /dev/null +++ b/tests/extension/includes/acp/acp_foobar.php @@ -0,0 +1,28 @@ +<?php +/** +* +* @package testing +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + +/** +* @package acp +*/ +class acp_foobar +{ + var $u_action; + + function main($id, $mode) + { + } +} diff --git a/tests/extension/includes/acp/info/acp_foobar.php b/tests/extension/includes/acp/info/acp_foobar.php new file mode 100644 index 0000000000..b89cfb9574 --- /dev/null +++ b/tests/extension/includes/acp/info/acp_foobar.php @@ -0,0 +1,26 @@ +<?php +/** +* +* @package testing +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +/** +* @package module_install +*/ +class acp_foobar_info +{ + function module() + { + return array( + 'filename' => 'acp_foobar', + 'title' => 'ACP Foobar', + 'version' => '3.1.0-dev', + 'modes' => array( + 'test' => array('title' => 'Test', 'auth' => '', 'cat' => array('ACP_GENERAL')), + ), + ); + } +} |