aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
Commit message (Collapse)AuthorAgeFilesLines
* [feature/twig] Remove resource locator dependency from templateNathaniel Guse2013-07-011-1/+0
| | | | PHPBB3-11598
* [feature/twig] Use phpbb_template_twig in testsNathan Guse2013-06-121-1/+1
| | | | | | Replace all new phpbb_template( with new phpbb_template_twig( PHPBB3-11598
* Merge remote-tracking branch 'EXreaction/ticket/11415' into developDavid King2013-05-183-4/+25
|\ | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/11415: [ticket/11415] Add test for find_from_extension() [ticket/11415] Send the extension base the finder rather than the manager [ticket/11415] Create function in finder find_from_extension [ticket/11415] Fix ext.manager constructor in tests [ticket/11415] Make migrator/ext.manager dependencies of the base ext class [ticket/11415] Remove migrator dependency from extension manager [ticket/11415] Move migrator to base extension class from ext.manager [ticket/11415] Move while loop from ext manager to acp_extensions.php
| * [ticket/11415] Add test for find_from_extension()Nathan Guse2013-05-141-0/+17
| | | | | | | | PHPBB3-11415
| * [ticket/11415] Fix ext.manager constructor in testsNathaniel Guse2013-05-031-1/+0
| | | | | | | | PHPBB3-11415
| * [ticket/11415] Remove migrator dependency from extension managerNathaniel Guse2013-05-012-3/+8
| | | | | | | | PHPBB3-11415
* | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11465Marc Alexander2013-05-127-229/+99
|\ \
| * | [ticket/11450] Move mocked class into mock/metadata_manager.phpJoas Schilling2013-05-081-15/+2
| | | | | | | | | | | | PHPBB3-11450
| * | [ticket/11450] Fix tests class nameJoas Schilling2013-05-081-1/+1
| | | | | | | | | | | | PHPBB3-11450
| * | [ticket/11450] Require db_tools file to be includedJoas Schilling2013-05-081-0/+2
| | | | | | | | | | | | PHPBB3-11450
| * | [ticket/11450] Fix all instances of phpbb_extension_metadata_managerJoas Schilling2013-05-081-4/+2
| |/ | | | | | | PHPBB3-11450
| * [ticket/11335] (more) Make php_ext 'php' not '.php'Nathan Guse2013-04-241-1/+1
| | | | | | | | PHPBB3-11335
| * [ticket/11335] (tests) Make php_ext 'php' not '.php'Nathan Guse2013-04-242-2/+2
| | | | | | | | PHPBB3-11335
| * Merge pull request #1324 from nickvergessen/ticket/10844-2Nils Adermann2013-04-244-1/+70
| |\ | | | | | | Ticket/10844 Extensions are not located when front-end file has a diffferent phpbb_root_path
| | * [ticket/10844] Increase prefix to not match template/ in finder testJoas Schilling2013-04-221-1/+1
| | | | | | | | | | | | PHPBB3-10844
| | * [ticket/10844] Add extension template file to locateJoas Schilling2013-04-221-0/+1
| | | | | | | | | | | | PHPBB3-10844
| | * [ticket/10844] Add unit tests for different root_pathsJoas Schilling2013-04-122-0/+68
| | | | | | | | | | | | PHPBB3-10844
| * | Merge pull request #1290 from nickvergessen/ticket/11362Nils Adermann2013-04-243-1/+20
| |\ \ | | | | | | | | Correctly sanitise the directory path in finder
| | * | [ticket/11362] Extension manager depends on filesystemJoas Schilling2013-04-173-1/+4
| | | | | | | | | | | | | | | | PHPBB3-11362
| | * | [ticket/11362] Add unit test for ../ in directory pathsJoas Schilling2013-03-121-0/+16
| | |/ | | | | | | | | | PHPBB3-11362
| * | [ticket/11491] Move file to correct directoryJoas Schilling2013-04-121-205/+0
| |/ | | | | | | PHPBB3-11491
* | [ticket/11465] Add disabled ext to allow proper testing of get_module_infos()Marc Alexander2013-05-125-2/+50
| | | | | | | | | | | | | | | | 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-103-2/+13
| | | | | | | | 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-103-0/+62
| | | | | | | | 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-227-0/+158
|/ | | | | | | | | | | | | | | | | 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
* [ticket/11386] Send list of migrations instead of using load_migrationsNathaniel Guse2013-03-032-13/+21
| | | | | | | | | Remove dependency of extension manager for migrator. Keeping load_migrations function for others to use if they desire but requiring the finder be sent to it in order to use it. PHPBB3-11386
* [ticket/11386] Fix failing tests from constructor changesNathaniel Guse2013-03-021-1/+1
| | | | PHPBB3-11386
* [ticket/11386] Remove tests that check if finder cache is workingNathaniel Guse2013-03-021-5/+13
| | | | | | | These don't seem necessary and are much more complicated to get working now with the changes in this PR PHPBB3-11386
* [ticket/11386] Update tests with new constructors for ext.manager/migratorNathaniel Guse2013-03-022-3/+15
| | | | PHPBB3-11386
* [feature/migrations] Fix failing tests (again)Nathaniel Guse2013-02-132-24/+25
| | | | PHPBB3-11318
* [feature/migrations] Fix failing testsNathaniel Guse2013-02-111-4/+12
| | | | PHPBB3-11318
* [feature/migrations] Make the container available to extension installersNathan Guse2013-02-062-0/+3
| | | | | | | This allows extensions to load and install migrations easily as per their needs. PHPBB3-11318
* [ticket/10933] Dependency inject template context.Oleg Pudeyev2012-11-021-1/+2
| | | | PHPBB3-10933
* [ticket/10631] Some cleanup of the test casesNathan Guse2012-09-012-67/+107
| | | | | | The acp test case was not actually validating things correctly. Now is does PHPBB3-10631
* [ticket/10631] Fixing a few extension admin issuesUnknown Bliss2012-09-011-1/+1
| | | | PHPBB3-10631
* [ticket/10631] Make failure to meet ext enable requirements clearerNathan Guse2012-09-011-11/+9
| | | | | | | | | Turn the blocks red on the details page if requirement is not met. Also changing a how the errors come up when trying to enable/disable an extension when they cannot be. PHPBB3-10631
* [ticket/10631] Fix metadata_manager_testNathan Guse2012-09-011-2/+2
| | | | PHPBB3-10631
* [ticket/10631] Functional acp_extensions test, cleanupNathan Guse2012-09-014-52/+297
| | | | PHPBB3-10631
* [ticket/10631] Metadata manager testsNathan Guse2012-09-013-54/+396
| | | | PHPBB3-10631
* [ticket/10631] Fix class construct arguments in testNathan Guse2012-09-011-2/+1
| | | | PHPBB3-10631
* [ticket/10631] A _start_ on a metadata manager test.Nathan Guse2012-09-011-0/+55
| | | | | | No idea if it runs without errors, I do not have the testing stuff setup. PHPBB3-10631
* [ticket/10631] Fixing an error in the test scriptNathan Guse2012-09-011-1/+1
| | | | PHPBB3-10631
* [ticket/10631] Update testsNathan Guse2012-09-011-0/+2
| | | | PHPBB3-10631
* [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-082-4/+0
| | | | PHPBB3-10973
* Merge remote-tracking branch 'naderman/ticket/10663' into developAndreas Fischer2012-02-241-0/+0
|\ | | | | | | | | | | * naderman/ticket/10663: [ticket/10663] Extension finder should not find subdirs with directory filter [ticket/10663] Adding nested directory to finder test
| * [ticket/10663] Adding nested directory to finder testVjacheslav Trushkin2012-02-211-0/+0
| | | | | | | | | | | | Adding nested directory to finder test, triggering finder bug PHPBB3-10663
* | [ticket/10667] Fix tests under MySQL 5.5 strict modeIgor Wiedler2012-02-211-0/+3
|/ | | | PHPBB3-10667