aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [ticket/10586] Removed incorrect method callDavid King2012-03-285-11/+1
| | | | PHPBB3-10586
* [ticket/10586] Moved some loading stuff below extension controller, updated ↵David King2012-03-284-16/+12
| | | | | | tests PHPBB3-10586
* [ticket/10586] Added space in if statementDavid King2012-03-281-1/+1
| | | | PHPBB3-10586
* [ticket/10586] Tests finally work (thanks naderman)David King2012-03-191-13/+12
| | | | PHPBB3-10586
* [ticket/10586] Correctly purge board cache and don't rename install directoryNils Adermann2012-03-193-17/+6
| | | | PHPBB3-10586
* [ticket/10586] trying to get tests to workDavid King2012-03-191-12/+16
| | | | PHPBB3-10586
* [ticket/10586] more work on getting tests to passDavid King2012-03-191-11/+5
| | | | PHPBB3-10586
* [ticket/10586] Tests are coming along, just a little more to goDavid King2012-03-195-32/+28
| | | | PHPBB3-10586
* [ticket/10586] Rename install directory back to install/ after testsDavid King2012-03-191-0/+11
| | | | PHPBB3-10586