Nils Adermann
e10c3d8c08
[ticket/11700] Fix config namespace mishap in cache tests
...
PHPBB3-11700
2013-09-16 00:39:30 +02:00
Nils Adermann
b95fdacdd3
[ticket/11700] Move all recent code to namespaces
...
PHPBB3-11700
2013-09-16 00:25:27 +02:00
Oleg Pudeyev
9c7772040c
[ticket/11037] Fix unit tests.
...
PHPBB3-11037
2012-12-29 14:23:14 -05:00
Andreas Fischer
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
Oleg Pudeyev
cf3080b83e
[ticket/9983] Correct incorrect markTestSkipped call.
...
PHPBB3-9983
2012-12-04 02:39:50 -05:00
Oleg Pudeyev
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
Andreas Fischer
db6b11a390
[ticket/9983] Also check generic APC enable/disable.
...
PHPBB3-9983
2012-12-03 14:37:57 +01:00
Andreas Fischer
2e851baab9
[ticket/9983] Use APC instead of apc in error messages.
...
PHPBB3-9983
2012-12-03 14:29:02 +01:00
Andreas Fischer
0b4b7e68a7
[ticket/9983] Skip tests if APC is not enabled for CLI.
...
PHPBB3-9983
2012-12-03 14:29:02 +01:00
Oleg Pudeyev
f2bee4b383
[ticket/9983] Test for apc cache driver.
...
PHPBB3-9983
2012-12-03 00:18:52 -05:00
Oleg Pudeyev
dd36b128e8
[ticket/9983] Add a test for destroy.
...
PHPBB3-9983
2012-12-01 18:59:28 -05:00
Oleg Pudeyev
8595b1f560
[ticket/9983] Exercise exists also.
...
PHPBB3-9983
2012-12-01 18:57:09 -05:00
Oleg Pudeyev
d9e636fab0
[ticket/9983] Add a purge test.
...
PHPBB3-9983
2012-12-01 18:55:13 -05:00
Oleg Pudeyev
90bd7858fd
[ticket/9983] Rename test methods.
...
PHPBB3-9983
2012-12-01 18:52:04 -05:00
Oleg Pudeyev
c3d1408c52
[ticket/9983] get/put cache test moved to a base class.
...
PHPBB3-9983
2012-12-01 18:49:27 -05:00
Oleg Pudeyev
829b75e5c8
[ticket/9983] Create driver in setup in null driver test.
...
PHPBB3-9983
2012-12-01 15:06:32 -05:00
Oleg Pudeyev
1e3dff83b3
[ticket/9983] Split cache test into per-driver files.
...
PHPBB3-9983
2012-12-01 15:03:44 -05:00
Oleg Pudeyev
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
Andreas Fischer
e4d2ad6b27
[ticket/10875] tests/cache/cache_test.php: Use single quotes where possible.
...
PHPBB3-10875
2012-12-01 00:36:34 +01:00
Oleg Pudeyev
0c06ac466f
[ticket/10875] Test for null cache driver and sql cache.
...
PHPBB3-10875
2012-11-30 12:28:13 -05:00
Oleg Pudeyev
7bba09811c
[ticket/10875] Revise sql cache test.
...
Delete data from database before retrieving it from cache,
ensuring results come from cache.
PHPBB3-10875
2012-11-30 12:18:33 -05:00
Nathan Guse
4b7cdd4264
[ticket/10875] Fix cache test
...
Check for the correct filename based on the way the cache driver creates it
PHPBB3-10875
2012-08-06 18:43:46 -05:00
Nathan Guse
1db91af000
[ticket/10875] Break queries onto separate lines and use double quotes
...
Coding guidelines
PHPBB3-10875
2012-08-06 16:28:56 -05:00
Nathan Guse
44e48817c3
[ticket/10875] Close $db connection at end of test
...
Fixes a pgSQL issue
PHPBB3-10875
2012-08-06 16:26:55 -05:00
Nathan Guse
b64ac12bd5
[ticket/10875] Use fixtures for sql cache test
...
PHPBB3-10875
2012-08-06 16:26:55 -05:00
Nathan Guse
dcefa16318
[ticket/10875] Return $query_id from sql_save
...
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
2012-08-06 16:26:55 -05:00
Unknown
66c50f6b30
[ticket/9916] Updating license in non-distributed files
...
PHPBB3-9916
2012-01-02 19:10:36 +01:00
Oleg Pudeyev
4e446277a5
[ticket/10013] Fixed cache test to create intermediate directories.
...
PHPBB3-10013
2011-02-12 14:44:53 +01:00
Oleg Pudeyev
8de411cc25
[ticket/10013] Changed cache test to use tests/tmp/cache as cache directory
...
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
2011-02-12 14:44:53 +01:00
Erik Frèrejean
2e54212309
[ticket/10011] Tests can't be ran on PHP < 5.3
...
Apply the `__DIR__` fix to some remaining Ascraeus tests
PHPBB3-10011
2011-01-31 14:02:30 +01:00
Igor Wiedler
b5c8349f4a
Merge branch 'develop-olympus' into develop
...
This merge commit includes ascraeus-specific renames and adjustments.
2011-01-10 00:37:47 +01:00
Nils Adermann
1aef7eb20e
[task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.
...
PHPBB3-9983
2011-01-09 23:49:44 +01:00
Igor Wiedler
9329b16ab1
[task/acm-refactor] Refactor the ACM classes to have a common interface.
...
They are now refered to as cache drivers rather than ACM classes. The
additional utility functions from the original cache class have been
moved to the cache_service. The class loader is now instantiated without
a cache instance and passed one as soon as it is constructed to allow
autoloading the cache classes.
PHPBB3-9983
2011-01-09 23:49:35 +01:00