bootstrap.php 835 B

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