Example #1
0
 /**
  * Callback called before any specs processing.
  *
  * @param array $params The suite params array.
  */
 public function start($params)
 {
     $this->_header = false;
     parent::start($params);
     $this->write("\n");
     $this->write("# Building report it can take some time, please be patient");
 }
Example #2
0
 /**
  * Callback called before any specs processing.
  *
  * @param array $params The suite params array.
  */
 public function start($params)
 {
     parent::start($params);
     $this->write("\n");
 }
Example #3
0
    $_ll['terminal'] = true;
    unset($arrURL[$chave]);
}
/** Verifica se a pessoa esta logada; */
if (($chave = array_search('nli', $arrURL)) !== false || !lliure::get_login()) {
    $_ll['enter_mode'] = 'nli';
    if ($chave != false) {
        unset($arrURL[$chave]);
    }
}
/** Verifica se é para o terminal */
if ($_ll['terminal']) {
    /** Se existri um comando */
    if (!empty($_GET)) {
        /** Executa o terminal */
        Terminal::start(isset($_GET['cmd']) ? $_GET['cmd'] : $_GET);
        die;
        /** se nao existir um comando */
    } else {
        /** Seta a parte visial do terminal */
        $_ll['terminal'] = FALSE;
        $_ll['operation_type'] = 'opt';
        $_ll['operation_load'] = 'terminal';
    }
}
/*echo
  '<pre>'. print_r($_SERVER, true). '</pre>'.
  '<pre>'. print_r($_SESSION, true). '</pre>'.
  '<pre>'. print_r($_ll, true). '</pre>',
  '<pre>'. print_r($arrURL, true). '</pre>';*/
/** define o modo de operação do sistema [onserver, onclient]; */
Example #4
0
 /**
  * Callback called before any specs processing.
  *
  * @param array $params The suite params array.
  */
 public function start($params)
 {
     $this->_header = false;
     parent::start($params);
 }
Example #5
0
 /**
  * Callback called before any specs processing.
  *
  * @param array $args The suite arguments array.
  */
 public function start($args)
 {
     parent::start($args);
     $this->_dotWidth = max($this->_columns - 11 - strlen($this->_total) * 2, 10);
     $this->write("\n");
 }