aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes.Andreas Fischer2012-05-221-0/+5
| | | | PHPBB3-10907
* [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
* [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/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/9916] Updating License in the headerUnknown2012-01-025-5/+5
| | | | PHPBB3-9916
* [ticket/10507] DBAL unit testVjacheslav Trushkin2011-12-152-0/+101
| | | | | | Unit test for ORDER BY LOWER(style_name) PHPBB3-10507
* [ticket/10483] Fix test suite when running with MySQL strict modeIgor Wiedler2011-11-212-0/+32
| | | | PHPBB3-10483
* [ticket/10296] Add unit test for CROSS JOIN with INNER JOINJoas Schilling2011-11-152-0/+98
| | | | PHPBB3-10296
* 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/10346] Add drop_tables to perform_schema_changes and add testsNils Adermann2011-08-291-0/+60
| | | | PHPBB3-10346
* [ticket/10247] Add a db_tools test for the removal of a primary key column.Nils Adermann2011-07-031-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 yearNils Adermann2011-06-121-1/+1
| | | | PHPBB3-9892
* [ticket/9892] Remove incorrect use of camel caseNils Adermann2011-06-121-2/+2
| | | | PHPBB3-9892
* [ticket/9892] Adding a number of tests for db_toolsNils Adermann2011-06-121-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 transactionsNils Adermann2011-06-021-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.3Erik Frèrejean2011-01-312-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 suffixIgor Wiedler2011-01-102-0/+0
| | | | PHPBB3-9987
* [task/phpunit-xml] Use phpunit.xml for test suiteIgor Wiedler2011-01-043-46/+2
| | | | PHPBB3-9967
* [task/mssql-db-tests] Split up database tests into SELECT and write operationsNils Adermann2010-10-254-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 Wiedler2010-09-121-2/+3
| | | | | | They failed under SQLite because SQLite accepts empty IN() syntax. PHPBB3-9592
* [feature/dbal-tests] Follow the coding guidelines and ...Joas Schilling2010-06-171-50/+88
| | | | | | resolved a bug caused by a missing order-by. PHPBB3-9625
* [feature/dbal-tests] Update dataJoas Schilling2010-06-171-0/+42
| | | | PHPBB3-9625
* [feature/dbal-tests] Multi insertJoas Schilling2010-06-171-0/+26
| | | | PHPBB3-9625
* [feature/dbal-tests] Delete dataJoas Schilling2010-06-171-0/+30
| | | | PHPBB3-9625
* [feature/dbal-tests] Insert dataJoas Schilling2010-06-171-0/+34
| | | | PHPBB3-9625
* [feature/dbal-tests] Fix SQL-ERROR: invalid input syntax for integer: ""Joas Schilling2010-06-171-16/+8
| | | | PHPBB3-9625
* [feature/dbal-tests] Fix whitespace and line endings.Nils Adermann2010-04-011-19/+19
|
* [feature/dbal-tests] Make some tests for build_array_data on SELECTJoas Schilling2010-03-271-3/+46
|
* [feature/dbal-tests] Make some tests for return_on_error on SELECT-queriesJoas Schilling2010-03-261-8/+208
|
* [feature/dbal-tests] Tests for $db->sql_query_limit()Joas Schilling2010-03-262-1/+47
|
* [feature/dbal-tests] Added tests for dbal fetchrow and fetchfield.Joas Schilling2010-03-263-0/+98