aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | [ticket/11174] rename native wrapper classDhruv2012-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | native wrapper class is limited to the native search backend hence renamed. the one used with mysql can be used with pgsql too. PHPBB3-11174
* | | | [ticket/11174] add mysql unit testsDhruv2012-11-271-0/+155
| | | | | | | | | | | | | | | | PHPBB3-11174
* | | | Merge remote-tracking branch 'imkingdavid/feature/controller-new' into developIgor Wiedler2012-11-1923-171/+250
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * imkingdavid/feature/controller-new: (67 commits) [feature/controller] Fix misnamed route for functional test [feature/controller] Fix comments, check against more general HttpException [feature/controller] Check for proper status codes from controllers [feature/controller] Correctly create Symfony object from globals [feature/controller] Add documentation about input being HTML-escaped [feature/controller] Create Symfony Request in new function [feature/controller] Remove unused language strings [feature/controller] Don't use $user->lang() before container compilation [feature/controller] Update routing documentation for using query string [feature/controller] Remove now-unused code [feature/controller] Remove url rewriting until we use pathinfo in controllers [feature/controller] Fix functional tests to use query string for controllers [feature/controller] Allow injecting Symfony Request into controllers [feature/controller] Use query string, not path info, for controller access [feature/controller] Fix line endings and permissions, and check responses [feature/controller] Remove URL rewriting by default [feature/controller] Add controller functional test with template [feature/controller] Use warning instead of echo for copy() and unlink() [feature/controller] Flip method parameters, require $message [feature/controller] Rename $root_path class property to $phpbb_root_path ...
| * | | [feature/controller] Fix misnamed route for functional testDavid King2012-11-191-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Fix comments, check against more general HttpExceptionDavid King2012-11-191-3/+4
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Check for proper status codes from controllersDavid King2012-11-193-1/+21
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Fix functional tests to use query string for controllersDavid King2012-11-181-4/+4
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Fix line endings and permissions, and check responsesDavid King2012-11-165-6/+10
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Add controller functional test with templateDavid King2012-11-165-5/+52
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Use warning instead of echo for copy() and unlink()David King2012-11-161-8/+2
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Add test for missing argument in controller classDavid King2012-11-164-2/+19
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Reword comment for clarificationDavid King2012-11-161-4/+3
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Use sizeof() instead of count() as per guidelinesDavid King2012-11-161-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Adapt functional tests given new controller frameworkDavid King2012-11-1616-193/+69
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Fix testsDavid King2012-11-161-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Removed another empty construct methodDavid King2012-11-161-7/+0
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Remove empty __construct() methodDavid King2012-11-161-7/+0
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Add _controller attribute to Request after instantiationDavid King2012-11-161-2/+4
| | | | | | | | | | | | | | | | PHPBB3-10864
| * | | [feature/controller] Implement a front controllerDavid King2012-11-167-0/+133
| | | | | | | | | | | | | | | | PHPBB3-10864
* | | | Merge remote-tracking branch 'p/ticket/10933' into developIgor Wiedler2012-11-171-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10933: [ticket/10933] Prose for get_first_file_location. [ticket/10933] Remaining documentation for added functions in resource locator [ticket/10933] Update template locator test to use style resource locator. [ticket/10933] Dispose of locate function in template class. [ticket/10933] Add mutators for template_path to style resource locator. [ticket/10933] Delete template_path assignment. [ticket/10933] Delete template_path from template class. [ticket/10933] Add get_first_template_location.
| * | | [ticket/10933] Update template locator test to use style resource locator.Oleg Pudeyev2012-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason for it to go through a template instance to test resource locator functionality. PHPBB3-10933
* | | | Merge PR #1074 branch 'develop-olympus' into developOleg Pudeyev2012-11-161-0/+71
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11192] Merge dataProvider arrays because the test is the same now. [ticket/11192] Update $value parameter description to support other types. [ticket/11192] Mark negative byte numbers as unsupported. [ticket/11192] Test strings not converted to int/float before. [ticket/11192] Also test strings, e.g. sums returned by the database. [ticket/11192] Also test powers of 10 / 1000. [ticket/11192] Add tests. [ticket/11192] Add Tebibyte to get_formatted_filesize().
| * | | Merge PR #1074 branch 'bantu/ticket/11192' into develop-olympusOleg Pudeyev2012-11-161-0/+71
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/11192: [ticket/11192] Merge dataProvider arrays because the test is the same now. [ticket/11192] Update $value parameter description to support other types. [ticket/11192] Mark negative byte numbers as unsupported. [ticket/11192] Test strings not converted to int/float before. [ticket/11192] Also test strings, e.g. sums returned by the database. [ticket/11192] Also test powers of 10 / 1000. [ticket/11192] Add tests. [ticket/11192] Add Tebibyte to get_formatted_filesize().
| | * | | [ticket/11192] Merge dataProvider arrays because the test is the same now.Andreas Fischer2012-11-161-15/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11192
| | * | | [ticket/11192] Mark negative byte numbers as unsupported.Andreas Fischer2012-11-161-16/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-11192
| | * | | [ticket/11192] Test strings not converted to int/float before.Andreas Fischer2012-11-161-2/+36
| | | | | | | | | | | | | | | | | | | | PHPBB3-11192
| | * | | [ticket/11192] Also test strings, e.g. sums returned by the database.Andreas Fischer2012-11-161-0/+10
| | | | | | | | | | | | | | | | | | | | PHPBB3-11192
| | * | | [ticket/11192] Also test powers of 10 / 1000.Andreas Fischer2012-11-161-0/+7
| | | | | | | | | | | | | | | | | | | | PHPBB3-11192
| | * | | [ticket/11192] Add tests.Oleg Pudeyev2012-11-151-0/+50
| | | | | | | | | | | | | | | | | | | | PHPBB3-11192
* | | | | Merge PR #1060 branch 'develop-olympus' into developOleg Pudeyev2012-11-151-6/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * develop-olympus: [ticket/11186] Database unit tests fail on windows using sqlite2
| * | | | Merge PR #1060 branch 'nickvergessen/ticket/11186' into develop-olympusOleg Pudeyev2012-11-151-6/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11186: [ticket/11186] Database unit tests fail on windows using sqlite2
| | * | | | [ticket/11186] Database unit tests fail on windows using sqlite2Joas Schilling2012-11-101-6/+0
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is, that we try to recreate the db and reconnect to it, while the old connection is still hold. To resolve this, we just drop all tables and recreate the tables instead of the hole db. PHPBB3-11186
* | | | | Merge remote-tracking branch 'p/ticket/11202' into developAndreas Fischer2012-11-151-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/11202: [ticket/11202] Check response success before content assertions.
| * | | | | [ticket/11202] Check response success before content assertions.Oleg Pudeyev2012-11-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not change tests that perform requests which are either clearly not supposed to succeed or are a gray area. PHPBB3-11202
* | | | | | [ticket/11204] Reindent.Oleg Pudeyev2012-11-151-11/+11
|/ / / / / | | | | | | | | | | | | | | | PHPBB3-11204
* | | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-11-152-0/+18
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11202] Custom message does not make sense here, delete it. [ticket/11202] Check response success before content assertions. [ticket/11202] Add a heuristic function to check for response success. Conflicts: tests/test_framework/phpbb_functional_test_case.php
| * | | | Merge remote-tracking branch 'p/ticket/11202-olympus' into develop-olympusAndreas Fischer2012-11-152-1/+19
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/11202-olympus: [ticket/11202] Custom message does not make sense here, delete it. [ticket/11202] Check response success before content assertions. [ticket/11202] Add a heuristic function to check for response success.
| | * | | | [ticket/11202] Custom message does not make sense here, delete it.Oleg Pudeyev2012-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11202
| | * | | | [ticket/11202] Check response success before content assertions.Oleg Pudeyev2012-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not change tests that perform requests which are either clearly not supposed to succeed or are a gray area. PHPBB3-11202
| | * | | | [ticket/11202] Add a heuristic function to check for response success.Oleg Pudeyev2012-11-151-1/+16
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | This tries to account for php sending fatal errors with 200 status code. PHPBB3-11202
| * | | | [ticket/11190] Functional tests purge cache before running.Fyorl2012-11-111-0/+23
| |/ / / | | | | | | | | | | | | | | | | | | | | Added functions to get and purge cache to functional framework also. PHPBB3-11190
* | | | Merge PR #1070 branch 'Fyorl/ticket/11190-develop' into developOleg Pudeyev2012-11-151-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/11190-develop: [ticket/11190-develop] Functional tests purge cache before running.
| * | | | [ticket/11190-develop] Functional tests purge cache before running.Fyorl2012-11-111-0/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11190
* | | | | Merge pull request #1056 from igorw/feature/compiled-dicNils Adermann2012-11-115-51/+244
|\ \ \ \ \ | |/ / / / |/| | | | [feature/compiled-dic] Compile the DI Container into a cached class
| * | | | [ticket/11152] Basic tests for the container functionsIgor Wiedler2012-11-112-0/+83
| | | | | | | | | | | | | | | | | | | | PHPBB3-11152
| * | | | [feature/compiled-dic] Remove old testDavid King2012-11-101-50/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-11152
| * | | | [feature/compiled-dic] Compile the DI Container into a cached classDavid King2012-11-102-1/+161
| | | | | | | | | | | | | | | | | | | | PHPBB3-11152
* | | | | Merge remote-tracking branch 'Fyorl/ticket/10939' into developAndreas Fischer2012-11-103-2/+38
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10939: [ticket/10939] Added documentation for phpbb_request::file [ticket/10939] Added tests for phpbb_request::file [ticket/10939] Modified the default return for $request->file [ticket/10939] Modified fileupload tests to deal with new behaviour [ticket/10939] Modified mock request class to handle deactivated $_FILES [ticket/10939] Modified acp_groups.php to not use $_FILES [ticket/10939] Modified ucp_groups.php to not use $_FILES [ticket/10939] Modified functions_user.php to not use $_FILES [ticket/10939] Modified message_parser.php to not use $_FILES [ticket/10939] Modified functions_upload to not use $_FILES [ticket/10939] Modified request test slightly to include $_FILES [ticket/10939] Added $_FILES handling to phpbb_request
| * | | | | [ticket/10939] Added tests for phpbb_request::fileFyorl2012-08-201-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10939
| * | | | | [ticket/10939] Modified fileupload tests to deal with new behaviourFyorl2012-08-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10939