Cleanup phpunit configs and PSR-4 autoloading and namespaces for tests

This commit is contained in:
Patrik Karisch 2016-03-06 23:38:04 +01:00
commit f9c6316bad
59 changed files with 128 additions and 144 deletions

View file

@ -1,5 +1,8 @@
<?php
$loader = require __DIR__.'/../vendor/autoload.php';
$loader->add('FFMpeg\Tests', __DIR__);
$loader->add('FFMpeg\Functional', __DIR__);
$file = __DIR__ . '/../vendor/autoload.php';
if (!file_exists($file)) {
throw new RuntimeException('Install dependencies to run test suite.');
}
$autoload = require_once $file;