MessagePack\Tests\Perf\Filter\Filter::isAccepted PHP Method

isAccepted() public method

public isAccepted ( Test $test ) : boolean
$test MessagePack\Tests\Perf\Test
return boolean
    public function isAccepted(Test $test);

Usage Example

 /**
  * {@inheritdoc}
  */
 public function benchmark(Target $target, Test $test)
 {
     if (!$this->filter->isAccepted($test)) {
         throw new TestSkippedException($test);
     }
     return $this->benchmark->benchmark($target, $test);
 }