Beispiel #1
0
 public function isAccepted(Test $test)
 {
     if (in_array($test->getName(), $this->blacklist, true)) {
         return false;
     }
     if ($this->whitelist && !in_array($test->getName(), $this->whitelist, true)) {
         return false;
     }
     return true;
 }
 /**
  * {@inheritdoc}
  */
 public function calibrate(Test $test)
 {
     $test->getPacked();
 }
Beispiel #3
0
 public function isAccepted(Test $test)
 {
     return 1 === preg_match($this->regexp, $test->getName());
 }
Beispiel #4
0
 /**
  * {@inheritdoc}
  */
 public function calibrate(Test $test)
 {
     $test->getRaw();
 }