Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes. | Andreas Fischer | 2012-05-22 | 1 | -0/+5 |
| | | | | PHPBB3-10907 | ||||
* | [ticket/10890] Fix test_sql_fetchrow_returns_false_when_empty() on MS and ORA. | Andreas Fischer | 2012-05-22 | 1 | -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 | ||||
* | [ticket/10889] Make default value for c_char_size a CHAR(4) as defined. | Andreas Fischer | 2012-05-11 | 1 | -1/+1 |
| | | | | PHPBB3-10889 | ||||
* | [ticket/10887] Add spaces. | Oleg Pudeyev | 2012-05-11 | 1 | -1/+1 |
| | | | | PHPBB3-10887 | ||||
* | [ticket/10887] Split auto increment test from db tools test. | Oleg Pudeyev | 2012-05-10 | 2 | -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 Webster | 2012-05-08 | 1 | -0/+26 |
| | | | | PHPBB3-10858 | ||||
* | [ticket/10774] Add unit tests for UNIQUE index existence and creation. | Andreas Fischer | 2012-04-10 | 1 | -0/+11 |
| | | | | PHPBB3-10774 | ||||
* | [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1. | Andreas Fischer | 2012-03-04 | 1 | -1/+1 |
| | | | | PHPBB3-10653 | ||||
* | [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count(). | Andreas Fischer | 2012-03-04 | 1 | -0/+25 |
| | | | | PHPBB3-10653 | ||||
* | [ticket/9916] Updating License in the header | Unknown | 2012-01-02 | 5 | -5/+5 |
| | | | | PHPBB3-9916 | ||||
* | [ticket/10507] DBAL unit test | Vjacheslav Trushkin | 2011-12-15 | 2 | -0/+101 |
| | | | | | | Unit test for ORDER BY LOWER(style_name) PHPBB3-10507 | ||||
* | [ticket/10483] Fix test suite when running with MySQL strict mode | Igor Wiedler | 2011-11-21 | 2 | -0/+32 |
| | | | | PHPBB3-10483 | ||||
* | [ticket/10296] Add unit test for CROSS JOIN with INNER JOIN | Joas Schilling | 2011-11-15 | 2 | -0/+98 |
| | | | | PHPBB3-10296 | ||||
* | Merge remote-tracking branch 'bantu/ticket/10327' into develop-olympus | Igor Wiedler | 2011-10-14 | 1 | -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 Fischer | 2011-10-14 | 1 | -10/+3 |
| | | | | | | | | PHPBB3-10327 | ||||
* | | [ticket/8240] Add ability to get a list of columns of a tables to db_tools. | Andreas Fischer | 2011-10-14 | 1 | -0/+8 |
| | | | | | | | | PHPBB3-8240 | ||||
* | | [ticket/8240] Add ability to get a list of tables to db_tools. | Andreas Fischer | 2011-10-14 | 1 | -0/+7 |
|/ | | | | PHPBB3-8240 | ||||
* | [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL. | Andreas Fischer | 2011-10-14 | 1 | -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-10307 | Igor Wiedler | 2011-10-13 | 1 | -1/+17 |
| | | | | PHPBB3-10307 | ||||
* | [ticket/10346] Add drop_tables to perform_schema_changes and add tests | Nils Adermann | 2011-08-29 | 1 | -0/+60 |
| | | | | PHPBB3-10346 | ||||
* | [ticket/10247] Add a db_tools test for the removal of a primary key column. | Nils Adermann | 2011-07-03 | 1 | -1/+9 |
| | | | | | | | The previous drop column test already deleted the primary key, so that one was replaced with an ordinary column. PHPBB3-10247 | ||||
* | [ticket/9892] Correct copyright year | Nils Adermann | 2011-06-12 | 1 | -1/+1 |
| | | | | PHPBB3-9892 | ||||
* | [ticket/9892] Remove incorrect use of camel case | Nils Adermann | 2011-06-12 | 1 | -2/+2 |
| | | | | PHPBB3-9892 | ||||
* | [ticket/9892] Adding a number of tests for db_tools | Nils Adermann | 2011-06-12 | 1 | -0/+268 |
| | | | | | | | | | | The test creates a table and runs a number of queries on it to judge whether the selected column types can hold the data they are expected to contain. Additional test methods check the auto increment feature and a few of the basic commands of db_tools. This is only a starting point. Plenty more tests need to be added. PHPBB3-9892 | ||||
* | [ticket/9685] Test for databases that are able to nest transactions | Nils Adermann | 2011-06-02 | 1 | -0/+24 |
| | | | | | | | | | If a database is unable to nest transactions the dbal should implement sql_buffer_nested_transactions to signal that buffering of the outer results and closing of the outer transaction is required to open the inner transaction. PHPBB3-9685 | ||||
* | [ticket/10011] Tests don't work on PHP < 5.3 | Erik Frèrejean | 2011-01-31 | 2 | -2/+2 |
| | | | | | | | | Due to the usage of `__DIR__` for the file includes the tests can't be ran on systems with PHP < 5.3. Replace all occurances of `__DIR__` with `dirname(__FILE__)`. PHPBB3-10011 | ||||
* | [ticket/9987] Rename test files to include a _test suffix | Igor Wiedler | 2011-01-10 | 2 | -0/+0 |
| | | | | PHPBB3-9987 | ||||
* | [task/phpunit-xml] Use phpunit.xml for test suite | Igor Wiedler | 2011-01-04 | 3 | -46/+2 |
| | | | | PHPBB3-9967 | ||||
* | [task/mssql-db-tests] Split up database tests into SELECT and write operations | Nils Adermann | 2010-10-25 | 4 | -173/+195 |
| | | | | | | | SELECT is based on the user table fixture, write (INSERT/UPDATE/DELETE) is tested using the config table fixture. PHPBB3-9868 | ||||
* | [ticket/9592] Remove test cases for empty IN() | Igor Wiedler | 2010-09-12 | 1 | -2/+3 |
| | | | | | | They failed under SQLite because SQLite accepts empty IN() syntax. PHPBB3-9592 | ||||
* | [feature/dbal-tests] Follow the coding guidelines and ... | Joas Schilling | 2010-06-17 | 1 | -50/+88 |
| | | | | | | resolved a bug caused by a missing order-by. PHPBB3-9625 | ||||
* | [feature/dbal-tests] Update data | Joas Schilling | 2010-06-17 | 1 | -0/+42 |
| | | | | PHPBB3-9625 | ||||
* | [feature/dbal-tests] Multi insert | Joas Schilling | 2010-06-17 | 1 | -0/+26 |
| | | | | PHPBB3-9625 | ||||
* | [feature/dbal-tests] Delete data | Joas Schilling | 2010-06-17 | 1 | -0/+30 |
| | | | | PHPBB3-9625 | ||||
* | [feature/dbal-tests] Insert data | Joas Schilling | 2010-06-17 | 1 | -0/+34 |
| | | | | PHPBB3-9625 | ||||
* | [feature/dbal-tests] Fix SQL-ERROR: invalid input syntax for integer: "" | Joas Schilling | 2010-06-17 | 1 | -16/+8 |
| | | | | PHPBB3-9625 | ||||
* | [feature/dbal-tests] Fix whitespace and line endings. | Nils Adermann | 2010-04-01 | 1 | -19/+19 |
| | |||||
* | [feature/dbal-tests] Make some tests for build_array_data on SELECT | Joas Schilling | 2010-03-27 | 1 | -3/+46 |
| | |||||
* | [feature/dbal-tests] Make some tests for return_on_error on SELECT-queries | Joas Schilling | 2010-03-26 | 1 | -8/+208 |
| | |||||
* | [feature/dbal-tests] Tests for $db->sql_query_limit() | Joas Schilling | 2010-03-26 | 2 | -1/+47 |
| | |||||
* | [feature/dbal-tests] Added tests for dbal fetchrow and fetchfield. | Joas Schilling | 2010-03-26 | 3 | -0/+98 |