PEAR2_Cache_SHM › PEAR2_Cache_SHM-0.1.3/tests/PHPT/Wincache.phpt
- PEAR2_Cache_SHM-0.1.3/
- docs/
- src/
- PEAR2/
- tests/
- package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Wincache tests.
--DESCRIPTION--
Sets up the settings for the Wincache adapter, and executes its tests.
--SKIPIF--
<?php if (!version_compare(phpversion('wincache'), '1.1.0', '>=')) {
die('Skip WinCache 1.1.0 or greather is required.');
?>
--CGI--
--GET--
--REDIRECTTEST--
return array(
'GET' => array('adapter' => 'Wincache', 'nokeycode' => '300'),
'TESTS' => getcwd() . DIRECTORY_SEPARATOR . 'Common'
);
EOF