Exemplo n.º 1
0
 function paintMethodEnd($test_name) {
     $time = time()+microtime(true) - $this->_method_starttime;
     $out="";
     $out.='<testcase name="'.$test_name.'" file="" time="'.$time.'">';
     parent::paintMethodEnd($test_name);
     if (@$this->_failCounts[$this->testMethodName]+@$this->_exceptionCounts[$this->testMethodName]>0) {
         for($i=0;$i<@$this->_failCounts[$this->testMethodName]+@$this->_exceptionCounts[$this->testMethodName];$i++) {
             $message = @array_shift($this->fail_messages);
             if($message!=null) {
                 $out.='<failure type="General">';
                 $out.="<![CDATA[";
                 $out.=$message;
                 $out.="]]>";
                 $out.='</failure>';
             }
         }
     }
     $out.="</testcase>";
     $this->_out[$this->group_depth][] = $out;
 }
Exemplo n.º 2
0
 function paintMethodEnd($test_name)
 {
     parent::paintMethodEnd($test_name);
 }
Exemplo n.º 3
0
 function paintMethodEnd($test_name)
 {
     //while(ob_get_status())
     //	ob_end_clean();
     parent::paintMethodEnd($test_name);
 }