| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This is to prevent cluttering up the functional test case class more
PHPBB3-8610
|
| |
|
|
|
|
|
|
| |
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
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
# By Oleg Pudeyev (29) and others
# Via Andreas Fischer (3) and others
* 'develop-olympus' of github.com:phpbb/phpbb3: (36 commits)
[ticket/11262] Add .lock in cache directory to .gitignore
[ticket/11265] Add assertions for board installation success.
[ticket/11162] Reformat.
[ticket/10491] Make recreate_database static.
[ticket/11162] Rename tricky updates to database helper.
[ticket/10491] Install board once per test run.
[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/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.
...
Conflicts:
phpBB/includes/mcp/mcp_topic.php
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
...
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | | |
| | |
| | |
| | | |
PHPBB3-11162
|
| | |\ \
| | | |
| | | |
| | | |
| | | | |
* p/ticket/11265:
[ticket/11265] Add assertions for board installation success.
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-11265
|
| | |\ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* EXreaction/ticket/11262:
[ticket/11262] Add .lock in cache directory to .gitignore
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-11262
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10491
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Functional posting test already assumed that board is installed
once per test case and not once per test.
PHPBB3-10491
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | |\ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10972
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10972
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10972
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Modified the login method to allow logging in of an arbitrary user.
Also added tests for the new functionality.
PHPBB3-10972
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-8610
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-8610
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-8610
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update bookmarks and subscriptions to add bookmarks/subscriptions to the
new topic when using the split_topic function
PHPBB3-8610
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update bookmarks to the new topic when merging posts into another topic
using the merge_posts function.
PHPBB3-8610
|