Changeset 3252 for trunk/modules
- Timestamp:
- 08/04/2008 06:24:08 AM (4 months ago)
- Files:
-
- 1 modified
-
trunk/modules/unit_test/libraries/Unit_Test.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/unit_test/libraries/Unit_Test.php
r3203 r3252 141 141 } 142 142 143 xdebug_start_code_coverage();144 145 143 // Run the actual test 146 144 $object->$method_name(); 147 148 var_dump(xdebug_get_code_coverage());149 145 150 146 // Run teardown method … … 210 206 } 211 207 212 213 /**214 *215 *@TODO216 *217 */218 private function collect_code_coverage_information()219 {220 221 222 223 }224 225 226 208 /** 227 209 * Magically convert this object to a string. … … 255 237 public function get_mock_object($class) 256 238 { 257 258 259 260 } 261 239 240 } 262 241 263 242 public function assert_true($value, $debug = NULL) 264 243 { 265 266 244 if ($value != TRUE) 267 245 throw new Kohana_Unit_Test_Exception(Kohana::lang('unit_test.assert_true', gettype($value), var_export($value, TRUE)), $debug); … … 475 453 { 476 454 477 478 479 455 } 480 456 … … 482 458 { 483 459 484 485 486 460 } 487 461 … … 489 463 { 490 464 491 492 493 } 494 495 496 497 465 } 498 466 499 467 } // End Unit_Test_Case … … 505 473 506 474 } // End Database_Unit_Test_Case 507 508 475 509 476
