aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
Commit message (Collapse)AuthorAgeFilesLines
...
| | * [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
* [ticket/9916] Updating license in non-distributed filesUnknown2012-01-022-2/+2
| | | | PHPBB3-9916
* [feature/extension-manager] Split disabling extensions up into steps as wellNils Adermann2011-11-182-0/+13
| | | | PHPBB3-10323
* [feature/extension-manager] Rename default methods to core methods on finder.Nils Adermann2011-11-181-25/+22
| | | | | | | There are now extension_ and core_ methods for all finder settings as well as a generic method which overwrites both. PHPBB3-10323
* [feature/extension-manager] Support extensions in subdirectories of ext/Nils Adermann2011-10-145-16/+16
| | | | PHPBB3-10323
* [feature/extension-manager] Add prefix to extension meta data / install classesNils Adermann2011-10-145-13/+13
| | | | PHPBB3-10323
* [feature/extension-manager] extension finder now saves ext it found a file inNils Adermann2011-10-131-7/+5
| | | | PHPBB3-10323
* [feature/extension-manager] Extend the tests for finding directoriesNils Adermann2011-09-291-1/+15
| | | | PHPBB3-10323
* [feature/extension-manager] Add extension meta info classes for test extensionsNils Adermann2011-09-292-0/+37
| | | | PHPBB3-10323
* [feature/extension-manager] Don't cache the phpbb_root_path in the ext managerNils Adermann2011-09-291-2/+2
| | | | | | Otherwise the paths are incorrect from e.g. adm/ PHPBB3-10323
* [feature/extension-manager] Prepend the phpbb_root_path if necessary.Nils Adermann2011-09-291-5/+4
| | | | PHPBB3-10323
* [feature/extension-manager] Add support for directories to the extension finderNils Adermann2011-09-291-0/+14
| | | | PHPBB3-10323
* [feature/extension-manager] Make sure the extension manager works without cacheNils Adermann2011-09-291-0/+13
| | | | | | Includes a test for manager without a cache PHPBB3-10323
* [feature/extension-manager] Make the cache variable name for extensions dynamicNils Adermann2011-09-291-3/+3
| | | | | | Allows multiple instances to use cache simultaneously. PHPBB3-10323
* [feature/extension-manager] Test creation of new extension finder cacheNils Adermann2011-09-291-1/+30
| | | | PHPBB3-10323