Changeset 20691
- Timestamp:
- 08/02/09 14:11:15 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/branches/2.0-experimental/lib/LimeTestSuite.php
r20493 r20691 29 29 $this->options['base_dir'] = realpath($this->options['base_dir']); 30 30 31 $this->output = $this->options['output'] ? $this->options['output'] : $this->getDefaultOutput($this->options['force_colors']); 31 $output = $this->options['output'] ? $this->options['output'] : $this->getDefaultOutput($this->options['force_colors']); 32 33 $this->output = new LimeOutputInspectable($output); 32 34 } 33 35 … … 77 79 $this->output->flush(); 78 80 79 // should return correct error value 80 return true; 81 $failed = $this->output->getFailed(); 82 $errors = $this->output->getErrors(); 83 $warnings = $this->output->getWarnings(); 84 $skipped = $this->output->getSkipped(); 85 86 return 0 == ($failed + $errors + $warnings + $skipped); 81 87 } 82 88 }