aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/10941] Removed superfluous arrayFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] File 'txt' now too big so changed tests to reflect thatFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] Added a comment to ensure tags stay uppercaseFyorl2012-07-091-0/+1
| | | | PHPBB3-10941
* [ticket/10941] Modified tearDown to use DirectoryIterator instead of globFyorl2012-07-091-2/+7
| | | | PHPBB3-10941
* [ticket/10941] Added tests/upload/fixture/copies to trackingFyorl2012-07-091-0/+0
| | | | PHPBB3-10941
* [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-093-5/+3
| | | | | | | Also marked a test as incomplete even though this appears to be ignored when actually running the tests. PHPBB3-10941
* [ticket/10941] Added subdirectory for file operationsFyorl2012-07-098-22/+8
| | | | | | Also removed common.php as it was unnecessary. PHPBB3-10941
* [ticket/10941] Added some comments for clarificationFyorl2012-07-092-0/+15
| | | | PHPBB3-10941
* [ticket/10941] Fixed a failing testFyorl2012-07-091-1/+1
| | | | | | | | | Since the is_image change, the filespec class no longer trusts the browser's reported mimetype and instead checks the file itself. Thus pretending a text file had the mimetype of an image will no longer fail, the file will simply not be treated as an image. PHPBB3-10941
* [ticket/10941] Rearranged tests into their own classes or methodsFyorl2012-07-094-110/+151
| | | | 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] Refactored tearDown to stop iterating over the directory.Fyorl2012-07-091-20/+15
| | | | PHPBB3-10941
* [ticket/10941] Refactored init_filespec to return new object.Fyorl2012-07-091-27/+26
| | | | | | | Removed $filespec as a property of the filespec test and instead just instantiate new objects. PHPBB3-10941
* [ticket/10941] Minor typo fixesFyorl2012-07-092-3/+1
| | | | | | Removed superfluous $user = null; that was left over from refactoring. PHPBB3-10941
* [ticket/10941] Changed assertTrue to assertEqualsFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] Now actually checks for the value of errors.Fyorl2012-07-093-25/+29
| | | | | | | | 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] Re-arranged dataProvidor methods to be near their callersFyorl2012-07-091-67/+67
| | | | PHPBB3-10941
* [ticket/10941] Added a comment explaining the incomplete testFyorl2012-07-091-0/+6
| | | | PHPBB3-10941
* [ticket/10941] tearDown() now uses explicit file listFyorl2012-07-091-5/+19
| | | | | | Instances of $it also renamed for clarity. PHPBB3-10941
* [ticket/10941] Minor adjustments as per PR commentsFyorl2012-07-098-47/+81
| | | | | | 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
* [ticket/10941] Unit tests for fileupload class addedFyorl2012-07-083-0/+132
| | | | PHPBB3-10941
* [ticket/10941] Finished filespec testsFyorl2012-07-082-0/+91
| | | | PHPBB3-10941
* [ticket/10941] Minor adjustments as per PR commentsFyorl2012-07-086-65/+36
| | | | | | | Switched from dirname(__FILE__) to just __DIR__. Removed static definition from data provider methods. PHPBB3-10941
* [ticket/10941] Unit tests for filespec classFyorl2012-07-082-0/+238
| | | | PHPBB3-10941
* Merge remote-tracking branch 'github-bantu/ticket/10973' into developNils Adermann2012-07-0820-31/+4
|\ | | | | | | | | | | | | | | | | | | * github-bantu/ticket/10973: [ticket/10973] Drop all require_once for mocks. Use autoloading. [ticket/10973] Add autoloader for autoloading phpbb_mock_ in tests. Conflicts: tests/bbcode/url_bbcode_test.php tests/text_processing/censor_text_test.php
| * [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-0819-29/+0
| | | | | | | | PHPBB3-10973
| * [ticket/10973] Add autoloader for autoloading phpbb_mock_ in tests.Andreas Fischer2012-07-081-0/+2
| | | | | | | | PHPBB3-10973
* | Merge branch 'develop-olympus' into developNils Adermann2012-07-083-2/+2
|\ \ | |/ |/| | | | | | | | | | | * develop-olympus: [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.php Conflicts: tests/bbcode/url_bbcode_test.php
| * Merge remote-tracking branch 'github-bantu/ticket/10974' into develop-olympusNils Adermann2012-07-083-2/+2
| |\ | | | | | | | | | | | | * github-bantu/ticket/10974: [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.php
| | * [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.phpAndreas Fischer2012-07-083-2/+2
| | | | | | | | | | | | PHPBB3-10974
* | | Merge PR #856 branch 'develop-olympus' into developOleg Pudeyev2012-07-071-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| * | Merge PR #856 branch 'prep-release-3.0.11' into develop-olympusOleg Pudeyev2012-07-071-1/+1
| |\ \ | | |/ | |/| | | | | | | | | | * prep-release-3.0.11: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| | * [ticket/10937] Comment removal functions: Restore backward compatibilityAndreas Fischer2012-07-031-1/+1
| | | | | | | | | | | | PHPBB3-10937
| * | Merge remote-tracking branch 'github-p/ticket/10828' into develop-olympusNils Adermann2012-06-121-0/+15
| |\ \ | | |/ | |/| | | | | | | * github-p/ticket/10828: [ticket/10828] Connect to postgres database by default.
* | | Merge PR #778 branch 'cyberalien/ticket/10800' into developOleg Pudeyev2012-06-1110-14/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | * cyberalien/ticket/10800: [ticket/10800] Changing html to js for includejs tests [ticket/10800] Changing template paths in tests
| * | | [ticket/10800] Changing html to js for includejs testsVjacheslav Trushkin2012-05-016-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | Changing .html to .js files for includejs tests PHPBB3-10800
| * | | [ticket/10800] Changing template paths in testsVjacheslav Trushkin2012-04-295-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | Changing template paths in tests from absolute to relative PHPBB3-10800
* | | | Merge remote-tracking branch 'github-p/ticket/10882' into developNils Adermann2012-06-127-0/+93
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-p/ticket/10882: [ticket/10882] Fix test name - oops. [ticket/10882] Add a test for including a nonexistent file. [ticket/10882] Add test for an ENDIF without IF. [ticket/10882] Add test for an invalid template tag.
| * | | | [ticket/10882] Fix test name - oops.Oleg Pudeyev2012-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10882
| * | | | [ticket/10882] Add a test for including a nonexistent file.Oleg Pudeyev2012-05-103-0/+34
| | | | | | | | | | | | | | | | | | | | PHPBB3-10882
| * | | | [ticket/10882] Add test for an ENDIF without IF.Oleg Pudeyev2012-05-103-0/+14
| | | | | | | | | | | | | | | | | | | | PHPBB3-10882
| * | | | [ticket/10882] Add test for an invalid template tag.Oleg Pudeyev2012-05-103-0/+45
| | | | | | | | | | | | | | | | | | | | PHPBB3-10882
* | | | | Merge pull request #814 from p/ticket/10828Nils Adermann2012-06-111-0/+15
|\ \ \ \ \ | | |_|_|/ | |/| | | [ticket/10828] Connect to postgres database by default.
| * | | | [ticket/10828] Connect to postgres database by default.Oleg Pudeyev2012-05-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When not connecting to a specific database, connect to postgres database which specifically exists as a default database to connect to. PHPBB3-10828