App\Lib\Test::checkLogForTestPass PHP Method

checkLogForTestPass() public method

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