aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge PR #1147 branch 'marc1706/ticket/10763' into developOleg Pudeyev2012-12-182-31/+1
|\ | | | | | | | | | | * marc1706/ticket/10763: [ticket/10763] Use self when calling get_extension() in filespec class [ticket/10763] Make functions for remote avatars static
| * [ticket/10763] Make functions for remote avatars staticMarc Alexander2012-12-172-31/+1
| | | | | | | | | | | | | | | | | | fileupload::image_types() and filespec::get_extension() are called statically while submitting the form for the remote avatar. Make them static as described in the ticket in order to prevent a PHP notice. Also change the tests to use the static functions. PHPBB3-10763
* | Merge PR #1140 branch 'develop-olympus' into developOleg Pudeyev2012-12-161-56/+93
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/8610] Update comment [ticket/8610] Do not use requests to submit posts except in posting_test.php [ticket/8610] Move posting helpers to separate file [ticket/8610] Create helper functions to create topic/post in functional tests [ticket/8610] Use phpbb_update_rows_avoiding_duplicates [ticket/8610] Revert some funky merging I did from rebase [ticket/8610] Add some comments [ticket/8610] Update Bookmarks and Subscriptions when splitting topics [ticket/8610] Update Bookmarks when merging posts into another topic [ticket/8610] Update Bookmarks when forking topics [ticket/8610] Update Bookmarks when merging topics
| * | [ticket/8610] Do not use requests to submit posts except in posting_test.phpNathan Guse2012-12-153-137/+108
| | | | | | | | | | | | | | | | | | | | | | | | Moving my functional test functions from posting_helpers.php to posting_test.php since it is a bit nicer and more reusable if posting_test.php is to be expanded in the future. PHPBB3-8610
| * | [ticket/8610] Move posting helpers to separate fileNathan Guse2012-12-133-105/+137
| | | | | | | | | | | | | | | | | | This is to prevent cluttering up the functional test case class more PHPBB3-8610
| * | [ticket/8610] Create helper functions to create topic/post in functional testsNathan Guse2012-12-132-78/+112
| | | | | | | | | | | | | | | | | | | | | | | | This will be used to test splitting/copying/merging/etc in functional tests Also convert functional posting_test.php to use these functions PHPBB3-8610
* | | [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
* | | | [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