From 31234b26d892bb4d98c9bc869d340a8ccf3cfe88 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Thu, 12 Dec 2013 04:29:48 -0800 Subject: [ticket/12009] Move valid extensions in tests to correct dir structure. PHPBB3-12009 --- tests/extension/ext/bar/ext.php | 26 ---------------------- tests/extension/ext/bar/my/hidden_class.php | 7 ------ .../bar/styles/prosilver/template/foobar_body.html | 1 - tests/extension/ext/barfoo/acp/a_info.php | 18 --------------- tests/extension/ext/barfoo/acp/a_module.php | 7 ------ tests/extension/ext/foo/a_class.php | 7 ------ tests/extension/ext/foo/acp/a_info.php | 18 --------------- tests/extension/ext/foo/acp/a_module.php | 7 ------ tests/extension/ext/foo/acp/fail_info.php | 22 ------------------ tests/extension/ext/foo/acp/fail_module.php | 11 --------- tests/extension/ext/foo/b_class.php | 7 ------ tests/extension/ext/foo/composer.json | 21 ----------------- tests/extension/ext/foo/ext.php | 15 ------------- tests/extension/ext/foo/mcp/a_info.php | 18 --------------- tests/extension/ext/foo/mcp/a_module.php | 7 ------ tests/extension/ext/foo/sub/type/alternative.php | 7 ------ tests/extension/ext/foo/type/alternative.php | 7 ------ tests/extension/ext/foo/type/dummy/empty.txt | 0 tests/extension/ext/foo/typewrong/error.php | 7 ------ tests/extension/ext/vendor/moo/composer.json | 2 +- tests/extension/ext/vendor2/bar/acp/a_info.php | 18 +++++++++++++++ tests/extension/ext/vendor2/bar/acp/a_module.php | 7 ++++++ tests/extension/ext/vendor2/bar/composer.json | 21 +++++++++++++++++ tests/extension/ext/vendor2/bar/ext.php | 26 ++++++++++++++++++++++ tests/extension/ext/vendor2/foo/a_class.php | 7 ++++++ tests/extension/ext/vendor2/foo/acp/a_info.php | 18 +++++++++++++++ tests/extension/ext/vendor2/foo/acp/a_module.php | 7 ++++++ tests/extension/ext/vendor2/foo/acp/fail_info.php | 22 ++++++++++++++++++ .../extension/ext/vendor2/foo/acp/fail_module.php | 11 +++++++++ tests/extension/ext/vendor2/foo/b_class.php | 7 ++++++ tests/extension/ext/vendor2/foo/composer.json | 21 +++++++++++++++++ tests/extension/ext/vendor2/foo/ext.php | 15 +++++++++++++ tests/extension/ext/vendor2/foo/mcp/a_info.php | 18 +++++++++++++++ tests/extension/ext/vendor2/foo/mcp/a_module.php | 7 ++++++ .../ext/vendor2/foo/sub/type/alternative.php | 7 ++++++ .../extension/ext/vendor2/foo/type/alternative.php | 7 ++++++ .../extension/ext/vendor2/foo/type/dummy/empty.txt | 0 .../extension/ext/vendor2/foo/typewrong/error.php | 7 ++++++ tests/extension/ext/vendor3/bar/ext.php | 26 ++++++++++++++++++++++ .../extension/ext/vendor3/bar/my/hidden_class.php | 7 ++++++ .../bar/styles/prosilver/template/foobar_body.html | 1 + 41 files changed, 261 insertions(+), 214 deletions(-) delete mode 100644 tests/extension/ext/bar/ext.php delete mode 100644 tests/extension/ext/bar/my/hidden_class.php delete mode 100644 tests/extension/ext/bar/styles/prosilver/template/foobar_body.html delete mode 100644 tests/extension/ext/barfoo/acp/a_info.php delete mode 100644 tests/extension/ext/barfoo/acp/a_module.php delete mode 100644 tests/extension/ext/foo/a_class.php delete mode 100644 tests/extension/ext/foo/acp/a_info.php delete mode 100644 tests/extension/ext/foo/acp/a_module.php delete mode 100644 tests/extension/ext/foo/acp/fail_info.php delete mode 100644 tests/extension/ext/foo/acp/fail_module.php delete mode 100644 tests/extension/ext/foo/b_class.php delete mode 100644 tests/extension/ext/foo/composer.json delete mode 100644 tests/extension/ext/foo/ext.php delete mode 100644 tests/extension/ext/foo/mcp/a_info.php delete mode 100644 tests/extension/ext/foo/mcp/a_module.php delete mode 100644 tests/extension/ext/foo/sub/type/alternative.php delete mode 100644 tests/extension/ext/foo/type/alternative.php delete mode 100644 tests/extension/ext/foo/type/dummy/empty.txt delete mode 100644 tests/extension/ext/foo/typewrong/error.php create mode 100644 tests/extension/ext/vendor2/bar/acp/a_info.php create mode 100644 tests/extension/ext/vendor2/bar/acp/a_module.php create mode 100644 tests/extension/ext/vendor2/bar/composer.json create mode 100644 tests/extension/ext/vendor2/bar/ext.php create mode 100644 tests/extension/ext/vendor2/foo/a_class.php create mode 100644 tests/extension/ext/vendor2/foo/acp/a_info.php create mode 100644 tests/extension/ext/vendor2/foo/acp/a_module.php create mode 100644 tests/extension/ext/vendor2/foo/acp/fail_info.php create mode 100644 tests/extension/ext/vendor2/foo/acp/fail_module.php create mode 100644 tests/extension/ext/vendor2/foo/b_class.php create mode 100644 tests/extension/ext/vendor2/foo/composer.json create mode 100644 tests/extension/ext/vendor2/foo/ext.php create mode 100644 tests/extension/ext/vendor2/foo/mcp/a_info.php create mode 100644 tests/extension/ext/vendor2/foo/mcp/a_module.php create mode 100644 tests/extension/ext/vendor2/foo/sub/type/alternative.php create mode 100644 tests/extension/ext/vendor2/foo/type/alternative.php create mode 100644 tests/extension/ext/vendor2/foo/type/dummy/empty.txt create mode 100644 tests/extension/ext/vendor2/foo/typewrong/error.php create mode 100644 tests/extension/ext/vendor3/bar/ext.php create mode 100644 tests/extension/ext/vendor3/bar/my/hidden_class.php create mode 100644 tests/extension/ext/vendor3/bar/styles/prosilver/template/foobar_body.html (limited to 'tests/extension/ext') diff --git a/tests/extension/ext/bar/ext.php b/tests/extension/ext/bar/ext.php deleted file mode 100644 index 22ff5e8077..0000000000 --- a/tests/extension/ext/bar/ext.php +++ /dev/null @@ -1,26 +0,0 @@ - 'barfoo\\acp\\a_module', - 'title' => 'Barfoo', - 'version' => '3.1.0-dev', - 'modes' => array( - 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), - ), - ); - } -} diff --git a/tests/extension/ext/barfoo/acp/a_module.php b/tests/extension/ext/barfoo/acp/a_module.php deleted file mode 100644 index 0ae8775013..0000000000 --- a/tests/extension/ext/barfoo/acp/a_module.php +++ /dev/null @@ -1,7 +0,0 @@ - 'foo\\acp\\a_module', - 'title' => 'Foobar', - 'version' => '3.1.0-dev', - 'modes' => array( - 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), - ), - ); - } -} diff --git a/tests/extension/ext/foo/acp/a_module.php b/tests/extension/ext/foo/acp/a_module.php deleted file mode 100644 index 7aa2351ab3..0000000000 --- a/tests/extension/ext/foo/acp/a_module.php +++ /dev/null @@ -1,7 +0,0 @@ - 'foo\acp\fail_module', - 'title' => 'Foobar', - 'version' => '3.1.0-dev', - 'modes' => array( - 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), - ), - ); - } -} diff --git a/tests/extension/ext/foo/acp/fail_module.php b/tests/extension/ext/foo/acp/fail_module.php deleted file mode 100644 index 8070929d3c..0000000000 --- a/tests/extension/ext/foo/acp/fail_module.php +++ /dev/null @@ -1,11 +0,0 @@ -=5.3", - "phpbb/phpbb": "3.1.*@dev" - }, - "extra": { - "display-name": "phpBB Foo Extension" - } -} diff --git a/tests/extension/ext/foo/ext.php b/tests/extension/ext/foo/ext.php deleted file mode 100644 index ac6098f2f1..0000000000 --- a/tests/extension/ext/foo/ext.php +++ /dev/null @@ -1,15 +0,0 @@ - 'foo\\mcp\\a_module', - 'title' => 'Foobar', - 'version' => '3.1.0-dev', - 'modes' => array( - 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('MCP_MAIN')), - ), - ); - } -} diff --git a/tests/extension/ext/foo/mcp/a_module.php b/tests/extension/ext/foo/mcp/a_module.php deleted file mode 100644 index ca397e7004..0000000000 --- a/tests/extension/ext/foo/mcp/a_module.php +++ /dev/null @@ -1,7 +0,0 @@ - 'vendor2\\bar\\acp\\a_module', + 'title' => 'Bar', + 'version' => '3.1.0-dev', + 'modes' => array( + 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), + ), + ); + } +} diff --git a/tests/extension/ext/vendor2/bar/acp/a_module.php b/tests/extension/ext/vendor2/bar/acp/a_module.php new file mode 100644 index 0000000000..3a3d105790 --- /dev/null +++ b/tests/extension/ext/vendor2/bar/acp/a_module.php @@ -0,0 +1,7 @@ +=5.3", + "phpbb/phpbb": "3.1.*@dev" + }, + "extra": { + "display-name": "phpBB Bar Extension" + } +} diff --git a/tests/extension/ext/vendor2/bar/ext.php b/tests/extension/ext/vendor2/bar/ext.php new file mode 100644 index 0000000000..f94ab9ad81 --- /dev/null +++ b/tests/extension/ext/vendor2/bar/ext.php @@ -0,0 +1,26 @@ + 'vendor2\\foo\\acp\\a_module', + 'title' => 'Foobar', + 'version' => '3.1.0-dev', + 'modes' => array( + 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), + ), + ); + } +} diff --git a/tests/extension/ext/vendor2/foo/acp/a_module.php b/tests/extension/ext/vendor2/foo/acp/a_module.php new file mode 100644 index 0000000000..78d91af2fe --- /dev/null +++ b/tests/extension/ext/vendor2/foo/acp/a_module.php @@ -0,0 +1,7 @@ + 'vendor2\foo\acp\fail_module', + 'title' => 'Foobar', + 'version' => '3.1.0-dev', + 'modes' => array( + 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('ACP_MODS')), + ), + ); + } +} diff --git a/tests/extension/ext/vendor2/foo/acp/fail_module.php b/tests/extension/ext/vendor2/foo/acp/fail_module.php new file mode 100644 index 0000000000..c8a5eae745 --- /dev/null +++ b/tests/extension/ext/vendor2/foo/acp/fail_module.php @@ -0,0 +1,11 @@ +=5.3", + "phpbb/phpbb": "3.1.*@dev" + }, + "extra": { + "display-name": "phpBB Foo Extension" + } +} diff --git a/tests/extension/ext/vendor2/foo/ext.php b/tests/extension/ext/vendor2/foo/ext.php new file mode 100644 index 0000000000..15480fe92a --- /dev/null +++ b/tests/extension/ext/vendor2/foo/ext.php @@ -0,0 +1,15 @@ + 'vendor2\\foo\\mcp\\a_module', + 'title' => 'Foobar', + 'version' => '3.1.0-dev', + 'modes' => array( + 'config' => array('title' => 'Config', 'auth' => '', 'cat' => array('MCP_MAIN')), + ), + ); + } +} diff --git a/tests/extension/ext/vendor2/foo/mcp/a_module.php b/tests/extension/ext/vendor2/foo/mcp/a_module.php new file mode 100644 index 0000000000..fe29783827 --- /dev/null +++ b/tests/extension/ext/vendor2/foo/mcp/a_module.php @@ -0,0 +1,7 @@ +