Changeset 23681 for tools/lime
- Timestamp:
- 11/07/09 21:30:24 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/branches/2.0/lib/output/LimeOutputConsoleSummary.php
r21524 r23681 311 311 protected function truncate($file) 312 312 { 313 $extension = pathinfo($file, PATHINFO_EXTENSION); 314 $file = substr($file, 0, strlen($file)-strlen($extension)); 315 313 316 if (!is_null($this->options['base_dir'])) 314 317 { tools/lime/branches/2.0/test/unit/output/LimeOutputConsoleSummaryTest.php
r21370 r23681 14 14 LimeAnnotationSupport::enable(); 15 15 16 $t = new LimeTest(3 7);16 $t = new LimeTest(39); 17 17 18 18 … … 228 228 229 229 230 // @Test: File extensions are omitted in the output 231 232 // fixtures 233 $printer->printText(str_pad('/test/script', 73, '.')); 234 $printer->printLine("ok", LimePrinter::OK); 235 $printer->replay(); 236 // test 237 $output->focus('/test/script.php'); 238 $output->pass('A passed test', '/test/script.php', 11); 239 $output->close(); 240 // assertions 241 $printer->verify(); 242 243 230 244 // @Test: Too long file names are truncated 231 245