Changeset 1721
- Timestamp:
- 05/16/08 02:01:47 (8 months ago)
- Files:
-
- 1 modified
-
trunk/tests/bootstrap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/bootstrap.php
r1361 r1721 55 55 foreach($methods as $method) { 56 56 $this->messages = array(); 57 58 if(method_exists($this, 'setup')) { 59 $this->setup(); 60 } 57 61 58 62 echo '<h2>' . $method . '</h2>'; … … 62 66 foreach($this->messages as $message) { 63 67 echo '<div><em>Fail:</em> ' . $message[0] . '<br/>' . $message[1][0]['file'] . ':' . $message[1][0]['line'] . '</div>'; 68 } 69 70 if(method_exists($this, 'teardown')) { 71 $this->teardown(); 64 72 } 65 73
