aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cache
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15849] Stop using php4 constructorsRuben Calvo2018-10-211-1/+1
| | | | PHPBB3-15849
* [ticket/15726] Implement selective purge in APCu cache driverv12mike2018-09-161-1/+1
| | | | | | Correcting code formatting and whitespace PHPBB3-15726
* [ticket/15726] Implement selective purge in APCu cache driverv12mike2018-09-161-0/+0
| | | | | | fix file permissions PHPBB3-15726
* [ticket/15726] Implement selective purge in APCu cache driverv12mike2018-09-161-0/+17
| | | | | | | | | | | | | | | The current APCu cache driver implements a global clearing of the APCu when the phpBB cache is purged. This is inappropriate if there are other phpBB boards, or other php applications sharing the APCu cache. This patch changes the behviour so that only cache entries matching the key_prefix of this board are cleared by a phpBB cache purge. The APCu unit test script has been updated to test this behaviour. It has also been updated so that the test case can be run individually previously it relied on initialisations made in other test scripts. PHPBB3-15726
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-1/+1
| | | | PHPBB3-14972
* [PHPBB3-15247] Add support for php v7 APCu cache APIv12mike2017-06-261-0/+58
| | | | | | | | | Add new cache driver apcu.php (based closely on existing APC cache driver) Add new unit test apcu_driver_test.php for the new driver Update RUNNING_TESTS.md to clarify requirements for apc, apcu and apc_bc extensions and add a couple of general hints to RUNNING_TESTS.md PHPBB3-15247
* [ticket/13904] Modify files for changes in ini wrapperMarc Alexander2015-09-091-3/+3
| | | | PHPBB3-13904
* [ticket/13782] Rename null driver test to dummy driver testMarc Alexander2015-05-041-1/+1
| | | | PHPBB3-13782
* [ticket/13782] Rename null driver to dummy for PHP7 compatibilityMarc Alexander2015-05-041-1/+1
| | | | PHPBB3-13782
* [ticket/11224] Updates testsTristan Darricau2014-10-033-27/+25
| | | | PHPBB3-11224
* [ticket/11224] Revert Revert "Merge pull request #2460 from ticket/11224"Tristan Darricau2014-10-033-0/+272
| | | | This reverts commit 40cd7570e6f4da7cc60d83a3e99c72a2fb99e3f7.
* [ticket/11224] Revert "Merge pull request #2460 from Nicofuma/ticket/11224"Joas Schilling2014-10-013-272/+0
| | | | | | | This reverts commit d26436944173d1fa28a1abd96bca861381246860, reversing changes made to 75fcfb1c1d68f1632e7beae3f59699ddff8e5292. PHPBB3-11224
* Merge pull request #2460 from Nicofuma/ticket/11224Joas Schilling2014-10-013-0/+272
|\ | | | | | | [ticket/11224] SQL cache destroy does not destroy queries to tables joined
| * [ticket/11224] Adds a test caseTristan Darricau2014-09-241-0/+16
| | | | | | | | PHPBB3-11224
| * [ticket/11224] Use assertNotEquals(false) instead of assertNotFalse()Tristan Darricau2014-05-151-1/+1
| | | | | | | | | | | | | | assertNotFalse() is unavailable with the version of phpunit used with php 5.2 PHPBB3-11224
| * [ticket/11224] Add unit testTristan Darricau2014-05-153-0/+256
| | | | PHPBB3-11224
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-275-15/+35
| | | | PHPBB3-12594
* [ticket/12486] Make assertion on the return to remove "Risky" from phpunitJoas Schilling2014-05-051-4/+2
| | | | PHPBB3-12486
* [ticket/11700] Fix config namespace mishap in cache testsNils Adermann2013-09-162-9/+9
| | | | PHPBB3-11700
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-165-16/+16
| | | | PHPBB3-11700
* [ticket/11037] Fix unit tests.Oleg Pudeyev2012-12-292-4/+6
| | | | PHPBB3-11037
* Merge remote-tracking branch 'p/ticket/9983' into developAndreas Fischer2012-12-044-118/+33
|\ | | | | | | | | * p/ticket/9983: [ticket/9983] Make sql cache test into a black box.
| * [ticket/9983] Make sql cache test into a black box.Oleg Pudeyev2012-12-034-118/+33
| | | | | | | | | | | | | | This makes it non-driver-specific and also makes it possible to make prefix variable private on drivers. PHPBB3-9983
* | [ticket/9983] Correct incorrect markTestSkipped call.Oleg Pudeyev2012-12-041-1/+1
|/ | | | PHPBB3-9983
* [ticket/9983] Also check generic APC enable/disable.Andreas Fischer2012-12-031-0/+6
| | | | PHPBB3-9983
* [ticket/9983] Use APC instead of apc in error messages.Andreas Fischer2012-12-031-1/+1
| | | | PHPBB3-9983
* [ticket/9983] Skip tests if APC is not enabled for CLI.Andreas Fischer2012-12-031-0/+6
| | | | PHPBB3-9983
* [ticket/9983] Test for apc cache driver.Oleg Pudeyev2012-12-031-0/+79
| | | | PHPBB3-9983
* [ticket/9983] Add a test for destroy.Oleg Pudeyev2012-12-012-0/+29
| | | | PHPBB3-9983
* [ticket/9983] Exercise exists also.Oleg Pudeyev2012-12-011-1/+3
| | | | PHPBB3-9983
* [ticket/9983] Add a purge test.Oleg Pudeyev2012-12-012-0/+21
| | | | PHPBB3-9983
* [ticket/9983] Rename test methods.Oleg Pudeyev2012-12-013-3/+3
| | | | PHPBB3-9983
* [ticket/9983] get/put cache test moved to a base class.Oleg Pudeyev2012-12-014-14/+40
| | | | PHPBB3-9983
* [ticket/9983] Create driver in setup in null driver test.Oleg Pudeyev2012-12-011-3/+10
| | | | PHPBB3-9983
* [ticket/9983] Split cache test into per-driver files.Oleg Pudeyev2012-12-014-208/+251
| | | | PHPBB3-9983
* [ticket/9983] Add redis cache driver tests.Oleg Pudeyev2012-12-011-2/+66
| | | | | | | | | | | In order to not overwrite data in default redis store, at least one of redis host or post must be explicitly specified. Redis cache driver constructor has been modified to accept host and port as parameters. This was not added to public API as there are more parameters being passed via global constants. PHPBB3-9983
* [ticket/10875] tests/cache/cache_test.php: Use single quotes where possible.Andreas Fischer2012-12-011-2/+2
| | | | PHPBB3-10875
* [ticket/10875] Test for null cache driver and sql cache.Oleg Pudeyev2012-11-301-0/+29
| | | | PHPBB3-10875
* [ticket/10875] Revise sql cache test.Oleg Pudeyev2012-11-301-4/+10
| | | | | | | Delete data from database before retrieving it from cache, ensuring results come from cache. PHPBB3-10875
* [ticket/10875] Fix cache testNathan Guse2012-08-061-1/+1
| | | | | | Check for the correct filename based on the way the cache driver creates it PHPBB3-10875
* [ticket/10875] Break queries onto separate lines and use double quotesNathan Guse2012-08-061-3/+6
| | | | | | Coding guidelines PHPBB3-10875
* [ticket/10875] Close $db connection at end of testNathan Guse2012-08-061-0/+2
| | | | | | Fixes a pgSQL issue PHPBB3-10875
* [ticket/10875] Use fixtures for sql cache testNathan Guse2012-08-062-12/+34
| | | | PHPBB3-10875
* [ticket/10875] Return $query_id from sql_saveNathan Guse2012-08-061-1/+31
| | | | | | | | 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/9916] Updating license in non-distributed filesUnknown2012-01-021-1/+1
| | | | PHPBB3-9916
* [ticket/10013] Fixed cache test to create intermediate directories.Oleg Pudeyev2011-02-121-2/+2
| | | | PHPBB3-10013
* [ticket/10013] Changed cache test to use tests/tmp/cache as cache directoryOleg Pudeyev2011-02-122-4/+36
| | | | | | | | | | | | | | | This is the first step of making the test suite use a single directory for writing files to, this directory being tests/tmp. The cache test, instead of tests/cache/tmp, now writes to tests/tmp/cache. Also remove cache directory in setUp method, in case an earlier test run did not complete successfully and the cache directory was not cleaned up. Finally, this change makes the cache test take responsibility over the entire contents of its cache directory. PHPBB3-10013
* [ticket/10011] Tests can't be ran on PHP < 5.3Erik Frèrejean2011-01-311-5/+5
| | | | | | Apply the `__DIR__` fix to some remaining Ascraeus tests PHPBB3-10011
* Merge branch 'develop-olympus' into developIgor Wiedler2011-01-101-3/+0
| | | | This merge commit includes ascraeus-specific renames and adjustments.
* [task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.Nils Adermann2011-01-093-51/+13
| | | | PHPBB3-9983