Alex\BehatLauncher\Behat\RunUnitList::isFailed PHP Method

isFailed() public method

public isFailed ( ) : boolean
return boolean
    public function isFailed()
    {
        foreach ($this->all() as $one) {
            if (!$one->isFinished()) {
                return false;
            }
            if ($one->isFailed()) {
                return true;
            }
        }
        return false;
    }

Usage Example

コード例 #1
0
 /**
  * @return integer
  */
 public function isFailed()
 {
     return $this->units->isFailed();
 }