aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/modules_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/13777] Reorder get_module_infos() method's argumentsMateBartus2015-05-311-10/+10
| | | | PHPBB3-13777
* [ticket/13777] Fix testsMateBartus2015-05-311-32/+19
| | | | PHPBB3-13777
* Merge branch 'develop-ascraeus' into developAndreas Fischer2014-05-281-3/+7
|\ | | | | | | | | | | | | * develop-ascraeus: [ticket/12594] Replace phpBB Group with phpBB Limited [ticket/12594] Update footer credit lines [ticket/12594] Remove @package tags and update file headers
| * [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | | | | | PHPBB3-12594
* | [ticket/12564] Remove version definitions from modules in testsMatt Friedman2014-05-201-10/+0
|/ | | | PHPBB3-12564
* [ticket/12350] Instantiate Mock Dispatcher for modules_testK Fisher2014-04-031-1/+3
| | | | PHPBB3-12350
* [ticket/12006] Test for ext module authNathan Guse2013-12-301-3/+41
| | | | PHPBB3-12006
* [ticket/12009] Move valid extensions in tests to correct dir structure.Cesar G2013-12-121-30/+30
| | | | PHPBB3-12009
* [ticket/11700] Correctly load extensions with nonprefixed namespacesNils Adermann2013-09-171-19/+19
| | | | PHPBB3-11700
* [ticket/11700] Oh dear modules. Abort! Retreat!Nils Adermann2013-09-161-0/+2
| | | | PHPBB3-11700
* [ticket/11465] Add disabled ext to allow proper testing of get_module_infos()Marc Alexander2013-05-121-1/+23
| | | | | | | | This will now also enable us to test the $use_all_available parameter of get_module_infos(), which will not only return the module infos for enabled extensions but also those from disabled extensions. PHPBB3-11465
* [ticket/11465] Add tests for optional arguments of get_module_infos()Marc Alexander2013-05-121-0/+60
| | | | | | | | | | | The possibilities of the first argument have already been covered previously. The second argument will be covered with an entry that should exist, an incorrect entry, and the default false entry that should use the previously set module class. Unfortunately, the third argument doesn't have an effect in the tests, as the mocked extension manager will not properly handle enabled/disabled extensions. PHPBB3-11465
* [ticket/11465] Add comments explaining the testsMarc Alexander2013-05-101-0/+5
| | | | PHPBB3-11465
* [ticket/11465] Correctly set the root path for the testJoas Schilling2013-04-101-0/+5
| | | | PHPBB3-11465
* [ticket/11465] Add phpBB module to testJoas Schilling2013-04-101-0/+8
| | | | PHPBB3-11465
* [ticket/11465] Move require_once() in unit test to the top of the fileMarc Alexander2013-03-221-7/+4
| | | | PHPBB3-11465
* [ticket/11465] Add unit tests for acp_modules::get_module_infos()Marc Alexander2013-03-221-0/+95
The tests add 3 different modules. One acp module that should be found (acp/a_module), one acp module that should not be found (acp/fail_module), and one mcp module that should work again (mcp/a_module). The modules' info files had to be included as they were not auto-loaded for some reason. There are several test stages. First of, it is tested if the correct mcp and acp module is returned. Afterwards, the proper loading of specified modules is tested. One with an existing module and one with a not existing module. Finally, the test concludes with trying to get the module info of not existing ucp modules. Other classes like foobar would have also worked for that check but I decided to use the ucp type of class as that is the one type missing from the added test modules. PHPBB3-11465