aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | [ticket/10972] Added methods for creating and deleting basic usersFyorl2012-12-062-2/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified the login method to allow logging in of an arbitrary user. Also added tests for the new functionality. PHPBB3-10972
* | | | Merge remote-tracking branch 'p/ticket/10205' into develop-olympusAndreas Fischer2012-12-082-0/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10205: [ticket/10205] Reduce nesting in mysql drivers. [ticket/10205] Rewrite _sql_error implementations to have a single return. [ticket/10205] Cosmetic changes. [ticket/10205] Add some columns to the empty fixture file for mssqlnative. [ticket/10205] Delete stray return. [ticket/10205] Test failed connection attempts. [ticket/10205] Check for function existence in mssql connect method. [ticket/10205] Convert mssqlnative driver to the same logic. [ticket/10205] Fix a parse error in oracle driver. [ticket/10205] Fix remaining db drivers. [ticket/10205] Avoid calling mysqli functions when mysqli is missing. [ticket/10205] Account for potentially missing extensions in dbal.
| * | | | [ticket/10205] Cosmetic changes.Oleg Pudeyev2012-12-041-1/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-10205
| * | | | [ticket/10205] Add some columns to the empty fixture file for mssqlnative.Oleg Pudeyev2012-12-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supposedly it choked on the version without any columns thusly: phpbb_dbal_connect_test::test_failing_connect PDOException: SQLSTATE[HY090]: [Microsoft][ODBC Driver Manager] Invalid string or buffer length PHPBB3-10205
| * | | | [ticket/10205] Delete stray return.Oleg Pudeyev2012-12-041-2/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-10205
| * | | | [ticket/10205] Test failed connection attempts.Oleg Pudeyev2012-12-042-0/+49
| | |/ / | |/| | | | | | | | | | PHPBB3-10205
* | | | Merge remote-tracking branch 'p/ticket/11248' into develop-olympusIgor Wiedler2012-12-071-51/+50
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * p/ticket/11248: [ticket/11248] Line endings to LF.
| * | | [ticket/11248] Line endings to LF.Oleg Pudeyev2012-12-051-51/+50
| | | | | | | | | | | | | | | | PHPBB3-11248
* | | | Merge PR #1101 branch 'Noxwizard/ticket/11219' into develop-olympusOleg Pudeyev2012-12-063-1/+181
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * Noxwizard/ticket/11219: [ticket/11219] Coding guidelines and naming consistency changes [ticket/11219] Only update sequences that are affected by a fixture [ticket/11219] Recreate Oracle sequences instead of altering them [ticket/11219] Add unit test for inserting into a sequence column [ticket/11219] Update sequence values after loading fixtures
| * | | [ticket/11219] Coding guidelines and naming consistency changesPatrick Webster2012-12-052-12/+14
| | | | | | | | | | | | | | | | PHPBB3-11219
| * | | [ticket/11219] Only update sequences that are affected by a fixturePatrick Webster2012-12-012-36/+55
| | | | | | | | | | | | | | | | PHPBB3-11219
| * | | [ticket/11219] Recreate Oracle sequences instead of altering themPatrick Webster2012-11-201-53/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous method would always leave a gap between the last value and the new one due to how you have to update the sequence values. To remove gaps in all situations, the options are to alter the USER_SEQUENCES table or just drop the sequence and recreate it. The prior requires elevated priveleges and the latter can break attached objects. Since we don't attach objects to the sequences, we won't have any problems doing it for the tests. PHPBB3-11219
| * | | [ticket/11219] Add unit test for inserting into a sequence columnJoas Schilling2012-11-191-0/+55
| | | | | | | | | | | | | | | | PHPBB3-11219
| * | | [ticket/11219] Update sequence values after loading fixturesPatrick Webster2012-11-182-0/+139
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | If a value is provide for an auto_increment type of column, certain DBMSes do not update their internal sequencers. If a row is inserted later, it can be given an ID that is already in use, resulting in an error. The database test cases now resynchronise the sequencers before the tests are run. PHPBB3-11219
* | | [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 PR #1074 branch 'bantu/ticket/11192' into develop-olympusOleg Pudeyev2012-11-161-0/+71
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/11192: [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().
| * | [ticket/11192] Merge dataProvider arrays because the test is the same now.Andreas Fischer2012-11-161-15/+1
| | | | | | | | | | | | PHPBB3-11192
| * | [ticket/11192] Mark negative byte numbers as unsupported.Andreas Fischer2012-11-161-16/+0
| | | | | | | | | | | | PHPBB3-11192
| * | [ticket/11192] Test strings not converted to int/float before.Andreas Fischer2012-11-161-2/+36
| | | | | | | | | | | | PHPBB3-11192
| * | [ticket/11192] Also test strings, e.g. sums returned by the database.Andreas Fischer2012-11-161-0/+10
| | | | | | | | | | | | PHPBB3-11192
| * | [ticket/11192] Also test powers of 10 / 1000.Andreas Fischer2012-11-161-0/+7
| | | | | | | | | | | | PHPBB3-11192
| * | [ticket/11192] Add tests.Oleg Pudeyev2012-11-151-0/+50
| | | | | | | | | | | | PHPBB3-11192
* | | Merge PR #1060 branch 'nickvergessen/ticket/11186' into develop-olympusOleg Pudeyev2012-11-151-6/+0
|\ \ \ | | | | | | | | | | | | | | | | * nickvergessen/ticket/11186: [ticket/11186] Database unit tests fail on windows using sqlite2
| * | | [ticket/11186] Database unit tests fail on windows using sqlite2Joas Schilling2012-11-101-6/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | The problem is, that we try to recreate the db and reconnect to it, while the old connection is still hold. To resolve this, we just drop all tables and recreate the tables instead of the hole db. PHPBB3-11186
* | | Merge remote-tracking branch 'p/ticket/11202-olympus' into develop-olympusAndreas Fischer2012-11-152-1/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/11202-olympus: [ticket/11202] Custom message does not make sense here, delete it. [ticket/11202] Check response success before content assertions. [ticket/11202] Add a heuristic function to check for response success.
| * | | [ticket/11202] Custom message does not make sense here, delete it.Oleg Pudeyev2012-11-151-2/+2
| | | | | | | | | | | | | | | | PHPBB3-11202
| * | | [ticket/11202] Check response success before content assertions.Oleg Pudeyev2012-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not change tests that perform requests which are either clearly not supposed to succeed or are a gray area. PHPBB3-11202
| * | | [ticket/11202] Add a heuristic function to check for response success.Oleg Pudeyev2012-11-151-1/+16
| |/ / | | | | | | | | | | | | | | | This tries to account for php sending fatal errors with 200 status code. PHPBB3-11202
* | | [ticket/11190] Functional tests purge cache before running.Fyorl2012-11-111-0/+23
|/ / | | | | | | | | | | Added functions to get and purge cache to functional framework also. PHPBB3-11190
* | [ticket/11159] static public is the currently approved order.Oleg Pudeyev2012-11-0610-19/+19
|/ | | | PHPBB3-11159
* [ticket/10848] Add phpbb_ prefix.Oleg Pudeyev2012-10-171-1/+1
| | | | PHPBB3-10848
* [ticket/10848] Redirect from adm to installer correctly.Oleg Pudeyev2012-10-171-0/+44
| | | | PHPBB3-10848
* Merge remote-tracking branch 'Fyorl/ticket/11045' into develop-olympusAndreas Fischer2012-09-1411-0/+166
|\ | | | | | | | | | | | | | | | | | | * Fyorl/ticket/11045: [ticket/11045] Removed file conflict tests for compress class [ticket/11045] Replaced __DIR__ with dirname(__FILE__) [ticket/11045] Opening brace on its own line [ticket/11045] Explicitely check for zlib and bz2 [ticket/11045] Added tests for file conflicts [ticket/11045] Added unit tests for the compress class
| * [ticket/11045] Removed file conflict tests for compress classFyorl2012-09-111-13/+2
| | | | | | | | PHPBB3-11045
| * [ticket/11045] Replaced __DIR__ with dirname(__FILE__)Fyorl2012-09-011-8/+8
| | | | | | | | PHPBB3-11045
| * [ticket/11045] Opening brace on its own lineFyorl2012-08-281-1/+2
| | | | | | | | PHPBB3-11045
| * [ticket/11045] Explicitely check for zlib and bz2Fyorl2012-08-281-2/+1
| | | | | | | | PHPBB3-11045
| * [ticket/11045] Added tests for file conflictsFyorl2012-08-281-5/+21
| | | | | | | | PHPBB3-11045
| * [ticket/11045] Added unit tests for the compress classFyorl2012-08-2811-0/+161
| | | | | | | | PHPBB3-11045
* | [task/functional] Fixed DEBUG_TEST related issuesDavid King2012-09-011-1/+1
| | | | | | | | PHPBB3-10758
* | [task/functional] Allow tests to bypass certain restrictions with DEBUG_TESTDavid King2012-09-011-9/+1
| | | | | | | | PHPBB3-10758
* | [task/functional] Added posting tests (reply and new topic)David King2012-09-011-0/+110
|/ | | | PHPBB-10758
* [ticket/11034] Re-arranged install order to emulate real installFyorl2012-07-301-4/+2
| | | | PHPBB3-11034
* Merge branch 'prep-release-3.0.11' into develop-olympusNils Adermann2012-07-221-0/+12
|\ | | | | | | | | * prep-release-3.0.11: [ticket/10667] Fix tests under MySQL 5.5 strict mode (once again)
| * [ticket/10667] Fix tests under MySQL 5.5 strict mode (once again)Igor Wiedler2012-07-221-0/+12
| | | | | | | | PHPBB3-10667
* | Merge branch 'prep-release-3.0.11' into develop-olympusNils Adermann2012-07-212-0/+305
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prep-release-3.0.11: [ticket/10950] Fix grammar in comments [ticket/10950] Delete PMs for users that have not yet read the pm [ticket/10950] Fix unit tests to fit the new pm deleting behaviour [ticket/10950] Update undelivered pm counts in batches not 1 by 1 for each user [ticket/10950] Remove deleted entries in tests instead of commenting them out [ticket/10950] Use database count() and group by instead of doing that in php [ticket/10950] Check $delete_ids to be not empty [ticket/10950] Recreated the behaviour of phpbb_delete_user_pms() [ticket/10950] Fix unit tests to reflect desired behaviour [ticket/10950] Add some first and simple unit tests for phpbb_delete_user_pms() [ticket/10950] Correct comment for the second query. [ticket/10950] Add empty line to make unset() call more visible. [ticket/10950] Select the correct columns in SQL queries. [ticket/10950] Use a variable for the private message id. [ticket/10950] Move array initialisation to the front. [ticket/10950] Remove redundant if statement. [ticket/10950] Fix SQL coding style (indentation) in second SQL query. [ticket/10950] Use proper ' in order to fix comment.