aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
...
* | [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] 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
* | Merge PR #1125 branch 'develop-olympus' into developOleg Pudeyev2012-12-101-0/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [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 Conflicts: tests/mock/cache.php tests/test_framework/phpbb_functional_test_case.php
| * [ticket/10972] Drop user deletion.Oleg Pudeyev2012-12-061-1/+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-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | 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] Moved tests into appropriate places and added commentsFyorl2012-12-062-45/+9
| | | | | | | | PHPBB3-10972
| * [ticket/10972] Added methods for creating and deleting basic usersFyorl2012-12-061-0/+45
| | | | | | | | | | | | | | Modified the login method to allow logging in of an arbitrary user. Also added tests for the new functionality. PHPBB3-10972
* | Merge remote-tracking branch 'p/ticket/11202' into developAndreas Fischer2012-11-291-0/+3
|\ \ | | | | | | | | | | | | | | | * p/ticket/11202: [ticket/11202] Fix comment char, use more descriptive comment. [ticket/11202] Add response assertions to file upload functional test.
| * | [ticket/11202] Fix comment char, use more descriptive comment.Oleg Pudeyev2012-11-181-1/+1
| | | | | | | | | | | | PHPBB3-11202
| * | [ticket/11202] Add response assertions to file upload functional test.Oleg Pudeyev2012-11-181-0/+3
| | | | | | | | | | | | PHPBB3-11202
* | | [feature/controller] Fix misnamed route for functional testDavid King2012-11-191-1/+1
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Fix comments, check against more general HttpExceptionDavid King2012-11-191-3/+4
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Check for proper status codes from controllersDavid King2012-11-193-1/+21
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Fix functional tests to use query string for controllersDavid King2012-11-181-4/+4
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Fix line endings and permissions, and check responsesDavid King2012-11-165-6/+10
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Add controller functional test with templateDavid King2012-11-165-5/+52
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Use warning instead of echo for copy() and unlink()David King2012-11-161-8/+2
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Add test for missing argument in controller classDavid King2012-11-164-2/+19
| | | | | | | | | | | | PHPBB3-10864
* | | [feature/controller] Adapt functional tests given new controller frameworkDavid King2012-11-1616-193/+69
|/ / | | | | | | PHPBB3-10864
* | [ticket/11202] Check response success before content assertions.Oleg Pudeyev2012-11-151-0/+2
| | | | | | | | | | | | | | This does not change tests that perform requests which are either clearly not supposed to succeed or are a gray area. PHPBB3-11202
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-11-151-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11202] Custom message does not make sense here, delete it. [ticket/11202] Check response success before content assertions. [ticket/11202] Add a heuristic function to check for response success. Conflicts: tests/test_framework/phpbb_functional_test_case.php
| * [ticket/11202] Check response success before content assertions.Oleg Pudeyev2012-11-151-0/+3
| | | | | | | | | | | | | | This does not change tests that perform requests which are either clearly not supposed to succeed or are a gray area. PHPBB3-11202
* | Merge branch 'develop-olympus' into developNils Adermann2012-09-011-0/+102
|\ \ | |/ | | | | | | | | | | * develop-olympus: [task/functional] Fixed DEBUG_TEST related issues [task/functional] Allow tests to bypass certain restrictions with DEBUG_TEST [task/functional] Added posting tests (reply and new topic)
| * [task/functional] Allow tests to bypass certain restrictions with DEBUG_TESTDavid King2012-09-011-9/+1
| | | | | | | | PHPBB3-10758
| * [task/functional] Added posting tests (reply and new topic)David King2012-09-011-0/+110
| | | | | | | | PHPBB-10758
* | [ticket/10992] Changed octetstream to octet-streamFyorl2012-07-161-1/+1
| | | | | | | | PHPBB3-10992
* | [ticket/10992] test_empty_file() now tries to upload the correct fileFyorl2012-07-161-1/+1
| | | | | | | | PHPBB3-10992
* | [ticket/10992] Modified upload tests to work with new versionFyorl2012-07-161-17/+24
| | | | | | | | PHPBB3-10992
* | [ticket/10941] Fixed form test test_too_largeFyorl2012-07-091-2/+2
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Replaced use of English with language systemFyorl2012-07-091-2/+2
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Renamed classes and filenames so that tests runFyorl2012-07-092-5/+7
| | | | | | | | | | | | | | Also fixed some minor issues that weren't flagged before because the tests were being ignored. PHPBB3-10941
* | [ticket/10941] Moved comment into markTestIncomplete parameterFyorl2012-07-091-3/+1
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Removed manual includes of mock classesFyorl2012-07-091-2/+3
| | | | | | | | | | | | | | Also marked a test as incomplete even though this appears to be ignored when actually running the tests. PHPBB3-10941
* | [ticket/10941] Rearranged tests into their own classes or methodsFyorl2012-07-093-97/+133
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Removed the incomplete mark as is_image is fixedFyorl2012-07-091-11/+6
| | | | | | | | | | | | | | | | Had to remove one of the tests due to a small limitation with the functional testing framework. May mark the test as incomplete again pending further comments. PHPBB3-10941
* | [ticket/10941] Minor typo fixesFyorl2012-07-091-1/+1
| | | | | | | | | | | | Removed superfluous $user = null; that was left over from refactoring. PHPBB3-10941
* | [ticket/10941] Now actually checks for the value of errors.Fyorl2012-07-091-8/+9
| | | | | | | | | | | | | | | | Uses phpbb_mock_lang to return the key used when setting errors to allow that key to be checked for during tests rather than just checking if any error was set. PHPBB3-10941
* | [ticket/10941] Added a comment explaining the incomplete testFyorl2012-07-091-0/+6
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Minor adjustments as per PR commentsFyorl2012-07-091-0/+8
| | | | | | | | | | | | Added some comments clarifying globals and lowercased fixture filenames PHPBB3-10941
* | [ticket/10941] Marked broken test as incompleteFyorl2012-07-091-0/+1
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Added functional tests for the fileupload classFyorl2012-07-095-0/+86
| | | | | | | | | | | | | | | | | | | | NOTE: test_form_upload() is broken. Uploading files via Symfony fails to retain $_FILES['fileupload']['type'] even if it set explicitely. This appears to be a bug in Symfony. Since the current version of filespec::is_image() relies on the mimetype, these tests will __fail__. filespec::is_image() has been fixed in https://github.com/phpbb/phpbb3/pull/833 however. PHPBB3-10941
* | Merge pull request #796 from imkingdavid/ticket/10837Nils Adermann2012-06-111-9/+0
|\ \ | | | | | | [ticket/10837] Removed tearDownAfterClass() from extension_controller_test.php
| * | [ticket/10837] Removed tearDownAfterClass() from extension_controller_test.phpDavid King2012-05-071-9/+0
| | | | | | | | | | | | PHPBB3-10837
* | | Merge branch 'develop-olympus' into developNils Adermann2012-05-223-0/+91
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | By David King via David King (1) and Nils Adermann (1) * develop-olympus: [task/functional] Use proper format for @var doc blocks. [task/functional] Fix $lang_path variable [task/functional] Change property visibility, remove globals, reword comment [task/functional] Make sure missing language values are handled properly [task/functional] Increase code coverage for functional tests Conflicts: tests/test_framework/phpbb_functional_test_case.php
| * [task/functional] Make sure missing language values are handled properlyDavid King2012-04-241-0/+8
| | | | | | | | PHPBB3-10758
| * [task/functional] Increase code coverage for functional testsDavid King2012-04-233-0/+83
| | | | | | | | PHPBB3-10758
| * [ticket/10492] Fix line endingsPatrick Webster2012-04-211-26/+26
| | | | | | | | PHPBB3-10492
| * [ticket/10492] Backporting functional testsPatrick Webster2012-04-211-0/+26
| | | | PHPBB3-10492