aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/9983] Exercise exists also.Oleg Pudeyev2012-12-011-1/+3
| | | | PHPBB3-9983
* [ticket/9983] Add a purge test.Oleg Pudeyev2012-12-012-0/+21
| | | | PHPBB3-9983
* [ticket/9983] Rename test methods.Oleg Pudeyev2012-12-013-3/+3
| | | | PHPBB3-9983
* [ticket/9983] get/put cache test moved to a base class.Oleg Pudeyev2012-12-014-14/+40
| | | | PHPBB3-9983
* [ticket/9983] Create driver in setup in null driver test.Oleg Pudeyev2012-12-011-3/+10
| | | | PHPBB3-9983
* [ticket/9983] Split cache test into per-driver files.Oleg Pudeyev2012-12-014-208/+251
| | | | PHPBB3-9983
* [ticket/9983] Add redis cache driver tests.Oleg Pudeyev2012-12-013-2/+100
| | | | | | | | | | | In order to not overwrite data in default redis store, at least one of redis host or post must be explicitly specified. Redis cache driver constructor has been modified to accept host and port as parameters. This was not added to public API as there are more parameters being passed via global constants. PHPBB3-9983
* Merge PR #974 branch 'bantu/ticket/10875' into developOleg Pudeyev2012-11-302-3/+39
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10875: [ticket/10875] tests/cache/cache_test.php: Use single quotes where possible. [ticket/10875] Test for null cache driver and sql cache. [ticket/10875] Revise sql cache test. [ticket/10875] Must return query result on failure. [ticket/10875] More documentation. [ticket/10875] Spelling fix. [ticket/10875] Add docblocks for phpbb_cache_driver_interface [ticket/10875] Add comment about cache's sql_load() method. [ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save(). [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result. [ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save(). [ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
| * [ticket/10875] tests/cache/cache_test.php: Use single quotes where possible.Andreas Fischer2012-12-011-2/+2
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Test for null cache driver and sql cache.Oleg Pudeyev2012-11-301-0/+29
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Revise sql cache test.Oleg Pudeyev2012-11-301-4/+10
| | | | | | | | | | | | | | Delete data from database before retrieving it from cache, ensuring results come from cache. PHPBB3-10875
| * [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result.Andreas Fischer2012-10-301-0/+1
| | | | | | | | PHPBB3-10875
* | Merge remote-tracking branch 'p/ticket/11202' into developAndreas Fischer2012-11-291-0/+3
|\ \ | | | | | | | | | | | | | | | * p/ticket/11202: [ticket/11202] Fix comment char, use more descriptive comment. [ticket/11202] Add response assertions to file upload functional test.
| * | [ticket/11202] Fix comment char, use more descriptive comment.Oleg Pudeyev2012-11-181-1/+1
| | | | | | | | | | | | PHPBB3-11202
| * | [ticket/11202] Add response assertions to file upload functional test.Oleg Pudeyev2012-11-181-0/+3
| | | | | | | | | | | | PHPBB3-11202
* | | [ticket/11174] Global $cache is a cache service instance.Oleg Pudeyev2012-11-273-3/+3
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Delete more copy pasting.Oleg Pudeyev2012-11-273-190/+110
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Drop needless teardown functions.Oleg Pudeyev2012-11-273-15/+0
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] These tests do not need posts fixtures.Oleg Pudeyev2012-11-272-2/+2
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Empty fixture for when we don't need any data.Oleg Pudeyev2012-11-271-0/+5
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Eliminate search wrapper copy pasting.Oleg Pudeyev2012-11-273-24/+8
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Extract phpbb_search_test_case.Oleg Pudeyev2012-11-272-18/+31
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Delete copy pasting.Oleg Pudeyev2012-11-272-28/+0
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] Move assertion definition to base class.Oleg Pudeyev2012-11-272-16/+16
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] add unit tests for postgres search backendDhruv2012-11-271-0/+155
| | | | | | | | | | | | PHPBB3-11174
* | | [ticket/11174] negation queries do not return falseDhruv2012-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | negation queries are split into words too and returns false in mysql search backend PHPBB3-11174
* | | [ticket/11174] set config valuesDhruv2012-11-271-7/+18
| | | | | | | | | | | | | | | | | | set config values and use min length as 4 for wordss in test cases PHPBB3-11174
* | | [ticket/11174] add test case for native testDhruv2012-11-271-0/+8
| | | | | | | | | | | | PHPBB3-11174
* | | [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().