aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [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
* | Merge remote-tracking branch 'nickvergessen/ticket/10321' into develop-olympusOleg Pudeyev2011-09-051-0/+51
|\ \ | | | | | | | | | | | | | | | * nickvergessen/ticket/10321: [ticket/10321] Add descriptions to the unit tests [ticket/10321] Do not append the ? if the param-list is empty anyway.
| * | [ticket/10321] Add descriptions to the unit testsJoas Schilling2011-08-211-15/+15
| | | | | | | | | | | | PHPBB3-10321
| * | [ticket/10321] Do not append the ? if the param-list is empty anyway.Joas Schilling2011-08-211-0/+51
| | | | | | | | | | | | PHPBB3-10321
* | | [ticket/10346] Add drop_tables to perform_schema_changes and add testsNils Adermann2011-08-291-0/+60
| |/ |/| | | | | PHPBB3-10346
* | Merge remote-tracking branch 'p/ticket/10309' into develop-olympusAndreas Fischer2011-08-211-0/+0
|\ \ | | | | | | | | | | | | * p/ticket/10309: [ticket/10309] Update .gitignore and move .gitkeep.
| * | [ticket/10309] Update .gitignore and move .gitkeep.Oleg Pudeyev2011-08-201-0/+0
| | | | | | | | | | | | PHPBB3-10309
* | | Merge remote-tracking branch 'p/ticket/10309' into develop-olympusAndreas Fischer2011-08-161-4/+7
|\ \ \ | |/ / | | / | |/ |/| | | * p/ticket/10309: [ticket/10309] Coding guidelines fix. [ticket/10309] Write unicode data to tests/tmp.
| * [ticket/10309] Coding guidelines fix.Oleg Pudeyev2011-08-091-1/+1
| | | | | | | | PHPBB3-10309
| * [ticket/10309] Write unicode data to tests/tmp.Oleg Pudeyev2011-08-071-4/+7
| | | | | | | | | | | | | | When the tests are run by a different user than the one which owns phpbb source tree, writes will go into a single, known directory. PHPBB3-10309
* | [ticket/9297] Add network to class name of unit tests.Andreas Fischer2011-08-141-1/+1
| | | | | | | | PHPBB3-9297
* | [ticket/9297] Fix typo in localhost.Andreas Fischer2011-08-141-1/+1
| | | | | | | | PHPBB3-9297
* | [ticket/9297] Rename test class to reflect its contents.Oleg Pudeyev2011-08-141-1/+1
| | | | | | | | | | | | setUpBeforeClass logic makes this test specific to PASV/EPSV tests. PHPBB3-9297
* | [ticket/9297] Adjust comment - IPv6 is needed for IPv6 connections to work.Oleg Pudeyev2011-08-141-5/+3
| | | | | | | | | | | | | | Looks like IPv6-encapsulated IPv4 addresses do not actually work if the host has no IPv6 connectivity. PHPBB3-9297
* | [ticket/9297] Fix markTestSkipped call in setUpBeforeClass.Oleg Pudeyev2011-08-141-1/+1
| | | | | | | | | | | | Need to use the static version here. PHPBB3-9297
* | [ticket/9297] Skip FTP PASV/EPSV test if FTP connection fails.Oleg Pudeyev2011-08-141-1/+10
| | | | | | | | | | | | | | | | | | It is possible to configure PHP without IPv6, in which case IPv6-encapsulated IPv4 addresses won't be accepted by PHP. Instead of failing the test suite on such setups, skip the offending test. PHPBB3-9297
* | [ticket/9297] Separate ipv4 and ipv6 tests into separate functions.Oleg Pudeyev2011-08-141-4/+13
| | | | | | | | PHPBB3-9297
* | [ticket/9297] Update copyright year of unit test file.Andreas Fischer2011-08-141-1/+1
| | | | | | | | PHPBB3-9297
* | [ticket/9297] Make EPSV unit tests work without IPv6.Andreas Fischer2011-08-111-10/+9
| | | | | | | | PHPBB3-9297
* | [ticket/9297] Unit tests for ftp_fsock PASV and EPSV.Andreas Fischer2011-08-111-0/+48
|/ | | | PHPBB3-9297
* Merge remote-tracking branch 'github-bantu/ticket/10265' into develop-olympusNils Adermann2011-07-161-1/+1
|\ | | | | | | | | * github-bantu/ticket/10265: [ticket/10265] Move mt_rand.php to wrapper folder and add _test suffix.
| * [ticket/10265] Move mt_rand.php to wrapper folder and add _test suffix.Andreas Fischer2011-07-131-1/+1
| | | | | | | | PHPBB3-10265
* | Merge remote-tracking branch 'github-bantu/ticket/10263' into develop-olympusNils Adermann2011-07-161-0/+130
|\ \ | | | | | | | | | | | | | | | | | | | | | * github-bantu/ticket/10263: [ticket/10263] Call phpbb_version_compare() from includes/acp/acp_main.php [ticket/10263] Call phpbb_version_compare() from includes/acp/acp_update.php [ticket/10263] Adding unit tests for phpbb_version_compare(). [ticket/10263] Add wrapper for version_compare() that allows the use of A and B
| * | [ticket/10263] Adding unit tests for phpbb_version_compare().Andreas Fischer2011-07-131-0/+130
| |/ | | | | | | PHPBB3-10263
* | [ticket/10243] Adding a few unit tests for phpbb_gmgetdate().Andreas Fischer2011-07-131-0/+49
|/ | | | PHPBB3-10243
* [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/10206] Failed unicode.org downloads no longer terminate testsNils Adermann2011-06-101-2/+4
| | | | | | Instead a warning is triggered and an explanation echo'd. PHPBB3-10206
* Merge branch 'ticket/rxu/217' into develop-olympusNils Adermann2011-06-092-0/+83
|\ | | | | | | | | | | | | | | | | * ticket/rxu/217: [ticket/217] Use positive assertions in tests. [ticket/217] Silence errors in tests, not code. [ticket/217] Use positive parameter statement for bbcode_init() [ticket/217] Adjust patch, add tests [ticket/217] Multiline [url] not converted
| * [ticket/217] Use positive assertions in tests.Oleg Pudeyev2011-06-061-9/+27
| | | | | | | | PHPBB3-217
| * [ticket/217] Silence errors in tests, not code.Oleg Pudeyev2011-06-062-0/+24
| | | | | | | | | | | | Use a mock user object for testing bbcode. PHPBB3-217
| * [ticket/217] Use positive parameter statement for bbcode_init()rxu2011-06-061-1/+1
| | | | | | | | PHPBB3-217
| * [ticket/217] Adjust patch, add testsrxu2011-06-061-0/+41
| | | | | | | | PHPBB3-217
* | Merge remote-tracking branch 'naderman/ticket/10005' into develop-olympusAndreas Fischer2011-06-092-0/+86
|\ \ | | | | | | | | | | | | | | | * naderman/ticket/10005: [ticket/10005] Add description to test cases [ticket/10005] Add validation of dropdown custom profile field values
| * | [ticket/10005] Add description to test casesNils Adermann2011-06-031-10/+13
| | | | | | | | | | | | PHPBB3-10005
| * | [ticket/10005] Add validation of dropdown custom profile field valuesNils Adermann2011-06-022-0/+83
| | | | | | | | | | | | PHPBB3-10005
* | | Merge branch 'ticket/bantu/10042' into develop-olympusNils Adermann2011-06-051-0/+46
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | * ticket/bantu/10042: [ticket/10042] GD CAPTCHA: Call phpbb_mt_rand() where required. [ticket/10042] GD CAPTCHA: Round offset to the next pixel. [ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.
| * | [ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.Andreas Fischer2011-03-051-0/+46
| | | | | | | | | | | | PHPBB3-10042
* | | [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/9751] Password requirement "Must contain letters and numbers" failsrxu2011-04-011-0/+81
| | | | | | | | PHPBB3-9751