aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | [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
* | | | | Merge branch 'develop' of github.com:EXreaction/phpbb3 into ticket/11103Nathan Guse2012-12-071-0/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: phpBB/install/database_update.php phpBB/styles/prosilver/template/ucp_prefs_personal.html phpBB/styles/subsilver2/template/ucp_prefs_personal.html
| * | | | Merge PR #974 branch 'bantu/ticket/10875' into developOleg Pudeyev2012-11-301-0/+1
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10875: [ticket/10875] tests/cache/cache_test.php: Use single quotes where possible. [ticket/10875] Test for null cache driver and sql cache. [ticket/10875] Revise sql cache test. [ticket/10875] Must return query result on failure. [ticket/10875] More documentation. [ticket/10875] Spelling fix. [ticket/10875] Add docblocks for phpbb_cache_driver_interface [ticket/10875] Add comment about cache's sql_load() method. [ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save(). [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result. [ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save(). [ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
| | * | | [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result.Andreas Fischer2012-10-301-0/+1
| | | |/ | | |/| | | | | | | | | PHPBB3-10875
* | | | [ticket/11103] Create user loader class, update for DICNathan Guse2012-11-202-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a very basic user loader class to handle querying/storing user data in a centralized location. Use DIC collection service for notification types/methods. Cleanup unused dependencies. Fix some other issues. PHPBB3-11103
* | | | Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11103Nathan Guse2012-11-141-0/+160
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | Conflicts: phpBB/common.php phpBB/config/services.yml
| * | | Merge pull request #1056 from igorw/feature/compiled-dicNils Adermann2012-11-111-0/+160
| |\ \ \ | | | | | | | | | | [feature/compiled-dic] Compile the DI Container into a cached class
| | * | | [feature/compiled-dic] Compile the DI Container into a cached classDavid King2012-11-101-0/+160
| | |/ / | | | | | | | | | | | | PHPBB3-11152
* | | | Merge branch 'develop' of github.com:EXreaction/phpbb3 into ticket/11103Nathaniel Guse2012-11-111-1/+8
|\ \ \ \ | |/ / /
| * | | Merge remote-tracking branch 'Fyorl/ticket/10939' into developAndreas Fischer2012-11-101-1/+8
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10939: [ticket/10939] Added documentation for phpbb_request::file [ticket/10939] Added tests for phpbb_request::file [ticket/10939] Modified the default return for $request->file [ticket/10939] Modified fileupload tests to deal with new behaviour [ticket/10939] Modified mock request class to handle deactivated $_FILES [ticket/10939] Modified acp_groups.php to not use $_FILES [ticket/10939] Modified ucp_groups.php to not use $_FILES [ticket/10939] Modified functions_user.php to not use $_FILES [ticket/10939] Modified message_parser.php to not use $_FILES [ticket/10939] Modified functions_upload to not use $_FILES [ticket/10939] Modified request test slightly to include $_FILES [ticket/10939] Added $_FILES handling to phpbb_request
| | * | [ticket/10939] Modified mock request class to handle deactivated $_FILESFyorl2012-08-151-1/+8
| | | | | | | | | | | | | | | | PHPBB3-10939
* | | | [ticket/11103] Set basic notifications to be enabled by defaultNathan Guse2012-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, if there is no row for the user in the user_notifications table, the user will receive basic notifications. If the user wishes to not receive notifications, a row must be added with notify = 0. For other methods besides the basic (e.g. email, jabber) a row must still be added with notify = 1 for them to receive notifications PHPBB3-11103
* | | | [ticket/11103] Correct the test caseNathan Guse2012-10-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fix a bug that broke it and make sure to set the needed config/auth settings PHPBB3-11103
* | | | [ticket/11103] Brackets on their own linesNathan Guse2012-10-181-9/+27
| | | | | | | | | | | | | | | | PHPBB3-11103
* | | | [ticket/11103] More extensive notification testsNathan Guse2012-10-051-0/+35
| | | | | | | | | | | | | | | | PHPBB3-11103
* | | | [ticket/11103] Mock notification managerNathan Guse2012-10-041-0/+76
|/ / / | | | | | | | | | | | | | | | Fixing delete_user_pms_test.php PHPBB3-11103
* | | Merge remote-tracking branch 'nickvergessen/feature/php-events-4' into developDavid King2012-08-201-0/+16
|\ \ \ | |/ / |/| |
| * | [feature/php-events] Add mock for unit tests and create it were neededJoas Schilling2012-08-111-0/+16
| | | | | | | | | | | | PHPBB3-9550
* | | [ticket/10875] Return $query_id from sql_saveNathan Guse2012-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Have to return the $query_id from sql_save so that the results can be pulled Updated cache test to do some basic sql cache testing. PHPBB3-10875
* | | [ticket/11012] Fix php_ext change in mock_extension_managerIgor Wiedler2012-07-211-1/+1
|/ / | | | | | | PHPBB3-11012
* | [ticket/10941] Added some comments for clarificationFyorl2012-07-091-0/+7
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Unit tests for fileupload class addedFyorl2012-07-081-0/+32
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Finished filespec testsFyorl2012-07-081-0/+22
| | | | | | | | PHPBB3-10941
* | [ticket/10941] Unit tests for filespec classFyorl2012-07-081-0/+23
| | | | | | | | PHPBB3-10941
* | Merge branch 'develop-olympus' into developNils Adermann2012-07-081-0/+36
|\ \ | |/ | | | | | | | | | | | | * develop-olympus: [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.php Conflicts: tests/bbcode/url_bbcode_test.php
| * [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.phpAndreas Fischer2012-07-081-0/+36
| | | | | | | | PHPBB3-10974
* | [feature/class-prefix] Rename user and session to phpbb_*Igor Wiedler2012-03-311-2/+1
| | | | | | | | PHPBB-10609
* | [ticket/9916] Updating license in non-distributed filesUnknown2012-01-023-3/+3
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-01-022-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9916] Changing header in non-distributed files [ticket/9916] Changing coding guidelines license [ticket/9916] Updating License in the header Conflicts: tests/mock/cache.php
| * [ticket/9916] Updating License in the headerUnknown2012-01-022-2/+2
| | | | | | | | PHPBB3-9916
* | [feature/extension-manager] extension finder now saves ext it found a file inNils Adermann2011-10-131-3/+6
| | | | | | | | PHPBB3-10323
* | [feature/extension-manager] Test creation of new extension finder cacheNils Adermann2011-09-291-0/+12
| | | | | | | | PHPBB3-10323
* | [feature/extension-manager] Porting cron tasks over to the extension finderNils Adermann2011-09-291-1/+3
| | | | | | | | PHPBB3-10323
* | [feature/extension-manager] Extension Manager & FinderNils Adermann2011-09-291-0/+16
| | | | | | | | | | | | | | Extensions RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499 Ticket: http://tracker.phpbb.com/browse/PHPBB3-10323 PHPBB3-10323
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-09-051-0/+22
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10240] Added optionset to mock_user in the tests. [ticket/10240] Fixed copyright year in censor_text_test.php. [ticket/10240] Fixed censor_text test assetEquals param order. [ticket/10240] Added censor_text tests for special characters. [ticket/10240] Added censor_text tests. Conflicts: tests/mock/cache.php
| * [ticket/10240] Added censor_text tests.Callum Macrae2011-08-221-0/+22
| | | | | | | | PHPBB-10240
* | [feature/request-class] Remove $html_encode arg, force manual decodingIgor Wiedler2011-08-181-4/+4
| | | | | | | | PHPBB3-9716
* | [feature/request-class] Add is_secure method to request for HTTPSIgor Wiedler2011-08-181-0/+5
| | | | | | | | PHPBB3-9716
* | [feature/request-class] Minor spacing CS adjustmentsIgor Wiedler2011-07-161-2/+2
| | | | | | | | PHPBB3-9716
* | [feature/request-class] Add server(), header() and is_ajax() to requestIgor Wiedler2011-07-151-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | Extend the request class with helpers for reading server vars (server()) and HTTP request headers (header()). Refactor the existing code base to make use of these helpers, make $_SERVER a deactivated super global. Also introduce an is_ajax() method, which checks the X-Requested-With header for the value 'XMLHttpRequest', which is sent by JavaScript libraries, such as jQuery. PHPBB3-9716
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-03-121-0/+5
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10088] Also ignore DBMS versions other than MySQLi in cache mock.
| * [ticket/10088] Also ignore DBMS versions other than MySQLi in cache mock.Andreas Fischer2011-03-121-0/+5
| | | | | | | | PHPBB3-10088
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-02-271-2/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | * develop-olympus: [task/session-tests] Make result check independent of returned row order. [task/session-tests] By default the cache check now skips over db server info [task/session-tests] Correctly display message on session continue test failure [task/session-tests] Make the session id replacement of dataset values clearer Conflicts: tests/mock/cache.php
| * [task/session-tests] By default the cache check now skips over db server infoNils Adermann2011-02-271-2/+9
| | | | | | | | PHPBB3-9732
* | Merge branch 'develop-olympus' into developNils Adermann2011-02-242-0/+53
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10052] Add comments to the session testable factory. [ticket/10052] Correct session tests, and separate session factory from tests
| * [ticket/10052] Correct session tests, and separate session factory from testsNils Adermann2011-02-231-0/+7
| | | | | | | | PHPBB3-10052
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-02-201-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10049] Mark session init test incomplete for now. [ticket/10049] Mark session continue test incomplete for now. [ticket/10049] Globalize $_SID. [ticket/10049] Chase assertResultEquals rename. [ticket/10049] Fixed requires in session tests and mock. [ticket/10049] Renamed session test files to proper file names.
| * [ticket/10049] Fixed requires in session tests and mock.Oleg Pudeyev2011-02-191-2/+2
| | | | | | | | PHPBB3-10049
* | [ticket/9823] Move mock file into the mock/ folder.Joas Schilling2011-02-011-0/+33
| | | | | | | | PHPBB3-9823