Exemplo n.º 1
0
 function paintCaseStart($test_name)
 {
     parent::paintCaseStart($test_name);
     if (lmbTestOptions::get('verbose')) {
         print "======== {$test_name} ========\n";
     }
 }
Exemplo n.º 2
0
Arquivo: setup.php Projeto: ssrsfs/blg
 function paintCaseStart($test_name)
 {
     parent::paintCaseStart($test_name);
     $caseType = '(unknown)';
     if (is_subclass_of($test_name, 'HttpTestCase') || is_subclass_of($test_name, 'IntegrationTestCase')) {
         $caseType = '(integration test)';
     } else {
         if (is_subclass_of($test_name, 'UnitTestCase')) {
             $caseType = '(unit test)';
         }
     }
     print "<strong class=\"case\">{$test_name}</strong> <small>{$caseType}</small><br/><blockquote>\n";
 }
Exemplo n.º 3
0
 public function paintCaseStart($case)
 {
     $this->caseStart = microtime(true);
     $this->caseMemoryStart = memory_get_usage();
     if ($this->verbose) {
         echo "{$case} case:\n\n";
     }
     $this->currentCaseName = $case;
     parent::paintCaseStart($case);
 }