aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-091-4/+4
| | | | PHPBB3-14948
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/12282] Use interface for type hintingJoas Schilling2014-04-011-1/+1
| | | | PHPBB3-12282
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-2/+2
| | | | PHPBB3-11700
* [ticket/11700] Modify all code to use the new interface namesNils Adermann2013-07-141-1/+1
| | | | PHPBB3-11700
* Merge branch 'develop-olympus' into developAndreas Fischer2013-06-111-0/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data() Conflicts: tests/mock/cache.php
| * [ticket/11579] Add remaining unit tests for validate_data functionsMarc Alexander2013-05-301-0/+15
| | | | | | | | | | | | | | | | This now includes tests for usernames, passwords, emails, and jabber addresses. A few small changes had to be applied to phpbb_mock_cache and phpbb_mock_user in order to incorporate needed methods. PHPBB3-11579
| * [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/11037] Eliminate global $db usage in cache drivers.Oleg Pudeyev2012-12-201-1/+5
| | | | | | | | | | | | | | The only time $db is needed in cache drivers is to navigate the result set in sql_save. Pass it as a parameter in that function. PHPBB3-11037
* | [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result.Andreas Fischer2012-10-301-0/+1
| | | | | | | | PHPBB3-10875
* | [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
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-01-021-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * 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-021-1/+1
| | | | | | | | 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
* | 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
* | 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-01-231-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [task/session-tests] Renamed assertSqlResultEquals and fixed its param order [task/session-tests] Test additional combinations of session_begin. [task/session-tests] Added tests for the session class. Conflicts: tests/mock/cache.php
| * [task/session-tests] Added tests for the session class.Nils Adermann2011-01-201-0/+61
| | | | | | | | | | | Two first simple tests to check functionality of session_begin and session_create. Added a mock class for the cache as well as a subclass of session which has its cookie handling function mocked out to avoid header sending problems. PHPBB3-9732
* [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-101-0/+6
| | | | | | | | | | | | | | | There is a phpbb_config class which simply holds an array and does not persist any data. It implements ArrayAccess, Countable and IteratorAggregate to allow regular use of configuration as if it was still an array. The phpbb_config_db class depends on an instance of the dbal and a cache driver. It obtains the configuration data from cache and database as necessary and persists data to the database. The functions set_config and set_config_count remain for backward compatability but they only call methods on the new config class now instead of directly manipulating the database and cache. PHPBB3-9988
* [task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.Nils Adermann2011-01-091-0/+87
PHPBB3-9983