Esempio n. 1
0
 /**
  * Runs tests.
  *
  * @since Method available since Release 2.1.0
  */
 public function run()
 {
     $this->outputBuffering->clearOutputHandlers();
     $this->result = $this->runner->run($this->collector->collect());
     if ($this->runner->shouldNotify()) {
         $this->notifier->notifyResult($this->runner->getNotification());
     }
 }
Esempio n. 2
0
 /**
  * Runs tests.
  *
  * @since Method available since Release 2.1.0
  */
 public function run()
 {
     $this->outputBuffering->clearOutputHandlers();
     $this->runner->run($this->collector->collect());
     if ($this->runner->shouldNotify()) {
         $notification = $this->runner->getNotification();
         if (is_null($notification)) {
             throw new \LogicException('The Notification object is not set to the Runner object.');
         }
         $this->notifyResult($notification);
     }
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function getTest($suiteClassName, $suiteClassFile = '', $suffixes = '')
 {
     return $this->collector->collect();
 }