1 |
27204
|
antonis.le
|
<?php
|
2 |
|
|
|
3 |
|
|
/*
|
4 |
|
|
* This file is part of the Predis package.
|
5 |
|
|
*
|
6 |
|
|
* (c) Daniele Alessandri <suppakilla@gmail.com>
|
7 |
|
|
*
|
8 |
|
|
* For the full copyright and license information, please view the LICENSE
|
9 |
|
|
* file that was distributed with this source code.
|
10 |
|
|
*/
|
11 |
|
|
|
12 |
|
|
if (file_exists(__DIR__.'/../autoload.php')) {
|
13 |
|
|
require __DIR__.'/../autoload.php';
|
14 |
|
|
} else if (@include('Predis/Autoloader.php')) {
|
15 |
|
|
Predis\Autoloader::register();
|
16 |
|
|
} else {
|
17 |
|
|
die('ERROR: Unable to find a suitable mean to register Predis\Autoloader.');
|
18 |
|
|
}
|
19 |
|
|
|
20 |
|
|
require __DIR__.'/PHPUnit/ArrayHasSameValuesConstraint.php';
|
21 |
|
|
require __DIR__.'/PHPUnit/RedisCommandConstraint.php';
|
22 |
|
|
require __DIR__.'/PHPUnit/PredisTestCase.php';
|
23 |
|
|
require __DIR__.'/PHPUnit/PredisCommandTestCase.php';
|
24 |
|
|
require __DIR__.'/PHPUnit/PredisConnectionTestCase.php';
|
25 |
|
|
require __DIR__.'/PHPUnit/PredisProfileTestCase.php';
|
26 |
|
|
require __DIR__.'/PHPUnit/PredisDistributorTestCase.php';
|