Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing progress filter option.

  • Loading branch information...
commit 040833903c81911eeead4787419ba31ccd83cd9a 1 parent 266559b
@davidpersson davidpersson authored
Showing with 2 additions and 8 deletions.
  1. +1 −2  test/Dispatcher.php
  2. +1 −6 test/Report.php
View
3  test/Dispatcher.php
@@ -52,8 +52,7 @@ public static function run($group = null, array $options = array()) {
'title' => $group,
'filters' => array(),
'format' => 'txt',
- 'reporter' => null,
- 'progress' => null
+ 'reporter' => null
);
$options += $defaults;
$isCase = is_string($group) && preg_match('/Test$/', $group);
View
7 test/Report.php
@@ -113,8 +113,7 @@ public function __construct(array $config = array()) {
'group' => null,
'filters' => array(),
'format' => 'txt',
- 'reporter' => null,
- 'progress' => null
+ 'reporter' => null
);
parent::__construct($config + $defaults);
}
@@ -137,10 +136,6 @@ protected function _init() {
public function run() {
$tests = $this->group->tests();
- if (is_callable($this->_config['progress'])) {
- $tests->invoke('applyFilter', array('run', $this->_config['progress']));
- }
-
foreach ($this->filters() as $filter => $options) {
$this->results['filters'][$filter] = array();
$tests = $filter::apply($this, $tests, $options['apply']) ?: $tests;
Please sign in to comment.
Something went wrong with that request. Please try again.