Changeset 24190
- Timestamp:
- 11/20/09 12:34:10 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/branches/2.0/lib/LimeTestSuite.php
r23701 r24190 110 110 $this->output->flush(); 111 111 112 $planned = $this->output->getPlanned(); 113 $passed = $this->output->getPassed(); 112 114 $failed = $this->output->getFailed(); 113 115 $errors = $this->output->getErrors(); … … 115 117 $skipped = $this->output->getSkipped(); 116 118 117 return 0 == ($failed + $errors + $warnings + $skipped) ;119 return 0 == ($failed + $errors + $warnings + $skipped) && $planned == $passed; 118 120 } 119 121 } tools/lime/branches/2.0/lib/output/LimeOutputInspectable.php
r23701 r24190 15 15 private 16 16 $output = null, 17 $planned = 0, 17 18 $passed = 0, 18 19 $failed = 0, … … 31 32 { 32 33 return $this->output->supportsThreading(); 34 } 35 36 public function getPlanned() 37 { 38 return $this->planned; 33 39 } 34 40 … … 80 86 public function plan($amount) 81 87 { 88 $this->planned = $amount; 82 89 $this->output->plan($amount); 83 90 }