aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11103] Remove global $db usage in testNathaniel Guse2012-12-261-6/+4
| | | | PHPBB3-11103
* [ticket/11103] data -> notification_dataNathan Guse2012-12-151-16/+16
| | | | PHPBB3-11103
* [ticket/11103] unread -> notification_readNathan Guse2012-12-151-10/+10
| | | | PHPBB3-11103
* [ticket/11103] time -> notification_timeNathan Guse2012-12-151-10/+10
| | | | PHPBB3-11103
* Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11103Nathan Guse2012-12-156-13/+547
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Oleg Pudeyev (20) and others # Via Andreas Fischer (3) and Oleg Pudeyev (2) * 'develop' of github.com:phpbb/phpbb3: (33 commits) [ticket/11268] Delete phpbb_db_driver_mysql4 as there is no such thing. [ticket/11250] Use user defined message as incomplete message [ticket/11250] Add tests for simple nesting and code [ticket/11250] Run tests by default and add an option for incomplete ones [ticket/11250] Fix parsing result with special chars [ticket/11250] Add tests for size and attachment [ticket/11250] Fix method names [ticket/11250] Add some comments and fix a description [ticket/11250] Add some more tests for quotes [ticket/11250] Move quote special cases from class to unit tests [ticket/11250] Add parsing tests for our basic bbcodes in simple cases [ticket/11162] Reformat. [ticket/11162] Rename tricky updates to database helper. [ticket/11162] Use empty($queries). [ticket/11162] Review comments fixed. [ticket/11162] Reformat. [ticket/11162] Newlines to LF. [ticket/11162] Use correct functions. [ticket/11162] Account for notify_status. [ticket/11162] This test really only works for bookmarks. ...
| * [ticket/11268] Delete phpbb_db_driver_mysql4 as there is no such thing.Oleg Pudeyev2012-12-141-1/+0
| | | | | | | | PHPBB3-11268
| * [ticket/11250] Use user defined message as incomplete messageJoas Schilling2012-12-141-3/+2
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Add tests for simple nesting and codeJoas Schilling2012-12-141-7/+44
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Run tests by default and add an option for incomplete onesJoas Schilling2012-12-141-1/+4
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Fix parsing result with special charsJoas Schilling2012-12-141-35/+40
| | | | | | | | | | | | : . and [ are replaced by their html representation if they are text only PHPBB3-11250
| * [ticket/11250] Add tests for size and attachmentJoas Schilling2012-12-141-0/+10
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Fix method namesJoas Schilling2012-12-141-3/+3
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Add some comments and fix a descriptionJoas Schilling2012-12-141-6/+4
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Add some more tests for quotesJoas Schilling2012-12-141-0/+26
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Move quote special cases from class to unit testsJoas Schilling2012-12-141-0/+26
| | | | | | | | PHPBB3-11250
| * [ticket/11250] Add parsing tests for our basic bbcodes in simple casesJoas Schilling2012-12-141-8/+140
| | | | | | | | PHPBB3-11250
| * Merge branch 'develop-olympus' into developAndreas Fischer2012-12-144-0/+299
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: (22 commits) [ticket/11162] Reformat. [ticket/11162] Rename tricky updates to database helper. [ticket/11162] Use empty($queries). [ticket/11162] Review comments fixed. [ticket/11162] Reformat. [ticket/11162] Newlines to LF. [ticket/11162] Use correct functions. [ticket/11162] Account for notify_status. [ticket/11162] This test really only works for bookmarks. [ticket/11162] The test is not at all trivial. [ticket/11162] Add includes. [ticket/11162] Move to a separate file to avoid blowing out functions.php. [ticket/11162] No whitespace changes in olympus. [ticket/11162] Fix inaccurately copy pasted comment. [ticket/11162] Use phpbb_update_rows_avoiding_duplicates in mcp. [ticket/11162] Clarify that only the two tables actually work. [ticket/11162] Uncomment transactions. [ticket/11162] An implementation that actually works. [ticket/11162] Make count function upper case. [ticket/11162] Rename count variable name to remaining_rows. ...
| | * Merge remote-tracking branch 'p/ticket/11162' into develop-olympusAndreas Fischer2012-12-144-0/+299
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/11162: (22 commits) [ticket/11162] Reformat. [ticket/11162] Rename tricky updates to database helper. [ticket/11162] Use empty($queries). [ticket/11162] Review comments fixed. [ticket/11162] Reformat. [ticket/11162] Newlines to LF. [ticket/11162] Use correct functions. [ticket/11162] Account for notify_status. [ticket/11162] This test really only works for bookmarks. [ticket/11162] The test is not at all trivial. [ticket/11162] Add includes. [ticket/11162] Move to a separate file to avoid blowing out functions.php. [ticket/11162] No whitespace changes in olympus. [ticket/11162] Fix inaccurately copy pasted comment. [ticket/11162] Use phpbb_update_rows_avoiding_duplicates in mcp. [ticket/11162] Clarify that only the two tables actually work. [ticket/11162] Uncomment transactions. [ticket/11162] An implementation that actually works. [ticket/11162] Make count function upper case. [ticket/11162] Rename count variable name to remaining_rows. ...
| | | * [ticket/11162] Reformat.Oleg Pudeyev2012-12-131-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Rename tricky updates to database helper.Oleg Pudeyev2012-12-124-2/+2
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Review comments fixed.Oleg Pudeyev2012-12-051-1/+2
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Account for notify_status.Oleg Pudeyev2012-12-052-7/+131
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] This test really only works for bookmarks.Oleg Pudeyev2012-12-043-3/+50
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] The test is not at all trivial.Oleg Pudeyev2012-12-041-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Move to a separate file to avoid blowing out functions.php.Oleg Pudeyev2012-12-042-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Make count function upper case.Andreas Fischer2012-11-111-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Rename count variable name to remaining_rows.Andreas Fischer2012-11-111-2/+2
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Use integer casting instead of SQL escape.Andreas Fischer2012-11-111-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11162
| | | * [ticket/11162] Extract existing behavior into a function and add a test.Oleg Pudeyev2012-11-022-0/+127
| | | | | | | | | | | | | | | | PHPBB3-11162
* | | | Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11103Nathan Guse2012-12-1310-90/+183
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Oleg Pudeyev (21) and others # Via Andreas Fischer (7) and others * 'develop' of github.com:phpbb/phpbb3: (56 commits) [ticket/11015] Move comment in the right place. [ticket/11015] Correctly transform 'mysqli' etc. in phpbb_convert_30_dbms_to_31 [ticket/11015] Fix 3.0 to 3.1 dbms conversion for mysqli. [ticket/11015] Change permission adding in database updater to new style. [ticket/11015] Change more docblocks to phpbb_db_driver. [ticket/11015] Installer still needs 3.0-style dbms name. [ticket/11262] Add .lock in cache directory to .gitignore [ticket/11015] Include functions.php because it is not always included. [ticket/11265] Add assertions for board installation success. [ticket/11263] Fix PHP Notice: Undefined variable: extension_manager [ticket/11015] Convert database drivers to new spelling in post setup sync. [ticket/11015] Convert connect test to the new syntax. [ticket/11015] Restore whitespace to avoid conflict when merging develop. [ticket/10975] Add a test for viewing a profile. [ticket/10975] Test restricting by first character. [ticket/10975] Avoid rewriting global config twice. [ticket/10975] Test memberlist, not user creation. [ticket/10975] Some quick tests to check the memberlist behaviour [ticket/10491] Make recreate_database static. [ticket/11088] Pass required objects in as arguments ... Conflicts: phpBB/install/database_update.php
| * | | [ticket/11015] Fix 3.0 to 3.1 dbms conversion for mysqli.Oleg Pudeyev2012-12-131-0/+40
| | | | | | | | | | | | | | | | PHPBB3-11015
| * | | [ticket/11015] Installer still needs 3.0-style dbms name.Oleg Pudeyev2012-12-131-0/+2
| | | | | | | | | | | | | | | | PHPBB3-11015
| * | | Merge remote-tracking branch 'upstream/develop' into ticket/11015Oleg Pudeyev2012-12-132-10/+56
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: [ticket/11262] Add .lock in cache directory to .gitignore [ticket/11265] Add assertions for board installation success. [ticket/11263] Fix PHP Notice: Undefined variable: extension_manager [ticket/10975] Add a test for viewing a profile. [ticket/10975] Test restricting by first character. [ticket/10975] Avoid rewriting global config twice. [ticket/10975] Test memberlist, not user creation. [ticket/10975] Some quick tests to check the memberlist behaviour
| | * \ \ Merge branch 'develop-olympus' into developAndreas Fischer2012-12-131-3/+11
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11265] Add assertions for board installation success. Conflicts: tests/test_framework/phpbb_functional_test_case.php
| | | * | [ticket/11265] Add assertions for board installation success.Oleg Pudeyev2012-12-131-3/+11
| | | | | | | | | | | | | | | | | | | | PHPBB3-11265
| | * | | [ticket/10975] Add a test for viewing a profile.Oleg Pudeyev2012-12-131-1/+10
| | | | | | | | | | | | | | | | | | | | PHPBB3-10975
| | * | | [ticket/10975] Test restricting by first character.Oleg Pudeyev2012-12-131-0/+10
| | | | | | | | | | | | | | | | | | | | PHPBB3-10975
| | * | | [ticket/10975] Avoid rewriting global config twice.Oleg Pudeyev2012-12-131-7/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-10975
| | * | | [ticket/10975] Test memberlist, not user creation.Oleg Pudeyev2012-12-131-14/+5
| | | | | | | | | | | | | | | | | | | | PHPBB3-10975
| | * | | [ticket/10975] Some quick tests to check the memberlist behaviourFyorl2012-12-131-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checks behaviour when adding and deleting a user. PHPBB3-10975
| * | | | [ticket/11015] Include functions.php because it is not always included.Oleg Pudeyev2012-12-131-0/+5
| | | | | | | | | | | | | | | | | | | | PHPBB3-11015
| * | | | [ticket/11015] Convert database drivers to new spelling in post setup sync.Oleg Pudeyev2012-12-131-2/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-11015
| * | | | [ticket/11015] Convert connect test to the new syntax.Oleg Pudeyev2012-12-131-3/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-11015
| * | | | Merge remote-tracking branch 'upstream/develop' into ticket/11015Oleg Pudeyev2012-12-1332-36/+494
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (101 commits) [ticket/10491] Make recreate_database static. [ticket/11088] Pass required objects in as arguments [ticket/11088] Globalize objects in new permission function [ticket/11088] Move permission creation to a function [ticket/11088] Copy a_styles permission for a_extensions [ticket/11088] Remove extraneous word from sentence in comment [ticket/11088] Changed "file extensions" to "attachment extensions" [ticket/11088] Fix the database updater to correctly manipulate the modules [ticket/11088] Put language pack module move below extension module creation [ticket/11088] Untested, progress on update script [ticket/11088] Fix typo (period instead of comma) [ticket/11088] Untested progress for update script [ticket/11088] Added missing comma [ticket/11088] Removed added space [ticket/11088] Move style, extension and language pack management to customise [ticket/11243] Show download all link on all pages of topic with attachments [feature/template-events] Pass arguments in correct order. [feature/template-events] Pass arguments in correct order. [ticket/10491] Install board once per test run. [ticket/11257] Do not require set_name() method to exist ...
| | * | | Merge PR #1119 branch 'develop-olympus' into developOleg Pudeyev2012-12-131-26/+35
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While merging into develop, also move self::$config['table_prefix'] initialization into setup before class from install_board, as install_board is only called to install the board and not for each test case. * develop-olympus: [ticket/10491] Make recreate_database static. [ticket/10491] Install board once per test run. [ticket/10491] Move board installation into setup before class. [ticket/10491] Set up functional tests sensibly. Conflicts: tests/test_framework/phpbb_functional_test_case.php
| | | * | Merge PR #1119 branch 'p/ticket/10491' into develop-olympusOleg Pudeyev2012-12-131-25/+29
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10491: [ticket/10491] Make recreate_database static. [ticket/10491] Install board once per test run. [ticket/10491] Move board installation into setup before class. [ticket/10491] Set up functional tests sensibly.
| | | | * | [ticket/10491] Make recreate_database static.Oleg Pudeyev2012-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10491
| | | | * | [ticket/10491] Install board once per test run.Oleg Pudeyev2012-12-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is how things used to be. Installing for each test class brings 3-4x performance penalty compared to installing once for the entire test run. However, with a single installation for all tests an individual test can see different data when it is invoked by itself vs when it is executed as part of the entire test suite. PHPBB3-10491
| | | | * | [ticket/10491] Move board installation into setup before class.Oleg Pudeyev2012-12-041-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functional posting test already assumed that board is installed once per test case and not once per test. PHPBB3-10491
| | | | * | [ticket/10491] Set up functional tests sensibly.Oleg Pudeyev2012-12-041-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB_FUNCTIONAL_URL goes into setup before class. Drop PHPBB_FUNCTIONAL_URL check in board installation and silent return if it is not set. Take board installation out of constructor. Install board in setup method. PHPBB3-10491