Changeset 2305 for trunk/modules/unit_test/libraries/Unit_Test.php
- Timestamp:
- 03/14/2008 03:27:17 PM (8 months ago)
- Files:
-
- 1 modified
-
trunk/modules/unit_test/libraries/Unit_Test.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/unit_test/libraries/Unit_Test.php
r2298 r2305 82 82 if ( ! $reflector->isSubclassOf(new ReflectionClass('Unit_Test_Case'))) 83 83 throw new Kohana_Exception('unit_test.test_class_extends', $class); 84 85 // Skip disabled Tests 86 if ($reflector->hasProperty('DISABLED')) 87 { 88 $property = new ReflectionProperty($class, 'DISABLED'); 89 if ($property->getValue(new $class) === TRUE) 90 continue; 91 } 84 92 85 93 // Initialize setup and teardown method triggers … … 181 189 * Magically convert this object to a string. 182 190 * 183 * @return string 191 * @return string test report 184 192 */ 185 193 public function __toString()
