Changeset 2288 for trunk/modules/unit_test/views/kohana_unit_test.php
- Timestamp:
- 03/12/2008 10:16:18 AM (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/unit_test/views/kohana_unit_test.php
r2283 r2288 80 80 background-color: #FFD0D0; 81 81 } 82 #kohana-unit-test .k-error 83 { 84 background-color: #FFFFE0; 85 } 86 #kohana-unit-test .k-altrow .k-error 87 { 88 background-color: #FFFFD1; 89 } 82 90 </style> 83 91 … … 95 103 <th><?php echo $class ?></th> 96 104 <th class="k-stats"> 97 <?php echo Kohana::lang('unit_test.stats', $stats[$class]['passed'], array_sum($stats[$class])) ?> 105 <?php echo Kohana::lang('unit_test.passed'), ': ', $stats[$class]['passed'] ?>, 106 <?php echo Kohana::lang('unit_test.failed'), ': ', $stats[$class]['failed'] ?>, 107 <?php echo Kohana::lang('unit_test.errors'), ': ', $stats[$class]['errors'] ?> 98 108 </th> 99 109 </tr> … … 135 145 </td> 136 146 147 <?php elseif ($result instanceof Exception): ?> 148 149 <td class="k-error"> 150 <strong><?php echo Kohana::lang('unit_test.error') ?></strong> 151 <pre><?php echo html::specialchars($result->getMessage()) ?></pre> 152 <?php echo html::specialchars($result->getFile()) ?> (<?php echo Kohana::lang('unit_test.line') ?> <?php echo $result->getLine() ?>) 153 </td> 154 137 155 <?php endif ?> 138 156
