aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | [ticket/11538] Make sure regex doesn't allow multiple color valuesMarc Alexander2013-05-152-0/+6
| | | | | | | | | | | | | | | | | | | | | This will now make sure that 'AAFF00' will be matched but strings like 'AAFF00 AABB00' will not. PHPBB3-11538
* | | [ticket/11538] Add tests for acp group manage pageMarc Alexander2013-05-141-0/+45
| | | | | | | | | | | | | | | | | | This will currently test if the colour check properly works. PHPBB3-11538
* | | [ticket/11538] Simplify colour value check and remove support for '#'Marc Alexander2013-05-141-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The input length for the hex color is now limited to 6 characters and the support for colors starting with a '#' has been dropped. The allowed input length of 7 in prosilver seems to have been a relict from old ages of phpBB3. In order to have proper support for correct checking of the colour value, the new code was also ported to the ACP groups manage page. The tests have been modified to reflect the changes to the behavior of the color check. Tests for the ACP will follow. PHPBB3-11538
* | | [ticket/11538] Fix incorrect regex and test for duplicate # in color stringMarc Alexander2013-05-141-0/+1
| | | | | | | | | | | | PHPBB3-11538
* | | [ticket/11538] Use regex for testing color value and improve testsMarc Alexander2013-05-141-37/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | We are now using a regex with preg_match() in order to properly check if the entered color value is in hex color format or not. A proper error message is triggered if an incorrect color value is entered and the prepended '#' is removed if necessary. PHPBB3-11538
* | | [ticket/11538] Make sure group color can't exceed maximum of 6 charactersMarc Alexander2013-05-141-0/+61
|/ / | | | | | | | | | | | | In order to prevent future issues with this, a basic set of functional tests for the UCP groups manage page have been added. PHPBB3-11538
* | [ticket/11529] Format markdown code correctlyNils Adermann2013-05-091-3/+5
| | | | | | | | PHPBB3-11529
* | [ticket/11529] Rename RUNNING_TESTS.txt to RUNNING_TESTS.mdNils Adermann2013-05-091-0/+0
| | | | | | | | PHPBB3-11529
* | [ticket/11513] Update RUNNING_TESTS.txt to no longer refer to PEAR.Andreas Fischer2013-05-091-3/+8
| | | | | | | | PHPBB3-11513
* | [ticket/11513] Update all CLI calls to phpunit to use vendor/bin.Andreas Fischer2013-05-091-2/+2
|/ | | | PHPBB3-11513
* [ticket/11493] add checks for Notice and WarningDhruv2013-04-151-0/+2
| | | | PHPBB3-11493
* [ticket/11493] add check for phpBB Debug in functional testsDhruv2013-04-151-0/+1
| | | | PHPBB3-11493
* Merge remote-tracking branch 'p/ticket/11295' into develop-olympusAndreas Fischer2013-01-231-2/+25
|\ | | | | | | | | * p/ticket/11295: [ticket/11295] Drop tables rather than database for postgres in test suite.
| * [ticket/11295] Drop tables rather than database for postgres in test suite.Oleg Pudeyev2012-12-261-2/+25
| | | | | | | | | | | | | | | | | | | | Doing so allows: 1. User running the tests no longer needs create database privilege. 2. Test database may be located in a non-default tablespace and generally have site-specific options applied to it. PHPBB3-11295
* | Merge remote-tracking branch 'p/ticket/11323-olympus' into develop-olympusAndreas Fischer2013-01-222-0/+9
|\ \ | | | | | | | | | | | | * p/ticket/11323-olympus: [ticket/11323] Backport include_define test to olympus.
| * | [ticket/11323] Backport include_define test to olympus.Oleg Pudeyev2013-01-132-0/+9
| | | | | | | | | | | | PHPBB3-11323
* | | Merge PR #1194 branch 'marc1706/ticket/11323' into develop-olympusOleg Pudeyev2013-01-133-1/+22
|\ \ \ | |/ / |/| | | | | | | | | | | | | | # By Marc Alexander # Via Marc Alexander * marc1706/ticket/11323: [ticket/11323] Add tests for inclusion of defined variables
| * | [ticket/11323] Add tests for inclusion of defined variablesMarc Alexander2013-01-143-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds 2 tests for the template engine. The test using include_define_variable.html will test if a defined variable, which was defined with another template variable, can be used to include a file. The second test will do the same inside a loop using a loop variable. PHPBB3-11323
* | | [ticket/11294] Capitalize phpunit.Oleg Pudeyev2012-12-261-3/+3
| | | | | | | | | | | | PHPBB3-11294
* | | [ticket/11294] Update required/optional extension list for olympus.Oleg Pudeyev2012-12-251-1/+18
| |/ |/| | | | | PHPBB3-11294
* | [ticket/11285] Use more granularity in dependency checks in compress testOleg Pudeyev2012-12-201-7/+18
| | | | | | | | | | | | Some of the tests can be run without zlib or bz2 extensions present. PHPBB3-11285
* | [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
* | 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/11265] Add assertions for board installation success.Oleg Pudeyev2012-12-131-3/+11
| | | | | | | | | | | | PHPBB3-11265
* | | 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 PR #1125 branch 'p/ticket/10972' into develop-olympusOleg Pudeyev2012-12-104-3/+138
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10972: [ticket/10972] Drop user deletion. [ticket/10972] Tweak user addition. [ticket/10972] Add destroy method to mock cache. [ticket/10972] Add mock null cache. [ticket/10972] Backport get_db from develop. [ticket/10972] Added explicit checks for creating duplicate users. [ticket/10972] Moved tests into appropriate places and added comments [ticket/10972] Added methods for creating and deleting basic users
| * | | [ticket/10972] Drop user deletion.Oleg Pudeyev2012-12-062-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users should not be deleted in tests that test user creation. Tests should use unique user names to avoid collisions. User deletion should use user_remove anyway. PHPBB3-10972
| * | | [ticket/10972] Tweak user addition.Oleg Pudeyev2012-12-062-29/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always add users, do not keep track of which users have been added. The tests should know whether users they want exist or not. Use more unique user names in tests for robustness. Added some more assertions here and there. PHPBB3-10972
| * | | [ticket/10972] Add destroy method to mock cache.Oleg Pudeyev2012-12-061-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I actually needed the version that destroys tables, therefore I ended up writing a mock null cache. This code is currently unused but will probably be handy at some point. PHPBB3-10972
| * | | [ticket/10972] Add mock null cache.Oleg Pudeyev2012-12-061-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mock cache has instrumentation methods and therefore is non-trivial to implement. For those times when we don't care that the cache caches, null cache is a simpler implementation. PHPBB3-10972
| * | | [ticket/10972] Backport get_db from develop.Oleg Pudeyev2012-12-061-0/+19
| | | | | | | | | | | | | | | | PHPBB3-10972
| * | | [ticket/10972] Added explicit checks for creating duplicate users.Fyorl2012-12-061-2/+17
| | | | | | | | | | | | | | | | PHPBB3-10972
| * | | [ticket/10972] Moved tests into appropriate places and added commentsFyorl2012-12-063-45/+13
| | | | | | | | | | | | | | | | PHPBB3-10972