| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [ticket/9825] Unit tests: Use sqlite when possible and no test_config exists. | Andreas Fischer | 2010-09-16 | 1 | -11/+26 |
| | | | | | PHPBB3-9825 | ||||
| * | [ticket/9592] Slight adjustments to simplify db test cases | Igor Wiedler | 2010-09-15 | 1 | -11/+8 |
| | | | | | PHPBB3-9592 | ||||
| * | [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 | ||||
| * | [ticket/9592] Test suite does not run on SQlite | Igor Wiedler | 2010-09-11 | 1 | -11/+47 |
| | | | | | PHPBB3-9592 | ||||
| * | [ticket/9780] Adding unit tests for gen_rand_string(). | Andreas Fischer | 2010-08-20 | 3 | -0/+105 |
| | | | | | PHPBB3-9780 | ||||
| * | [ticket/9599] Adding tests for phpbb_checkdnsrr(). | Andreas Fischer | 2010-08-03 | 2 | -0/+67 |
| | | | | | | | | Tests for existing and non-existing records of the types: MX, A, AAAA, NS, CNAME, TXT PHPBB3-9599 | ||||
| * | [ticket/9599] Adding network function tests. | Andreas Fischer | 2010-08-03 | 2 | -0/+38 |
| | | | | | PHPBB3-9599 | ||||
| * | Merge branch 'ticket/ckwalsh/9715' into develop-olympus | Andreas Fischer | 2010-07-12 | 1 | -0/+41 |
| |\ | | | | | | | | | | | * ticket/ckwalsh/9715: [ticket/9715] Better email regex [ticket/9715] Extend email unit tests | ||||
| | * | [ticket/9715] Extend email unit tests | Cullen Walsh | 2010-07-11 | 1 | -1/+42 |
| | | | | | | | | | | | | | Adding more email tests for a wider range of valid email formats. PHPBB3-9715 | ||||
| * | | Merge branch 'ticket/bantu/9714' into develop-olympus | Andreas Fischer | 2010-07-12 | 1 | -1/+1 |
| |\ \ | | | | | | | | | | | | | * ticket/bantu/9714: [ticket/9714] Use correct variable name in email regular expression tests. | ||||
| | * | | [ticket/9714] Use correct variable name in email regular expression tests. | Andreas Fischer | 2010-07-08 | 1 | -1/+1 |
| | |/ | | | | | | | PHPBB3-9714 | ||||
| * | | [ticket/9701] Prevent notices from being hidden by template tests | Nils Adermann | 2010-07-08 | 1 | -3/+21 |
| |/ | | | | | | | | | | | | | | | | | | The template tests disable NOTICEs for the duration of template execution since the current version of the template engine does not generate sufficiently clean code. The error level is reset aftwards, however that part is skipped when trigger_error is called which is converted into a regular exception by PHPUnit and passed down until caught. Such exceptions are now caught to reset the error level, and then the exception is rethrown. This uncovered another issue in the template tests which only passed because NOTICEs were unintentionally disabled at this point. assign_display is also required to operate without NOTICEs. The respective code has been added around its callee as well. However no handling of exceptions takes place there. If another test checking for errors in that function is ever added similar catch logic will have to be added there. PHPBB3-9701 | ||||
| * | Merge branch 'ticket/p/9593' into develop-olympus | Andreas Fischer | 2010-07-08 | 1 | -0/+33 |
| |\ | | | | | | | | | * ticket/p/9593: [ticket/9593] A readme file for unit tests and running unit tests. | ||||
| | * | [ticket/9593] A readme file for unit tests and running unit tests. | Oleg Pudeyev | 2010-07-07 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | Added a readme file explaining prerequisites for unit tests, and how to run unit tests. PHPBB3-9593 | ||||
| * | | Merge branch 'ticket/bantu/9626' into develop-olympus | Andreas Fischer | 2010-06-17 | 6 | -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 Fischer | 2010-05-25 | 2 | -0/+36 |
| | | | | | | | | | | | | | PHPBB3-9626 | ||||
| | * | | [ticket/9626] Add missing class prefix. | Andreas Fischer | 2010-05-25 | 4 | -6/+6 |
| | | | | | | | | | | | | | PHPBB3-9626 | ||||
| | * | | [ticket/9626] A few tests for the email regular expression. | Andreas Fischer | 2010-05-25 | 2 | -0/+80 |
| | | | | | | | | | | | | | PHPBB3-9626 | ||||
| | * | | [ticket/9626] More IPv6 regex tests. | Andreas Fischer | 2010-05-25 | 1 | -4/+62 |
| | | | | | | | | | | | | | PHPBB3-9626 | ||||
| | * | | [ticket/9626] Adding tests for the IPv4 regular expression. | Andreas Fischer | 2010-05-25 | 2 | -0/+74 |
| | | | | | | | | | | | | | PHPBB3-9626 | ||||
| | * | | [ticket/9626] Adding tests for regular expressions. | Andreas Fischer | 2010-05-25 | 3 | -0/+127 |
| | |/ | | | | | | | | | | | Adding tests for the IPv6 regular expression returned by get_preg_expression() PHPBB3-9626 | ||||
| * | | [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] Remove hardcoded 'mysql' from PDO DSN in DBAL test. | Andreas Fischer | 2010-04-02 | 1 | -1/+1 |
| | | |||||
| * | [feature/dbal-tests] Fix mysql (not mysqli) dbal test. | Andreas Fischer | 2010-04-02 | 1 | -2/+4 |
| | | | | | Correctly determine MySQL version from the database. | ||||
| * | [feature/dbal-tests] Only output the missing config error message once. | Nils Adermann | 2010-04-01 | 1 | -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 Adermann | 2010-04-01 | 1 | -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 Adermann | 2010-04-01 | 2 | -21/+21 |
| | | |||||
| * | [feature/dbal-tests] Make some tests for build_array_data on SELECT | Joas Schilling | 2010-03-27 | 2 | -4/+114 |
| | | |||||
| * | [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] Load phpbb-schema after creating the connection to the ↵ | Joas Schilling | 2010-03-26 | 2 | -3/+53 |
| | | | | | database | ||||
| * | [feature/dbal-tests] Added tests for dbal fetchrow and fetchfield. | Joas Schilling | 2010-03-26 | 4 | -0/+100 |
| | | |||||
| * | [feature/dbal-tests] Added database test & refactored test framework | Joas Schilling | 2010-03-26 | 4 | -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. | ||||
| * | [develop-olympus] Make this test run on windows with backslash-paths. | Joas Schilling | 2010-03-26 | 1 | -1/+1 |
| | | |||||
| * | [develop-olympus] Backported 3.1 unit tests to 3.0. | Nils Adermann | 2010-03-10 | 29 | -0/+1766 |
| Start adding unit tests for bugs you fix! Tests for anything are welcome really. We have to work on these a lot. | |||||
