aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/10890] Fix test_sql_fetchrow_returns_false_when_empty() on MS and ORA.Andreas Fischer2012-05-221-1/+3
| | | | | | | Fix phpbb_dbal_select_test::test_sql_fetchrow_returns_false_when_empty() on MSSQL and Oracle by specifying an existing table in the query. PHPBB3-10890
* Merge remote-tracking branch 'p/ticket/10891' into develop-olympusAndreas Fischer2012-05-132-2/+18
|\ | | | | | | | | | | | | | | * p/ticket/10891: [ticket/10891] Allow specifying test_config.php path via environment. Conflicts: tests/RUNNING_TESTS.txt
| * [ticket/10891] Allow specifying test_config.php path via environment.Oleg Pudeyev2012-05-112-2/+18
| | | | | | | | PHPBB3-10891
* | Merge remote-tracking branch 'p/ticket/10892' into develop-olympusAndreas Fischer2012-05-131-9/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | * p/ticket/10892: [ticket/10892] Update wiki link to mediawiki. [ticket/10892] Add empty lines for consistency. [ticket/10892] Reformat RUNNING_TESTS.txt to 79 char lines. [ticket/10892] Reformat RUNNING_TESTS.txt to 80 char lines.
| * | [ticket/10892] Update wiki link to mediawiki.Oleg Pudeyev2012-05-111-1/+1
| | | | | | | | | | | | PHPBB3-10892
| * | [ticket/10892] Add empty lines for consistency.Oleg Pudeyev2012-05-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some headings had empty lines after them, some did not. Add missing empty lines. PHPBB3-10892
| * | [ticket/10892] Reformat RUNNING_TESTS.txt to 79 char lines.Oleg Pudeyev2012-05-111-3/+3
| | | | | | | | | | | | PHPBB3-10892
| * | [ticket/10892] Reformat RUNNING_TESTS.txt to 80 char lines.Patrick Webster2012-05-111-5/+7
| |/ | | | | | | PHPBB3-10892
* | [ticket/10889] Make default value for c_char_size a CHAR(4) as defined.Andreas Fischer2012-05-111-1/+1
| | | | | | | | PHPBB3-10889
* | [ticket/10887] Add spaces.Oleg Pudeyev2012-05-111-1/+1
| | | | | | | | PHPBB3-10887
* | [ticket/10887] Split auto increment test from db tools test.Oleg Pudeyev2012-05-102-45/+100
|/ | | | | | | | | | | Auto increment test does not need any particular columns and should not depend, in particular, on correct handling of binary data. This commit moves auto increment test into its own file and gives it its own table with a simple schema. PHPBB3-10887
* [ticket/10858] Tests for row seeking with fetchfield()Patrick Webster2012-05-081-0/+26
| | | | PHPBB3-10858
* [ticket/10492] Fix line endingsPatrick Webster2012-04-211-26/+26
| | | | PHPBB3-10492
* [ticket/10492] Backporting functional testsPatrick Webster2012-04-214-0/+207
| | | | PHPBB3-10492
* [ticket/10492] Separate config generation from the installerPatrick Webster2012-04-202-37/+50
| | | | PHPBB3-10492
* [ticket/10774] Add unit tests for UNIQUE index existence and creation.Andreas Fischer2012-04-101-0/+11
| | | | PHPBB3-10774
* [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1.Andreas Fischer2012-03-041-1/+1
| | | | PHPBB3-10653
* [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count().Andreas Fischer2012-03-041-0/+25
| | | | PHPBB3-10653
* [ticket/10512] Call startup.php from tests/bootstrap.phpAndreas Fischer2012-02-041-18/+2
| | | | PHPBB3-10512
* [ticket/9916] Updating License in the headerUnknown2012-01-0245-45/+45
| | | | PHPBB3-9916
* Merge remote-tracking branch 'cyberalien/ticket/10507' into develop-olympusOleg Pudeyev2011-12-242-0/+101
|\ | | | | | | | | | | * cyberalien/ticket/10507: [ticket/10507] DBAL unit test [ticket/10507] Sort styles in acp
| * [ticket/10507] DBAL unit testVjacheslav Trushkin2011-12-152-0/+101
| | | | | | | | | | | | Unit test for ORDER BY LOWER(style_name) PHPBB3-10507
* | Merge remote-tracking branch 'Noxwizard/ticket/10349' into develop-olympusOleg Pudeyev2011-12-031-38/+7
|\ \ | |/ |/| | | | | | | | | | | | | * Noxwizard/ticket/10349: [ticket/10349] Removed duplicated functions from schema loading in tests [ticket/10349] Update function comment [ticket/10349] Use new schema comment function in installer [ticket/10349] Unit tests: Consolidate schema comment removal functions [ticket/10349] Unit tests: Remove comments while loading schema files
| * [ticket/10349] Removed duplicated functions from schema loading in testsPatrick Webster2011-10-291-43/+4
| | | | | | | | PHPBB3-10349
| * [ticket/10349] Update function commentPatrick Webster2011-09-281-2/+0
| | | | | | | | PHPBB3-10349
| * [ticket/10349] Unit tests: Consolidate schema comment removal functionsPatrick Webster2011-09-201-58/+11
| | | | | | | | PHPBB3-10349
| * [ticket/10349] Unit tests: Remove comments while loading schema filesPatrick Webster2011-09-031-1/+58
| | | | | | | | | | | | | | | | Perform the same operations that the installer does when preparing the schema files. These functions come straight from /includes/functions_install.php and /includes/functions_admin.php. PHPBB3-10349
* | [ticket/10483] Fix test suite when running with MySQL strict modeIgor Wiedler2011-11-214-0/+64
| | | | | | | | PHPBB3-10483
* | Merge remote-tracking branch 'github-nickvergessen/ticket/10296' into ↵Nils Adermann2011-11-182-0/+98
|\ \ | | | | | | | | | | | | | | | | | | | | | develop-olympus * github-nickvergessen/ticket/10296: [ticket/10296] Fix CROSS JOIN with INNER JOIN on MSSQL, Postgres and Oracle [ticket/10296] Add unit test for CROSS JOIN with INNER JOIN
| * | [ticket/10296] Add unit test for CROSS JOIN with INNER JOINJoas Schilling2011-11-152-0/+98
| | | | | | | | | | | | PHPBB3-10296
* | | Merge remote-tracking branch 'nickvergessen/ticket/9066' into develop-olympusAndreas Fischer2011-11-141-0/+35
|\ \ \ | |/ / |/| | | | | | | | | | | * nickvergessen/ticket/9066: [ticket/9066] Move regex into get_preg_expression function and add tests [ticket/9066] Disallow some database prefix to prevent same errors and problems
| * | [ticket/9066] Move regex into get_preg_expression function and add testsJoas Schilling2011-11-141-0/+35
| | | | | | | | | | | | PHPBB3-9066
* | | [ticket/10416] Pass dbport to PDO object in ...connection_manager::connect().Andreas Fischer2011-10-161-0/+5
| | | | | | | | | | | | PHPBB3-10416
* | | Merge remote-tracking branch 'bantu/ticket/10327' into develop-olympusIgor Wiedler2011-10-141-10/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10327: [ticket/10327] Use $this->tools instead of creating a new instance of db_tools. [ticket/10327] Also change CREATE UNIQUE INDEX to use ALTER TABLE.
| * | | [ticket/10327] Use $this->tools instead of creating a new instance of db_tools.Andreas Fischer2011-10-141-10/+3
| | | | | | | | | | | | | | | | PHPBB3-10327
* | | | [ticket/8240] Add ability to get a list of columns of a tables to db_tools.Andreas Fischer2011-10-141-0/+8
| | | | | | | | | | | | | | | | PHPBB3-8240
* | | | [ticket/8240] Add ability to get a list of tables to db_tools.Andreas Fischer2011-10-141-0/+7
|/ / / | | | | | | | | | PHPBB3-8240
* | | [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.Andreas Fischer2011-10-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CREATE INDEX is internally mapped to an ALTER INDEX statement. * CREATE INDEX requires the INDEX permission. * ALTER TABLE requires the (more powerful) ALTER permission. * We require the ALTER permission anyway for operation. * Changing CREATE INDEX to ALTER TABLE thus removes dependency on the INDEX permission which is good because some management software does not give out the INDEX permission by default. http://dev.mysql.com/doc/refman/5.0/en/create-index.html PHPBB3-10327
* | | [ticket/10307] Add a test for PHPBB3-10307Igor Wiedler2011-10-131-1/+17
|/ / | | | | | | PHPBB3-10307
* | [ticket/10394] Use call_user_func_array to pass a ref into a dynamic functionNils Adermann2011-09-271-2/+2
| | | | | | | | PHPBB3-10394
* | [ticket/10394] Remove call-time pass by reference from tests for PHP 5.4Nils Adermann2011-09-272-3/+3
| | | | | | | | PHPBB3-10394
* | [ticket/10369] Always include errfile and errline in format_errors().Andreas Fischer2011-09-181-0/+35
| | | | | | | | | | | | | | We remove the phpBB root path from errfile. This is consistent with how msg_handler handles E_WARNING messages etc. PHPBB3-10369
* | Merge remote-tracking branch 'p/ticket/10354' into develop-olympusIgor Wiedler2011-09-051-2/+3
|\ \ | | | | | | | | | | | | * p/ticket/10354: [ticket/10354] Include cache directory path in unwritable message.
| * | [ticket/10354] Include cache directory path in unwritable message.Oleg Pudeyev2011-09-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | When template tests are skipped because cache directory is not writable, include path to the cache directory into the message saying it is not writable. PHPBB3-10354
* | | Merge remote-tracking branch 'callumacrae/ticket/10240' into develop-olympusIgor Wiedler2011-09-053-0/+123
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * callumacrae/ticket/10240: [ticket/10240] Added optionset to mock_user in the tests. [ticket/10240] Fixed copyright year in censor_text_test.php. [ticket/10240] Fixed censor_text test assetEquals param order. [ticket/10240] Added censor_text tests for special characters. [ticket/10240] Added censor_text tests.
| * | | [ticket/10240] Added optionset to mock_user in the tests.Callum Macrae2011-08-232-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also made optionset use the value set by optionset. We're not checking whether the option is set or not, because we would just throw an error if it wasn't set, and it throws an error anyway. PHPBB3-10240
| * | | [ticket/10240] Fixed copyright year in censor_text_test.php.Callum Macrae2011-08-231-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10240
| * | | [ticket/10240] Fixed censor_text test assetEquals param order.Callum Macrae2011-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Before, expected and input were the wrong way round. PHPBB3-10240
| * | | [ticket/10240] Added censor_text tests for special characters.Callum Macrae2011-08-231-0/+10
| | | | | | | | | | | | | | | | PHPBB3-10240
| * | | [ticket/10240] Added censor_text tests.Callum Macrae2011-08-223-0/+107
| |/ / | | | | | | | | | PHPBB-10240