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

checkLogForTestPass() public méthode

Check if it contains any text that indiciates that the test has passed.
public checkLogForTestPass ( string $line ) : boolean
$line string
Résultat boolean
    public function checkLogForTestPass($line)
    {
        return count(preg_grep("/({$this->passed_regex})/", array($line))) > 0;
    }