aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developAndreas Fischer2012-12-051-0/+74
|\ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10716] Collect standard error from executed php process. [ticket/10716] Skip test if php is not in PATH. [ticket/10716] Exclude our dependencies from linting. [ticket/10716] Only lint on php 5.3+. [ticket/10716] php parse all php files as part of the test suite.
| * [ticket/10716] Collect standard error from executed php process.Oleg Pudeyev2012-12-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | php executes everything via a shell. The standard error of this top level shell is not captured by exec/shell_exec/popen/etc. and there is no way to capture it. proc_open might work but it is a nightmare to use and without multiplexing reads from standard error and standard output it can deadlock. Thus the solution in this commit. Put the command into a subshell and redirect standard error to standard output for the subshell. PHPBB3-10716
| * [ticket/10716] Skip test if php is not in PATH.Oleg Pudeyev2012-12-041-0/+8
| | | | | | | | PHPBB3-10716
| * [ticket/10716] Exclude our dependencies from linting.Oleg Pudeyev2012-12-041-1/+12
| | | | | | | | PHPBB3-10716
| * [ticket/10716] Only lint on php 5.3+.Oleg Pudeyev2012-12-041-0/+5
| | | | | | | | PHPBB3-10716
| * [ticket/10716] php parse all php files as part of the test suite.Oleg Pudeyev2012-12-041-0/+49
| | | | | | | | PHPBB3-10716
* | Merge remote-tracking branch 'p/ticket/10103' into developAndreas Fischer2012-12-041-0/+109
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10103: [ticket/10103] New and improved wording. [ticket/10103] Assert with messages. [ticket/10103] assertLessThan/assertGreaterThan. [ticket/10103] Inline assignment is bad? [ticket/10103] $rv had too few characters. [ticket/10103] Correct flock class documentation. [ticket/10103] Try a longer sleep for travis. [ticket/10103] Convert the rest of the tree to flock class. [ticket/10103] Test for flock lock class, with concurrency no less. [ticket/10103] Use flock lock class in messenger. [ticket/10103] Factor out flock lock class.
| * | [ticket/10103] Assert with messages.Oleg Pudeyev2012-12-041-2/+2
| | | | | | | | | | | | PHPBB3-10103
| * | [ticket/10103] assertLessThan/assertGreaterThan.Oleg Pudeyev2012-12-041-2/+2
| | | | | | | | | | | | PHPBB3-10103
| * | [ticket/10103] Inline assignment is bad?Oleg Pudeyev2012-12-041-1/+2
| | | | | | | | | | | | PHPBB3-10103
| * | [ticket/10103] Try a longer sleep for travis.Oleg Pudeyev2012-12-041-1/+1
| | | | | | | | | | | | | | | | | | Apparently travis takes longer than half a second to fork php. PHPBB3-10103
| * | [ticket/10103] Test for flock lock class, with concurrency no less.Oleg Pudeyev2012-12-041-0/+108
| | | | | | | | | | | | PHPBB3-10103
* | | Merge remote-tracking branch 'p/ticket/9983' into developAndreas Fischer2012-12-044-118/+33
|\ \ \ | | | | | | | | | | | | | | | | * p/ticket/9983: [ticket/9983] Make sql cache test into a black box.
| * | | [ticket/9983] Make sql cache test into a black box.Oleg Pudeyev2012-12-034-118/+33
| |/ / | | | | | | | | | | | | | | | | | | This makes it non-driver-specific and also makes it possible to make prefix variable private on drivers. PHPBB3-9983
* | | [ticket/9983] Correct incorrect markTestSkipped call.Oleg Pudeyev2012-12-041-1/+1
|/ / | | | | | | PHPBB3-9983
* | [ticket/9983] Also check generic APC enable/disable.Andreas Fischer2012-12-031-0/+6
| | | | | | | | PHPBB3-9983
* | [ticket/9983] Use APC instead of apc in error messages.Andreas Fischer2012-12-031-1/+1
| | | | | | | | PHPBB3-9983
* | [ticket/9983] Skip tests if APC is not enabled for CLI.Andreas Fischer2012-12-031-0/+6
| | | | | | | | PHPBB3-9983
* | [ticket/9983] Test for apc cache driver.Oleg Pudeyev2012-12-031-0/+79
| | | | | | | | PHPBB3-9983
* | [ticket/9983] Add phpbb prefix to global variables.Oleg Pudeyev2012-12-022-6/+6
| | | | | | | | PHPBB3-9983
* | [ticket/9983] Indeed, it is <?php.Oleg Pudeyev2012-12-021-1/+1
| | | | | | | | PHPBB3-9983
* | [ticket/9983] Add a test for destroy.Oleg Pudeyev2012-12-012-0/+29
| | | | | | | | PHPBB3-9983
* | [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