Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 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();
     }
 }
Exemplo n.º 3
0
 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();
     }
 }