aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [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
| * | | | Merge remote-tracking branch 'p/feature/template-events' into developDavid King2012-12-1021-4/+172
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Oleg Pudeyev (36) and others # Via Oleg Pudeyev * p/feature/template-events: (47 commits) [feature/template-events] Pass arguments in correct order. [feature/template-events] Order extensions in mock extension manager. [feature/template-events] Changes per imkingdavid's review. [feature/template-events] Make style names private on template. [feature/template-events] Test for event that is defined in parent style only. [feature/template-events] Specify style names, add inheritance tests. [feature/template-events] Normalize expected directory trees. [feature/template-events] Allow dataset to be correctly selectable. [feature/template-events] Dataset for template event testing with inheritance. [feature/template-events] Use style names array in template filter. [feature/template-events] Generate style names array in set_style. [feature/template-events] Convert a single style name to array of them. [feature/template-events] Chase dependency injection for template context. [feature/template-events] Adjust template events test to use the dataset. [feature/template-events] Create a dataset for template event tests. [feature/template-events] Indentation fix. [feature/template-events] Cosmetic changes. [feature/template-events] Wording: wrongly -> improperly. [feature/template-events] Indentation fix. [feature/template-events] Rename template_name to style_name. ...
| | * | | | [feature/template-events] Order extensions in mock extension manager.Oleg Pudeyev2012-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Test for event that is defined in parent style only.Oleg Pudeyev2012-11-173-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Specify style names, add inheritance tests.Oleg Pudeyev2012-11-171-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Normalize expected directory trees.Oleg Pudeyev2012-11-173-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Allow dataset to be correctly selectable.Oleg Pudeyev2012-11-172-13/+40
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Dataset for template event testing with inheritance.Oleg Pudeyev2012-11-178-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Convert a single style name to array of them.Oleg Pudeyev2012-11-174-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows template code to know the entire style hierarchy for templates being rendered. PHPBB3-9550
| | * | | | [feature/template-events] Chase dependency injection for template context.Oleg Pudeyev2012-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Adjust template events test to use the dataset.Oleg Pudeyev2012-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Create a dataset for template event tests.Oleg Pudeyev2012-11-174-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having all files in one directory is too much of a mess. PHPBB3-9550
| | * | | | [feature/template-events] Switch template event test to data providers.Oleg Pudeyev2012-11-171-16/+34
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| | * | | | [feature/template-events] Add a universal template event test.Oleg Pudeyev2012-11-175-21/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also drop the irrelevant includejs code and add a simple template event test. The simple test is not working yet however due to the template engine not correctly tracking which template it is rendering. PHPBB3-9550