function getTests() { try { $prof = jProfiles::get('jdb', $this->dbProfile, true); } catch (Exception $e) { $this->sendMessage('UTjDbPgsql cannot be run: ' . $e->getMessage()); return array(); } return parent::getTests(); }
function getTests() { $conf = parse_ini_file(jApp::configPath() . 'profiles.ini.php', true); if (isset($conf['jkvdb:' . $this->profile])) { return parent::getTests(); } else { $this->sendMessage('UTjKVDb cannot be run with ' . $this->profile . ' : undefined profile'); return array(); } }
function getTests() { if ($this->profile == '') { return array(); } $conf = parse_ini_file(jApp::configPath() . 'profiles.ini.php', true); if (isset($conf['jcache:' . $this->profile]) && $conf['jcache:' . $this->profile]['enabled']) { $this->conf = $conf['jcache:' . $this->profile]; return parent::getTests(); } else { $this->sendMessage('UTjCacheAPI cannot be run with ' . $this->profile . ': undefined profile'); return array(); } }