aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12097] Bug fix and adding unit testNicofuma2014-04-261-0/+39
| | | | PHPBB3-12097
* [ticket/12349] Update license header in several new filesJoas Schilling2014-04-031-1/+1
| | | | PHPBB3-12349
* [ticket/11959] Move phpbb_generate_string_list() to functions_content.php.Cesar G2014-03-291-1/+1
| | | | PHPBB3-11959
* [ticket/11959] Add unit tests.Cesar G2014-03-191-0/+60
| | | | PHPBB3-11959
* Merge branch 'develop-olympus' into developJoas Schilling2014-03-141-0/+103
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/12202] Use an array in the data provider instead of exploding manually [ticket/12202] Can't call htmlspecialchars before checking for quotes [ticket/12202] Fix tests [ticket/12202] Test for parse_cfg_file [ticket/12202] Use copyright symbol in style.cfg files [ticket/12202] Apply htmlspecialchars to style.cfg data Conflicts: phpBB/styles/prosilver/style.cfg phpBB/styles/subsilver2/style.cfg
| * [ticket/12202] Use an array in the data provider instead of exploding manuallyJoas Schilling2014-03-141-38/+44
| | | | | | | | PHPBB3-12202
| * [ticket/12202] Fix testsNathaniel Guse2014-03-091-5/+5
| | | | | | | | PHPBB3-12202
| * [ticket/12202] Test for parse_cfg_fileNathan Guse2014-03-091-0/+97
| | | | | | | | PHPBB3-12202
* | [ticket/12115] Also port user interests to profile fieldsJoas Schilling2014-02-063-32/+0
| | | | | | | | PHPBB3-12115
* | Merge remote-tracking branch 'bantu/ticket/12056-develop' into developJoas Schilling2013-12-041-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/12056-develop: [ticket/12056] group_user_attributes: Fix "Creating ... from empty value". [ticket/12056] Fix "Call to undefined function ...\utf8_normalize_nfc()" [ticket/12056] Fix "Call to undefined function ...\utf8_clean_string()" [ticket/12056] Fix "Call to a member function trigger_event() on a non-object". [ticket/12056] Fix "Call to undefined function phpbb\phpbb_get_plural_form()". [ticket/12056] Fix "undefined function phpbb_pcre_utf8_support()". [ticket/12056] validate_config_vars: Fix ".. undefined function utf8_strlen()" [ticket/12056] validate_config_vars: Fix "Creating ... from empty value". [ticket/12056] validate_range: Fix "Creating default object from empty value" [ticket/12056] build_select: Fix "Creating default object from empty value" [ticket/12056] h_radio test: Fix "Creating default object from empty value"
| * | [ticket/12056] Fix "undefined function phpbb_pcre_utf8_support()".Andreas Fischer2013-12-041-0/+1
| | | | | | | | | | | | PHPBB3-12056
* | | Merge branch 'develop-olympus' into developJoas Schilling2013-12-041-1/+2
|\ \ \ | |/ / |/| / | |/ | | * develop-olympus: [ticket/12056] Fix failure due to "Creating default object from empty value".
| * [ticket/12056] Fix failure due to "Creating default object from empty value".Andreas Fischer2013-12-041-1/+2
| | | | | | | | PHPBB3-12056
* | [ticket/11700] Don't prefix dbms classnames with \Nils Adermann2013-09-161-1/+1
| | | | | | | | PHPBB3-11700
* | [ticket/11700] Fix expected class name output from dbms convertNils Adermann2013-09-161-1/+1
| | | | | | | | PHPBB3-11700
* | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-1/+1
| | | | | | | | PHPBB3-11700
* | Merge branch 'develop-olympus' into developNathan Guse2013-07-051-0/+75
|\ \ | |/ | | | | | | | | | | | | # By Andreas Fischer # Via Andreas Fischer (1) and Nathan Guse (1) * develop-olympus: [ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling. [ticket/11619] Some tests for get_remote_file().
| * [ticket/11619] Some tests for get_remote_file().Andreas Fischer2013-07-031-0/+75
| | | | | | | | PHPBB3-11619
* | Merge branch 'develop-olympus' into developAndreas Fischer2013-06-1112-0/+890
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data() Conflicts: tests/mock/cache.php
| * Merge remote-tracking branch 'marc1706/ticket/11579' into develop-olympusAndreas Fischer2013-06-1112-0/+890
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * marc1706/ticket/11579: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data()
| | * [ticket/11579] Add method for validating emails for valid MX and mark as slowMarc Alexander2013-06-051-3/+29
| | | | | | | | | | | | | | | | | | | | | A method for setting up the prerequisities also has been added in order to reduce the amount of necessary code. PHPBB3-11579
| | * [ticket/11579] Do not extend validate_data_helperMarc Alexander2013-06-051-1/+1
| | | | | | | | | | | | PHPBB3-11579
| | * [ticket/11579] Add missing commas to validate_username_testMarc Alexander2013-06-031-6/+6
| | | | | | | | | | | | PHPBB3-11579
| | * [ticket/11579] Rework calls to validate_data_helperMarc Alexander2013-06-0310-232/+344
| | | | | | | | | | | | PHPBB3-11579
| | * [ticket/11579] Move simple tests into seperate filesMarc Alexander2013-06-037-251/+366
| | | | | | | | | | | | PHPBB3-11579
| | * [ticket/11579] Use test case helper class and use assert prefix for methodMarc Alexander2013-06-035-95/+100
| | | | | | | | | | | | PHPBB3-11579
| | * [ticket/11579] Move tests into seperate files depending on needed fixtureMarc Alexander2013-05-308-499/+594
| | | | | | | | | | | | PHPBB3-11579
| | * [ticket/11579] Add remaining unit tests for validate_data functionsMarc Alexander2013-05-302-62/+347
| | | | | | | | | | | | | | | | | | | | | | | | This now includes tests for usernames, passwords, emails, and jabber addresses. A few small changes had to be applied to phpbb_mock_cache and phpbb_mock_user in order to incorporate needed methods. PHPBB3-11579
| | * [ticket/11579] Add basic set of unit tests for validate_data()Marc Alexander2013-05-291-0/+252
| | | | | | | | | | | | | | | | | | | | | This currently includes tests for the string, num, date, match, and language iso validation functions. PHPBB3-11579
* | | Merge branch 'ticket/11543' into ticket/develop/11543Joas Schilling2013-06-072-10/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * ticket/11543: [ticket/11543] Add more users so #hidden <> #normal Conflicts: tests/functions/obtain_online_test.php
| * | [ticket/11543] Add more users so #hidden <> #normalJoas Schilling2013-06-072-10/+21
| | | | | | | | | | | | PHPBB3-11543
* | | [ticket/develop/11543] Use plurals in developJoas Schilling2013-06-061-25/+14
| | | | | | | | | | | | PHPBB3-11543
* | | Merge branch 'ticket/11543' into ticket/develop/11543Joas Schilling2013-06-062-0/+348
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * ticket/11543: [ticket/11543] Use correct IP addresses and inject time for correct values [ticket/11543] Add unit tests for obtain_users_online_string() [ticket/11543] Add unit tests for obtain_users_online() with empty forum [ticket/11543] Add unit tests for obtain_users_online() [ticket/11543] Add unit tests for obtain_guest_count()
| * | [ticket/11543] Use correct IP addresses and inject time for correct valuesJoas Schilling2013-06-061-22/+25
| | | | | | | | | | | | PHPBB3-11543
| * | [ticket/11543] Add unit tests for obtain_users_online_string()Joas Schilling2013-06-062-1/+185
| | | | | | | | | | | | PHPBB3-11543
| * | [ticket/11543] Add unit tests for obtain_users_online() with empty forumJoas Schilling2013-06-061-0/+16
| | | | | | | | | | | | PHPBB3-11543
| * | [ticket/11543] Add unit tests for obtain_users_online()Joas Schilling2013-06-061-0/+65
| | | | | | | | | | | | PHPBB3-11543
| * | [ticket/11543] Add unit tests for obtain_guest_count()Joas Schilling2013-06-062-0/+80
| |/ | | | | | | PHPBB3-11543
* | [ticket/11573] Honor MySQL STRICT_TRANS_TABLES in test_style_select.Andreas Fischer2013-05-271-0/+4
| | | | | | | | PHPBB3-11573
* | Merge branch 'develop-olympus' into developJoas Schilling2013-05-271-0/+121
|\ \ | |/ | | | | | | | | | | * develop-olympus: [ticket/11538] Cut functional tests down a bit as these are more expensive. [ticket/11538] Compare to '' instead of using empty(), so '0' does not pass. [ticket/11538] Add unit tests for phpbb_validate_hex_colour().
| * [ticket/11538] Add unit tests for phpbb_validate_hex_colour().Andreas Fischer2013-05-261-0/+121
| | | | | | | | PHPBB3-11538
* | Merge branch 'develop-olympus' into developAndreas Fischer2013-05-172-7/+7
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/11542] Use Czech as example as it contains non-latin characters [ticket/11547] Set MySQL charset to UTF8 in database_test_connection_manager.
| * [ticket/11542] Use Czech as example as it contains non-latin charactersJoas Schilling2013-05-172-7/+7
| | | | | | | | PHPBB3-11542
* | Merge branch 'develop-olympus' into developAndreas Fischer2013-05-172-0/+60
|\ \ | |/ | | | | | | | | | | * develop-olympus: [ticket/11542] Add non-existing default value for language select [ticket/11542] Add lang_english_name to fixture [ticket/11542] Add unit tests for language_select()
| * Merge remote-tracking branch 'nickvergessen/ticket/11542' into develop-olympusAndreas Fischer2013-05-172-0/+60
| |\ | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11542: [ticket/11542] Add non-existing default value for language select [ticket/11542] Add lang_english_name to fixture [ticket/11542] Add unit tests for language_select()
| | * [ticket/11542] Add non-existing default value for language selectJoas Schilling2013-05-161-0/+1
| | | | | | | | | | | | PHPBB3-11542
| | * [ticket/11542] Add lang_english_name to fixtureJoas Schilling2013-05-151-0/+3
| | | | | | | | | | | | PHPBB3-11542
| | * [ticket/11542] Add unit tests for language_select()Joas Schilling2013-05-142-0/+56
| | | | | | | | | | | | PHPBB3-11542
* | | Merge branch 'develop-olympus' into developAndreas Fischer2013-05-161-4/+25
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/11545] Remove DIRECTORY_SEPARATOR dependency from is_absolute
| * | [ticket/11545] Remove DIRECTORY_SEPARATOR dependency from is_absoluteJoas Schilling2013-05-161-4/+25
| | | | | | | | | | | | | | | | | | The given path is an absolute path in general, just not on our current system. PHPBB3-11545