Beispiel #1
0
 /**
  * Skip this test. recursively mark all its children to be skipped.
  *
  * @param null
  * @return null
  */
 public function skip()
 {
     parent::skip();
     foreach ($this->suites as $suite) {
         $suite->skip();
     }
     foreach ($this->cases as $case) {
         $case->skip();
     }
 }
Beispiel #2
0
 /**
  * constructor
  *
  * @param string $title
  * @param function $fn
  */
 public function __construct($title, $fn)
 {
     parent::__construct($title, $fn);
     $this->result = new TestCaseResult($this);
 }