aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developAndreas Fischer2010-06-176-0/+375
|\ | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9626] Adding tests for the URL regular expression. [ticket/9626] Add missing class prefix. [ticket/9626] A few tests for the email regular expression. [ticket/9626] More IPv6 regex tests. [ticket/9626] Adding tests for the IPv4 regular expression. [ticket/9626] Adding tests for regular expressions.
| * Merge branch 'ticket/bantu/9626' into develop-olympusAndreas Fischer2010-06-176-0/+375
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/bantu/9626: [ticket/9626] Adding tests for the URL regular expression. [ticket/9626] Add missing class prefix. [ticket/9626] A few tests for the email regular expression. [ticket/9626] More IPv6 regex tests. [ticket/9626] Adding tests for the IPv4 regular expression. [ticket/9626] Adding tests for regular expressions.
| | * [ticket/9626] Adding tests for the URL regular expression.Andreas Fischer2010-05-252-0/+36
| | | | | | | | | | | | PHPBB3-9626
| | * [ticket/9626] Add missing class prefix.Andreas Fischer2010-05-254-6/+6
| | | | | | | | | | | | PHPBB3-9626
| | * [ticket/9626] A few tests for the email regular expression.Andreas Fischer2010-05-252-0/+80
| | | | | | | | | | | | PHPBB3-9626
| | * [ticket/9626] More IPv6 regex tests.Andreas Fischer2010-05-251-4/+62
| | | | | | | | | | | | PHPBB3-9626
| | * [ticket/9626] Adding tests for the IPv4 regular expression.Andreas Fischer2010-05-252-0/+74
| | | | | | | | | | | | PHPBB3-9626
| | * [ticket/9626] Adding tests for regular expressions.Andreas Fischer2010-05-253-0/+127
| | | | | | | | | | | | | | | | | | Adding tests for the IPv6 regular expression returned by get_preg_expression() PHPBB3-9626
* | | Merge branch 'develop-olympus' into developAndreas Fischer2010-06-171-19/+181
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [feature/dbal-tests] Follow the coding guidelines and ... [feature/dbal-tests] Update data [feature/dbal-tests] Multi insert [feature/dbal-tests] Delete data [feature/dbal-tests] Insert data [feature/dbal-tests] Fix SQL-ERROR: invalid input syntax for integer: "" [ticket/9587] Prosilver overrides reCaptcha class. [ticket/9605] Wrong class added to topiclist, when there's no announcement topic.
| * | [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
* | Merge branch 'develop-olympus' into developNils Adermann2010-04-048-20/+667
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: (26 commits) [git-tools] add note about PHP_BIN using env [git-tools] do not display stderr [git-tools] Prepend the branch to the commit message for all branches. [git-tools] Use env to find the correct paths to binaries. [git-tools] Display what parse errors were found. [git-tools] This script requires bash to run, so point directly to bash. [feature/dbal-tests] Remove hardcoded 'mysql' from PDO DSN in DBAL test. [feature/dbal-tests] Fix mysql (not mysqli) dbal test. [feature/dbal-tests] Only output the missing config error message once. [feature/dbal-tests] Make the PDO prefix depend on the dbms. [feature/dbal-tests] Fix whitespace and line endings. [bug/9108] Fix table binding issues with PostgreSQL in board-wide feed. (Old Bug #58425) [bug/59425] Correctly check for double inclusion in captcha garbage collection [bug/58465] The redirect hidden field is now XHTML conform [feature/dbal-tests] Make some tests for build_array_data on SELECT [feature/dbal-tests] Make some tests for return_on_error on SELECT-queries [feature/dbal-tests] Tests for $db->sql_query_limit() [feature/dbal-tests] Load phpbb-schema after creating the connection to the database [feature/dbal-tests] Added tests for dbal fetchrow and fetchfield. [feature/dbal-tests] Added database test & refactored test framework ...
| * [feature/dbal-tests] Remove hardcoded 'mysql' from PDO DSN in DBAL test.Andreas Fischer2010-04-021-1/+1
| |
| * [feature/dbal-tests] Fix mysql (not mysqli) dbal test.Andreas Fischer2010-04-021-2/+4
| | | | | | | | Correctly determine MySQL version from the database.
| * [feature/dbal-tests] Only output the missing config error message once.Nils Adermann2010-04-011-6/+18
| | | | | | | | | | The error message was also not properly escaping the variables, thus producing an incorrect example configuration file.
| * [feature/dbal-tests] Make the PDO prefix depend on the dbms.Nils Adermann2010-04-011-3/+13
| | | | | | | | | | | | The database base test will need a few more changes to run on all the databases we support. But those really need to be made on a system where they run and can be tested. Patches welcome!
| * [feature/dbal-tests] Fix whitespace and line endings.Nils Adermann2010-04-012-21/+21
| |
| * [feature/dbal-tests] Make some tests for build_array_data on SELECTJoas Schilling2010-03-272-4/+114
| |
| * [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] Load phpbb-schema after creating the connection to the ↵Joas Schilling2010-03-262-3/+53
| | | | | | | | database
| * [feature/dbal-tests] Added tests for dbal fetchrow and fetchfield.Joas Schilling2010-03-264-0/+100
| |
| * [feature/dbal-tests] Added database test & refactored test frameworkJoas Schilling2010-03-264-20/+137
| | | | | | | | | | | | There is now a phpbb_database_test_case which can be used as a base class for tests that require database access. You have to set up a test_config.php file in your tests/ directory containing host, user, pass etc. Extra test functionality has been moved to phpbb_test_case_helpers to provide the same functionality in database tests and regular tests without duplicating the code. This is achieved through delegation of method calls.
* | Merge branch 'develop-olympus' into developNils Adermann2010-03-261-1/+1
|\ \ | |/ | | | | | | | | | | | | * develop-olympus: [develop-olympus] Make this test run on windows with backslash-paths. [bug/56965] Redirect fails with directory traversal [bug/58685] Correct spelling errors in append_sid() comments. [bug/58025] Search robots are now redirected if they send a SID in the request
| * [develop-olympus] Make this test run on windows with backslash-paths.Joas Schilling2010-03-261-1/+1
| |
* | [develop] Failed to merge the template test properly.Nils Adermann2010-03-101-96/+0
| | | | | | | | | | | | The feature branch for the new template engine should probably contain all the deleted tests as well. We should look into the incompatibilities and try to stay backwards compatible.
* | Merge branch 'develop-olympus' into developNils Adermann2010-03-1021-123/+149
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/all_tests.php tests/request/all_tests.php tests/request/request_var.php tests/security/all_tests.php tests/security/extract_current_page.php tests/security/redirect.php tests/template/all_tests.php tests/template/template.php tests/template/templates/define.html tests/template/templates/expressions.html tests/template/templates/if.html tests/template/templates/includephp.html tests/template/templates/loop.html tests/template/templates/loop_advanced.html tests/template/templates/loop_vars.html tests/test_framework/framework.php tests/test_framework/phpbb_test_case.php tests/text_processing/all_tests.php tests/text_processing/make_clickable.php tests/utf/all_tests.php tests/utf/utf8_clean_string_test.php tests/utf/utf8_wordwrap_test.php
| * [develop-olympus] Backported 3.1 unit tests to 3.0.Nils Adermann2010-03-1029-0/+1766
| | | | | Start adding unit tests for bugs you fix! Tests for anything are welcome really. We have to work on these a lot.
* adjust tests a little bit to let them work again in trunk (not adjusted ↵Meik Sievertsen2009-10-0514-123/+82
| | | | | | template/bbcode yet) git-svn-id: file:///svn/phpbb/trunk@10212 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix most of the template test suite :)Chris Smith2009-06-133-27/+87
| | | | git-svn-id: file:///svn/phpbb/trunk@9588 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove cache files after each test, ensure they are not included in the ↵Chris Smith2008-12-071-0/+11
| | | | | | coverage report git-svn-id: file:///svn/phpbb/trunk@9181 89ea8834-ac86-4346-8a33-228a782c2dd0
* Should not be needed, unlink() should clear sthe cache and this was never ↵Chris Smith2008-12-071-4/+0
| | | | | | the problem anyway git-svn-id: file:///svn/phpbb/trunk@9180 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed :DChris Smith2008-12-011-0/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@9142 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test empty filename and invalid handleChris Smith2008-11-251-0/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9119 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test empty filenameChris Smith2008-11-251-1/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9118 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test missing filesChris Smith2008-11-251-6/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@9117 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Add template variable S_BLOCK_NAMEChris Smith2008-11-252-0/+265
| | | | | | | | - Modify template::alter_block_array() so it supports modification of nested blocks - Add (incomplete) tests for template::alter_block_array() git-svn-id: file:///svn/phpbb/trunk@9116 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Make a start on completing the phpDoc comments for the template engineChris Smith2008-11-246-5/+86
| | | | | | | | - Tidy template engine code, mainly PHP5 stuff, made some methods void instead of just returning true - Add tests for the remaining untested compilation code git-svn-id: file:///svn/phpbb/trunk@9115 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added a PHPUnit version checkNils Adermann2008-11-241-1/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9112 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test is (even|odd) by yChris Smith2008-11-242-0/+18
| | | | git-svn-id: file:///svn/phpbb/trunk@9110 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updating all tests to use new frameworkNils Adermann2008-11-2412-17/+17
| | | | git-svn-id: file:///svn/phpbb/trunk@9106 89ea8834-ac86-4346-8a33-228a782c2dd0
* - adding tests for the new request class and extending the tests for ↵Nils Adermann2008-11-243-45/+203
| | | | | | request_var to include deep direct access to multidimensional arrays and arbitrary number of dimensions git-svn-id: file:///svn/phpbb/trunk@9105 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updated security/redirect test to use new framework functionalityNils Adermann2008-11-241-37/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@9104 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added phpBB test framework which is an extension with some additionalNils Adermann2008-11-242-0/+35
| | | | | | | | functionality of PHPUnit - first addition: setExpectedTriggerError() if a test expects a call to trigger_error(). git-svn-id: file:///svn/phpbb/trunk@9103 89ea8834-ac86-4346-8a33-228a782c2dd0
* More testsChris Smith2008-11-237-9/+147
| | | | git-svn-id: file:///svn/phpbb/trunk@9100 89ea8834-ac86-4346-8a33-228a782c2dd0
* test advanced loop constructsChris Smith2008-11-232-1/+66
| | | | git-svn-id: file:///svn/phpbb/trunk@9099 89ea8834-ac86-4346-8a33-228a782c2dd0