App\Lib\Test::getState PHP Méthode

getState() public méthode

Get the Test state based on if the test has run or passed.
public getState ( ) : boolean
Résultat boolean
    public function getState()
    {
        return $this->passed() ? self::STATE_PASSED : ($this->ran() ? self::STATE_FAILED : self::STATE_ERROR);
    }