getAllTags() public method

public getAllTags ( )
コード例 #1
0
ファイル: runner.php プロジェクト: ronan-gloo/atoum
 public static function isIgnored(test $test, array $namespaces, array $tags)
 {
     $isIgnored = $test->isIgnored();
     if ($isIgnored === false && $namespaces) {
         $classNamespace = strtolower($test->getClassNamespace());
         $isIgnored = sizeof(array_filter($namespaces, function ($value) use($classNamespace) {
             return strpos($classNamespace, strtolower($value)) === 0;
         })) <= 0;
     }
     if ($isIgnored === false && $tags) {
         $isIgnored = sizeof($testTags = $test->getAllTags()) <= 0 || sizeof(array_intersect($tags, $testTags)) == 0;
     }
     return $isIgnored;
 }