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

addSystemOut() public static method

Add systemOut result on test (if has failed or have error)
public static addSystemOut ( mixed $node ) : mixed
$node mixed
return mixed
    public static function addSystemOut($node)
    {
        $sys = 'system-out';
        if (!empty($node->failure)) {
            $node->failure = (string) $node->failure . (string) $node->{$sys};
        }
        if (!empty($node->error)) {
            $node->error = (string) $node->error . (string) $node->{$sys};
        }
        return $node;
    }