PEAR2_Cache_SHM › PEAR2_Cache_SHM-0.1.1/tests/PHPT/_runner.inc
- PEAR2_Cache_SHM-0.1.1/
- package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
require_once 'PEAR2/Autoload.php';
\PEAR2\Autoload::initialize(
realpath(getcwd() . DIRECTORY_SEPARATOR . '../../src')
);
function assertSame($expected, $actual, $file) {
if ($expected !== $actual) {
echo "Failed asserting that ";
var_dump($actual);
echo " is ";
var_dump($expected);
echo ' in "' . $file . "\"\n\n";
}
}
$adapter = isset($_GET['adapter']) ? $_GET['adapter'] : 'Placebo';
//foreach (new RecursiveDirectoryIterator(
// __DIR__ . DIRECTORY_SEPARATOR . 'Common',
// FilesystemIterator::SKIP_DOTS | FilesystemIterator::CURRENT_AS_PATHNAME
// ) as $file) {
// try {
// require_once $file;
// }catch (Exception $e) {
// echo $e;
// }
//}EOF
