/** * @see sfProjectConfiguration */ public function getPluginPaths() { if (!isset($this->cache['getPluginPaths'])) { $this->cache['getPluginPaths'] = parent::getPluginPaths(); } return $this->cache['getPluginPaths']; }
protected function getTestDirectories() { $pc = new ProjectConfiguration(); $project_tests = sfConfig::get('sf_root_dir'); $paths = array_merge(array($project_tests), $pc->getPluginPaths()); $dirs = array(); foreach ($paths as $path) { $dirs[] = $path; } return $dirs; }