Exemplo n.º 1
0
 public static function __pre_test_run(&$pts_test_result)
 {
     if (!self::$is_running_as_phoromatic_node) {
         return false;
     }
     phoromatic::update_system_status('Running: ' . $pts_test_result->test_profile->get_identifier() . ($pts_test_result->get_arguments_description() != null ? ' [' . $pts_test_result->get_arguments_description() . ']' : null), ceil(self::$test_run_manager->get_estimated_run_time() / 60), self::$test_run_manager->get_percent_complete(), null, ceil($pts_test_result->test_profile->get_estimated_run_time() / 60));
 }
Exemplo n.º 2
0
 public static function __pre_test_run($pts_test_result)
 {
     // TODO: need a way to get the estimated time remaining from the test_run_manager so we can pass that back to the update_system_status parameter so server can read it
     // TODO: report name of test identifier/run i.e. . ' For ' . PHOROMATIC_TITLE
     phoromatic::update_system_status('Running ' . $pts_test_result->test_profile->get_identifier());
 }