mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 10:17:23 +01:00
WIP
This commit is contained in:
committed by
Nuno Maduro
parent
2ae06a0e2d
commit
8d33c9dc89
@ -5,9 +5,7 @@ declare(strict_types=1);
|
|||||||
namespace Pest\Plugins\Parallel\Handlers;
|
namespace Pest\Plugins\Parallel\Handlers;
|
||||||
|
|
||||||
use Composer\InstalledVersions;
|
use Composer\InstalledVersions;
|
||||||
use Illuminate\Support\Facades\App;
|
|
||||||
use Illuminate\Testing\ParallelRunner;
|
use Illuminate\Testing\ParallelRunner;
|
||||||
use NunoMaduro\Collision\Adapters\Laravel\Commands\TestCommand;
|
|
||||||
use ParaTest\Options;
|
use ParaTest\Options;
|
||||||
use ParaTest\RunnerInterface;
|
use ParaTest\RunnerInterface;
|
||||||
use Pest\Contracts\Plugins\HandlesArguments;
|
use Pest\Contracts\Plugins\HandlesArguments;
|
||||||
@ -16,7 +14,6 @@ use Pest\Plugins\Parallel\Paratest\WrapperRunner;
|
|||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Component\Process\PhpProcess;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
|
|||||||
@ -112,20 +112,6 @@ final class TestRepository
|
|||||||
$this->testCaseMethodFilters[] = $filter;
|
$this->testCaseMethodFilters[] = $filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param class-string<TestCaseMethodFilter> $filter
|
|
||||||
*/
|
|
||||||
public function hasTestCaseMethodFilter(string $filter): bool
|
|
||||||
{
|
|
||||||
foreach ($this->testCaseMethodFilters as $testCaseMethodFilter) {
|
|
||||||
if ($testCaseMethodFilter instanceof $filter) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the test case factory from the given filename.
|
* Gets the test case factory from the given filename.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user