/** * Create Legacy instance * @param AbstractTestCaseBase $tc TestCase instance */ public function __construct(AbstractTestCaseBase $tc) { parent::__construct($tc); $logsDir = ConfigProvider::getInstance()->logsDir; if ($logsDir) { // if the directory is not defined, the setFileDir() must be called explicitly later $this->setFileDir($logsDir); } $this->testClassName = get_class($tc); $this->log('New legacy instantiated in class "%s"', $this->testClassName); }
/** * Create UniqueValue instance * @param AbstractTestCaseBase $tc TestCase instance */ public function __construct(AbstractTestCaseBase $tc) { parent::__construct($tc); $this->testClassName = get_class($tc); }