b46e242013
Merge branch 'ticket/15392' into ticket/15392-master
2021-03-04 17:04:17 +01:00
7a310cc7d9
[ticket/15392] Replace remaining dirname(__FILE__) with __DIR__
...
PHPBB3-15392
2021-03-04 16:56:07 +01:00
8c9d26db1f
[ticket/15392] Changed dirname(__FILE__) to __DIR__
...
Changed dirname(__FILE__) to __DIR__ everywhere
PHPBB3-15392
2021-03-03 22:24:10 +01:00
3df19411b4
[ticket/16549] Fix tests
...
PHPBB3-16549
2020-10-18 10:38:46 +07:00
3d87d61dae
[ticket/16549] Add void return type of template methods
...
PHPBB3-16549
2020-10-18 10:38:32 +07:00
ec565de6cb
[ticket/16549] Fix tests
...
PHPBB3-16549
2020-10-18 10:37:16 +07:00
fb62d22013
[ticket/16549] Add void return type of template methods
...
PHPBB3-16549
2020-10-18 10:36:39 +07:00
774c609c4a
[ticket/16345] Small improvements
...
PHPBB3-16346
2020-08-14 08:29:06 +00:00
380b7d0a98
[ticket/16223] Use constructor arguments instead of func_get_args()
...
PHPBB3-16223
2019-11-25 22:16:41 +01:00
c7d47e34e8
[ticket/16223] Ensure memcached tests are only run when available
...
PHPBB3-16223
2019-11-25 21:27:43 +01:00
fd7524858c
[ticket/16223] Add test for memcached driver
...
PHPBB3-16223
2019-11-25 20:10:12 +01:00
25ae4fa355
[ticket/15922] Remove driver for discontinued APC cache
...
PHPBB3-15922
2019-10-03 22:42:34 +02:00
ebac54aa9e
[ticket/14948] Adjust calls for twig and phpunit updates
...
PHPBB3-14948
2019-05-09 21:40:06 +02:00
b148bb5d70
[ticket/15849] Stop using php4 constructors
...
PHPBB3-15849
2018-10-21 07:02:26 +00:00
bf9af92220
[ticket/15726] Implement selective purge in APCu cache driver
...
Correcting code formatting and whitespace
PHPBB3-15726
2018-09-16 16:05:46 +02:00
7d4d9770cf
[ticket/15726] Implement selective purge in APCu cache driver
...
fix file permissions
PHPBB3-15726
2018-09-16 16:05:40 +02:00
02234783c6
[ticket/15726] Implement selective purge in APCu cache driver
...
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
2018-09-16 16:05:22 +02:00
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
...
PHPBB3-14972
2018-01-01 13:56:04 +01:00
7f408e4b41
[PHPBB3-15247] Add support for php v7 APCu cache API
...
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
2017-06-26 12:43:23 +01:00
16f3b8c2b9
[ticket/13904] Modify files for changes in ini wrapper
...
PHPBB3-13904
2015-09-09 08:29:05 +02:00
292d0ab382
[ticket/13782] Rename null driver test to dummy driver test
...
PHPBB3-13782
2015-05-04 10:13:04 +02:00
b3cc20a575
[ticket/13782] Rename null driver to dummy for PHP7 compatibility
...
PHPBB3-13782
2015-05-04 10:10:12 +02:00
5354c46e01
[ticket/11224] Updates tests
...
PHPBB3-11224
2014-10-03 23:51:16 +02:00
8e638dbf6d
[ticket/11224] Revert Revert "Merge pull request #2460 from ticket/11224"
...
This reverts commit 40cd7570e6
.
2014-10-03 23:50:24 +02:00
40cd7570e6
[ticket/11224] Revert "Merge pull request #2460 from Nicofuma/ticket/11224"
...
This reverts commit d264369441
, reversing
changes made to 75fcfb1c1d
.
PHPBB3-11224
2014-10-01 11:38:45 +02:00
d264369441
Merge pull request #2460 from Nicofuma/ticket/11224
...
[ticket/11224] SQL cache destroy does not destroy queries to tables joined
2014-10-01 10:27:47 +02:00
74a96bf7c2
[ticket/11224] Adds a test case
...
PHPBB3-11224
2014-09-24 16:16:47 +02:00
a759704b39
[ticket/12594] Remove @package tags and update file headers
...
PHPBB3-12594
2014-05-27 20:51:13 +02:00
292908ca4a
[ticket/11224] Use assertNotEquals(false) instead of assertNotFalse()
...
assertNotFalse() is unavailable with the version of phpunit used with php
5.2
PHPBB3-11224
2014-05-15 01:50:44 +02:00
b7f54e42b2
[ticket/11224] Add unit test
...
PHPBB3-11224
2014-05-15 00:22:27 +02:00
fe99e60d82
[ticket/12486] Make assertion on the return to remove "Risky" from phpunit
...
PHPBB3-12486
2014-05-05 18:21:28 +02:00
e10c3d8c08
[ticket/11700] Fix config namespace mishap in cache tests
...
PHPBB3-11700
2013-09-16 00:39:30 +02:00
b95fdacdd3
[ticket/11700] Move all recent code to namespaces
...
PHPBB3-11700
2013-09-16 00:25:27 +02:00
9c7772040c
[ticket/11037] Fix unit tests.
...
PHPBB3-11037
2012-12-29 14:23:14 -05:00
d7a23df2d9
Merge remote-tracking branch 'p/ticket/9983' into develop
...
* p/ticket/9983:
[ticket/9983] Make sql cache test into a black box.
2012-12-04 14:06:15 +01:00
cf3080b83e
[ticket/9983] Correct incorrect markTestSkipped call.
...
PHPBB3-9983
2012-12-04 02:39:50 -05:00
d93f582b04
[ticket/9983] Make sql cache test into a black box.
...
This makes it non-driver-specific and also makes it possible
to make prefix variable private on drivers.
PHPBB3-9983
2012-12-03 21:47:29 -05:00
db6b11a390
[ticket/9983] Also check generic APC enable/disable.
...
PHPBB3-9983
2012-12-03 14:37:57 +01:00
2e851baab9
[ticket/9983] Use APC instead of apc in error messages.
...
PHPBB3-9983
2012-12-03 14:29:02 +01:00
0b4b7e68a7
[ticket/9983] Skip tests if APC is not enabled for CLI.
...
PHPBB3-9983
2012-12-03 14:29:02 +01:00
f2bee4b383
[ticket/9983] Test for apc cache driver.
...
PHPBB3-9983
2012-12-03 00:18:52 -05:00
dd36b128e8
[ticket/9983] Add a test for destroy.
...
PHPBB3-9983
2012-12-01 18:59:28 -05:00
8595b1f560
[ticket/9983] Exercise exists also.
...
PHPBB3-9983
2012-12-01 18:57:09 -05:00
d9e636fab0
[ticket/9983] Add a purge test.
...
PHPBB3-9983
2012-12-01 18:55:13 -05:00
90bd7858fd
[ticket/9983] Rename test methods.
...
PHPBB3-9983
2012-12-01 18:52:04 -05:00
c3d1408c52
[ticket/9983] get/put cache test moved to a base class.
...
PHPBB3-9983
2012-12-01 18:49:27 -05:00
829b75e5c8
[ticket/9983] Create driver in setup in null driver test.
...
PHPBB3-9983
2012-12-01 15:06:32 -05:00
1e3dff83b3
[ticket/9983] Split cache test into per-driver files.
...
PHPBB3-9983
2012-12-01 15:03:44 -05:00
c852044d6e
[ticket/9983] Add redis cache driver tests.
...
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
2012-12-01 00:48:21 -05:00
e4d2ad6b27
[ticket/10875] tests/cache/cache_test.php: Use single quotes where possible.
...
PHPBB3-10875
2012-12-01 00:36:34 +01:00