ParaTest\Logging\JUnit\TestCase::addDefect PHP Method

addDefect() protected method

Add a defect type (error or failure)
protected addDefect ( string $collName, $type, $text )
$collName string the name of the collection to add to
$type
$text
    protected function addDefect($collName, $type, $text)
    {
        $this->{$collName}[] = array('type' => $type, 'text' => trim($text));
    }